Overview
PHPScan is a static application security scanner for PHP codebases. Version 2 introduces a taint-tracking engine, a rule and plugin system, and reporting formats designed for both developers and automated CI pipelines.
Highlights
- Taint tracking from request inputs and headers to sensitive sinks
- More than 60 rules covering common PHP application security risks
- Secret detection using entropy scoring and provider-specific patterns
- SARIF 2.1.0, JUnit, Markdown, HTML, JSON, and text reports
- Baselines, incremental caching, and changed-file scanning
- Rule packs, Python plugins, and configurable severity thresholds
Project
The source repository contains installation instructions, scanner usage, rule definitions, and CI examples.