🕸️Data Flow Analysis
Also known as Dataflow Analysis, Taint Analysis, Taint Tracking
Following a value through a program. You see where it starts and where it ends.
Think of it like
It is like dropping dye in a river. Then you watch where the colour goes.
Example
A scanner follows the search box text in Emma's app. It finds a path where the text reaches an SQL query with no checks.
Why it matters
Many bugs are a value in the wrong place: empty, unchecked or leaked. This finds those paths.
Definition
Common mistake
Key takeaways
- 1Track values. From where set to where used.
- 2Every path. It walks each branch.
- 3Follow the taint. User input must be checked.