php-route-tracer

Trace PHP route handlers to sinks with branch evidence and controllability analysis.

386|38|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/0xShe/PHP-Code-Audit-Skill --skill php-route-tracer-0xshe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: php-route-tracer
Source: https://github.com/0xShe/PHP-Code-Audit-Skill/tree/main/php-route-tracer
Command: npx skills add https://github.com/0xShe/PHP-Code-Audit-Skill --skill php-route-tracer-0xshe

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Tracing data flow from PHP route handlers to final sinks is often opaque, making it hard to reason about how user inputs propagate and where security-relevant decisions occur. This Skill provides a structured, evidence-driven trace that shows the complete data-flow chain from route to sink, without asserting vulnerabilities.

Core Features & Use Cases

  • Route-to-sink tracing: map a given route to the final sink(s) and capture the entire data-flow chain.
  • Parameter and controllability analysis: track how parameters propagate and where inputs can be controlled along the path.
  • Branch and path evidence: record conditional paths, exceptions, and reachability to sinks to support deeper analyses.
  • No vulnerability conclusions: only trace evidence; vulnerability assessment is performed by other skills.

Quick Start

Provide a PHP route entry and request that triggers a trace; the system will produce a route-trace report showing the complete data-flow from handler to sink.

Frequently Asked Questions about php-route-tracer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace PHP route data-flow to sinks like SQL or file operations?

To trace PHP route data-flow to sinks, you provide route definitions and parameter structures as input to map the complete handler-to-sink chain. The Skill outputs a structured trace report showing parameter propagation and controllability evidence.

What is PHP route tracing and how does it map parameter controllability?

PHP route tracing is the process of following request handlers to final sinks such as SQL, SSRF, or XSS vectors to map parameter flow and controllability. It generates structured reports containing branch evidence and reachability analysis without making vulnerability decisions.

Can I use this for PHP security audits to find user input propagation paths?

Yes, you can use it for PHP security audits to track how user inputs propagate through web application routes to security-relevant sinks. It provides an evidence-driven trace showing the complete data-flow chain, leaving vulnerability assessment to other tools.

How do I get a complete data-flow evidence chain from a PHP web application route?

To get a complete data-flow evidence chain, you provide a PHP route entry and request to trigger a trace. The system follows handlers to sinks, capturing conditional paths, exceptions, and parameter reachability to output a structured route-trace report.

Does the PHP route tracer determine if a data-flow path is a vulnerability?

No, the PHP route tracer does not determine if a data-flow path is a vulnerability. It only outputs structured trace evidence with branch paths and controllability analysis, meaning vulnerability assessment and decisions must be performed by other skills.

What PHP route inputs are required to generate a structured trace report?

Generating a structured trace report requires PHP route definitions and parameter structures as input. The tracer uses these to follow handlers to sinks like template rendering or file operations, mapping the complete data-flow chain and outputting reachability evidence.