agent-teams
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes
work_packagesfrom external callers which are then used to spawn subagents. Thedescriptionandidfields from these packages are interpolated directly into the subagent lead's prompt template in Step 5 without sanitization. - Ingestion points: The
work_packageslist in the Input Contract (SKILL.md) provides the entry point for untrusted data. - Boundary markers: No delimiters or "ignore embedded instructions" markers are used in the prompt interpolation logic in Step 5.
- Capability inventory: The skill spawns new agents (
Agenttool) and writes to the local filesystem (.forge/directory). - Sanitization: There is no evidence of validation or escaping for the data interpolated into the subagent prompts.
- [COMMAND_EXECUTION]: The test file
tests/test_blocked_enum.pyusessubprocess.runto execute an external shell script. While the pathSH_TESTis currently a placeholder, this pattern facilitates local command execution within the agent's environment. - [DATA_EXFILTRATION]: The skill logic explicitly manages and references highly sensitive files including
.forge/session.keyand.ledger/**. Although the skill implements a "controlled merge" mechanism (_meta/worktree_merge.py) to prevent subagents from modifying these files, the orchestration layer's direct handling of these paths constitutes a data exposure risk if the orchestrator itself is compromised via prompt injection.
Audit Metadata