# Custom Taint Sinks The `@psalm-taint-sink ` annotation allows you to define a taint sink. Any tainted value matching the given [taint type](index.md#taint-types) will be reported as an error by Psalm. ### Example Here the `PDOWrapper` class has an `exec` method that should not recieve tainted SQL, so we can prevent its insertion: ```php