Only the latest minor version receives security fixes. The MVP series is 0.1.x.
| Version | Supported |
|---|---|
| 0.1.x | ✅ |
| < 0.1 | ❌ |
Please do NOT open a public GitHub issue for security reports.
Use one of:
- GitHub Security Advisories (preferred): https://github.com/dev-toolings/php-doctor/security/advisories/new
- Email: open a draft advisory and add the reporter via GitHub UI.
You can expect:
- Acknowledgement within 5 business days.
- A triage decision within 10 business days.
- A fix release for confirmed vulnerabilities within 30 days (Critical/High) or 60 days (Medium/Low).
In scope:
- The
php-doctorCLI binary and its PHAR distribution. - Code under
src/andbin/. - The default
templates/report.html.twig(HTML report XSS / injection). - Workflow files under
.github/workflows/(supply-chain).
Out of scope:
- Vulnerabilities in audited projects (php-doctor only reads your code; it cannot remediate it).
- Third-party dependencies — please report those upstream and we will bump the lock when fixes land.
- Findings reported by
php-doctoritself on a target project — those are normal output, not vulnerabilities.
- No code execution against the audited project beyond official framework introspection commands (
bin/console debug:*,php artisan route:list,composer audit). - Path injection mitigations:
Laravel\ConfigCollectordoes not interpolate user-controlled paths into PHP source code passed tophp -r. - HTML XSS mitigations: JSON embedded in
<script type="application/json">is encoded withJSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT. - SARIF output redacts paths outside the audited project root.
- GitHub Actions workflows use top-level least-privilege
permissions: { contents: read }. - Third-party Actions are pinned to full SHA.
Confirmed vulnerabilities are disclosed via GitHub Security Advisory + a CHANGELOG entry under ### Security. CVE IDs are requested via GitHub when the impact warrants it.