web-ssti-twig
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFECOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONMETADATA_POISONINGDYNAMIC_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill provides a comprehensive list of payloads for executing code on remote targets using Twig, Smarty, Blade, and Latte engines. Techniques include using filters like
filter,map, andsortto invoke system commands, as well as exploiting specific vulnerabilities like CVE-2022-23614.- [DATA_EXFILTRATION]: Instructions include payloads for reading sensitive target files such as/etc/passwdandwp-config.php. The skill also directs the agent to save sensitive findings, including AWS credentials and database dumps, to a local evidence directory.- [COMMAND_EXECUTION]: The skill recommends the use of external command-line tools for automation, providing execution patterns forsstimap.py,tplmap.py, andTInjA.- [DYNAMIC_EXECUTION]: The skill constructs executable PHP and Twig payloads at runtime by interpolating commands and utilizing obfuscation techniques such as hex escaping (e.g.,\x20) and shell variable substitution (e.g.,$IFS).- [INDIRECT_PROMPT_INJECTION]: The skill defines a workflow that ingests data from external sources, creating a potential surface for indirect injection. - Ingestion points: Data is retrieved via
get_state_summary()from a state MCP server and read from the local./engagement/directory. - Boundary markers: The instructions do not define specific delimiters or guardrails to isolate ingested state data from the agent's logic.
- Capability inventory: The agent is authorized to write files to the local file system and execute external security tools.
- Sanitization: There is no mention of sanitization or validation processes for data ingested from the engagement state or target environment.- [METADATA_POISONING]: The skill references resources from the blacklanternsecurity/red-run repository in its metadata sources.
Audit Metadata