Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Add taint-tracking for errors, expvar, database/sql, database/sql/driver packages#342

Merged
smowton merged 7 commits intogithub:mainfrom
gagliardetto:standard-lib-pt-9
Sep 23, 2020
Merged

Add taint-tracking for errors, expvar, database/sql, database/sql/driver packages#342
smowton merged 7 commits intogithub:mainfrom
gagliardetto:standard-lib-pt-9

Conversation

@gagliardetto
Copy link
Contributor

@gagliardetto gagliardetto commented Sep 15, 2020

codebox commands:

codebox --out-dir=./generated/latest --pkg=/usr/local/go/src/errors --http
codebox --out-dir=./generated/latest --pkg=/usr/local/go/src/expvar --http

codebox --out-dir=./generated/latest --pkg=/usr/local/go/src/database/sql --http
codebox --out-dir=./generated/latest --pkg=/usr/local/go/src/database/sql/driver --http

Part of #167

@smowton
Copy link
Contributor

smowton commented Sep 17, 2020

I evaluated this third tranche of stdlib improvements and found mostly new true positives (around 10-15 of them), all due to fmt.Errorf propagating taint. There were also a small number of new false positives, but these were due to existing weaknesses of taint tracking, not due to the added models.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments