Hunt Local File Inclusion (LFI), Remote File Inclusion (RFI), and Path Traversal — /etc/passwd read, log poisoning → RCE, PHP filter-chain RCE (no upload needed), php:// / data:// / zip:// / phar:// wrappers, RFI via allow_url_include, directory traversal read/write/delete. Covers OOB/blind LFI confirmation and false-positive discipline. Use when hunting file-include or path-traversal bugs on any target.
69
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Critical
Do not install without reviewing
Security
2 findings: 1 critical severity, 1 high severity. Installing this skill is not recommended: please review these findings carefully if you do intend to do so.
Detected a prompt injection in the skill instructions. The skill contains hidden or deceptive instructions that fall outside its stated purpose and attempt to override the agent’s safety guidelines or intended behavior.
The document contains explicit, actionable exploitation instructions and payloads (LFI/RFI, php:// filter-chain, log/session poisoning, phar deserialization, commands/curl examples) intended to achieve secret exfiltration and remote code execution, clearly facilitating malicious compromise.
The skill handles credentials insecurely by requiring the agent to include secret values verbatim in its generated output. This exposes credentials in the agent’s context and conversation history, creating a risk of data exfiltration.
The skill explicitly instructs discovering and then showing/extracting sensitive files (DB creds, .env, private keys, ~/.aws/credentials) and tells the user/agent to "report exactly what you recovered" and "show real contents," which requires the LLM to handle and output secret values verbatim.
Low
Low-risk findings.
2 low severity findings. Worth noting, but not necessarily harmful.
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
The required runtime workflow ingests outsider-authored free text via target-provided LFI/RFI parameters it uses to request and decode files (e.g., `?file=php://filter/.../resource=index.php` and log-polluting payloads), so an outsider can supply arbitrary input that the agent will process without selecting a specific predetermined item first.
The skill fetches instructions or code from an external URL at runtime, and the fetched content directly controls the agent’s prompts or executes code. This dynamic dependency allows the external source to modify the agent’s behavior without any changes to the skill itself.
The skill explicitly instructs at runtime to git clone and run a remote tool that executes locally (git clone https://github.com/synacktiv/php_filter_chain_generator then python3 php_filter_chain_generator.py), which fetches and executes external code used to generate exploitation payloads.
58017df
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.