Back to Psalm

Security analysis annotations

docs/security_analysis/annotations.md

6.16.1869 B
Original Source

Security analysis annotations

@psalm-taint-source <taint-type>

See Custom taint sources.

@psalm-taint-sink <taint-type> <param-name>

See Custom taint sinks.

@psalm-taint-escape <taint-type #conditional>

See Escaping tainted output.

@psalm-taint-unescape <taint-type>

See Unescaping statements.

@psalm-taint-specialize

See Specializing taints in functions and Specializing taints in classes.

@psalm-flow [proxy <function-like>] ( <arg>, [ <arg>, ] ) [ -> return ]

See Taint Flow