Skip to content
Psalm
Documentation Taint annotations
Type to start searching
    GitHub
    GitHub
    • Documentation Home
      • Installation
      • Configuration
        • Using plugins
        • Authoring plugins
        • How Psalm represents types
      • Command line usage
      • IDE support
        • Dealing with code issues
        • Issue Types
      • Checking non-PHP files
      • Using Type Annotations
      • Union Types
      • Atomic Type Reference
      • Intersection Types
      • Supported Annotations
      • Template Annotations
      • Assert Annotations
      • Fixing code with Psalter
      • Refactoring code
      • Introduction
      • Taint annotations
        • @psalm-taint-source <taint-type>
        • @psalm-taint-sink <taint-type> <param-name>
        • @psalm-taint-escape <taint-type #conditional>
        • @psalm-taint-unescape <taint-type>
        • @psalm-taint-specialize
        • @psalm-flow [proxy <function-like>] ( <arg>, [ <arg>, ] ) [ -> return ]
      • Taint flow annotations
      • Custom taint sources
      • Custom taint sinks
      • Avoiding false-positives
      • Avoiding false-negatives
    • Contributing
    • @psalm-taint-source <taint-type>
    • @psalm-taint-sink <taint-type> <param-name>
    • @psalm-taint-escape <taint-type #conditional>
    • @psalm-taint-unescape <taint-type>
    • @psalm-taint-specialize
    • @psalm-flow [proxy <function-like>] ( <arg>, [ <arg>, ] ) [ -> return ]
    

    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

    Previous Introduction
    Next Taint flow annotations
    powered by MkDocs and Material for MkDocs