php-tpl-audit
CommunityDetect PHP SSTI risks and trace templates.
Author0xShe
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Analyzes PHP source code to identify template injection (SSTI) risks and dangerous expression execution flows, tracing user-controlled content from input to render/compile and potential code execution to enable safe remediation.
Core Features & Use Cases
- Detects template rendering points in Twig, Laravel Blade, Smarty, and custom engines.
- Traces data flow from user input to rendering and evaluation, exposing controllable templates and execution chains.
- Generates actionable reports with evidence, remediation suggestions, and PoC guidance for audits.
Quick Start
Run the tpl-audit tool against your PHP project to locate SSTI risks and generate a remediation report.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: php-tpl-audit Download link: https://github.com/0xShe/PHP-Code-Audit-Skill/archive/main.zip#php-tpl-audit Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.