What problem does it solve?
White-box auditors need a systematic way to determine whether injection vulnerabilities actually exist in PHP source code by verifying whether filtering along Source-to-Sink data flow paths is sufficient, rather than guessing from black-box behavior.
Core Features & Use Cases
- Six Injection Types Covered: SQL injection (PDO/MySQLi/ORM Raw methods), command injection (exec/system/proc_open), SSRF (curl/file_get_contents/SoapClient), expression injection (eval/assert/preg_replace /e), NoSQL injection (MongoDB operators and $where), and LDAP injection (filter string concatenation).
- Evidence-Driven Workflow: Consumes EVID_* data flow evidence from the php-audit-pipeline, evaluates filter effectiveness (e.g., addslashes vs GBK wide-byte, escapeshellarg bypass scenarios), and assigns severity using the unified Score = R0.40 + I0.35 + C*0.25 formula.
- Use Case: During a Laravel application audit, use this Skill to review whereRaw/orderByRaw call sites, confirm whether user input bypasses ORM parameterization, and produce confirmed or pending-verification findings with concrete bypass reasoning.
Quick Start
Audit this PHP codebase for injection vulnerabilities using the EVID evidence from php-audit-pipeline and report confirmed SQL, command, and SSRF injection points with severity scores.