redteamlead
Pass
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill dispatches a subagent instructed to read all files within directories like
targets/<ENG>/ingest/andtargets/<ENG>/poc/. These directories are intended to hold raw data and source code retrieved from target systems. Malicious instructions embedded in this target data (e.g., in HTML comments or source code) could be interpreted by the subagent, influencing its advisory output. - Ingestion points:
targets/<ENG>/recon/,targets/<ENG>/ingest/,targets/<ENG>/poc/, andstate.md(via subagent instructions inSKILL.md). - Boundary markers: None identified; the subagent is simply told to "Read the engagement (every file that exists)".
- Capability inventory: The operator is instructed to act on the subagent's directions, which includes loading new skills and running tools.
- Sanitization: No filtering or sanitization of target-provided data is mentioned.
- [DYNAMIC_EXECUTION]: The skill performs runtime execution of Python code using
python3 -c. The command dynamically modifies the Python path to import a local hook module (skills/hooks/_engagement.py) and call a function to initialize files. While the code is sourced from the skill's own directory, this pattern of runtime assembly is a potential vector for manipulation. - [COMMAND_EXECUTION]: The skill executes several shell commands to manage state and query documentation, including
cat targets/active.md,python3 scripts/next_move.py, andbash scripts/wiki-query.sh. The value read fromtargets/active.mdis used to construct file paths (e.g.,targets/$ENG/), which could lead to path traversal if the file content is not properly validated.
Audit Metadata