Syntax-aware parsing that follows untrusted input until it reaches something that can do harm: a shell, a query, a file path or an outbound request.
- Rules for Python, TypeScript and Go
- Our own rules for agent and MCP patterns
- Taint from untrusted input to dangerous outputs
rule: tool-arg-to-shell
lang: python
source: tool.argument
sink: subprocess.*(shell=True)
sanitizer: none
severity: CRITICAL
cwe: CWE-78