Skip to content

Commit

Permalink
Merge pull request #6198 from mmcev106/master
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan authored Jul 30, 2021
2 parents 3a049df + 92f6639 commit c62adf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/security_analysis/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Psalm can attempt to find connections between user-controlled input (like `$_GET['name']`) and places that we don’t want unescaped user-controlled input to end up (like `echo "<h1>$name</h1>"` by looking at the ways that data flows through your application (via assignments, function/method calls and array/property access).

You can enable this mode with the `--taint-analysis` command line flag. When taint analysis is enabled, no other analysis is performed.
You can enable this mode with the `--taint-analysis` command line flag. When taint analysis is enabled, no other analysis is performed. To [ensure comprehensive results](https://github.com/vimeo/psalm/issues/6156), Psalm should be run normally prior to taint analysis, and any errors should be fixed.

Tainted input is anything that can be controlled, wholly or in part, by a user of your application. In taint analysis, tainted input is called a _taint source_.

Expand Down

0 comments on commit c62adf9

Please sign in to comment.