Direct Prompt Extraction
- Category
- System Prompt Leakage
- Confidence
- 91% confidence
- Finding
The skill explicitly instructs operators to place all needed instructions, constraints, domain knowledge, and output behavior into the sub-agent task because sub-agents are context-blind. This creates a prompt-injection and prompt-extraction risk: if untrusted content is included in the handoff or referenced files, the child agent may treat attacker-controlled text as authoritative instructions, potentially causing data exfiltration, unsafe actions, or suppression of visibility via announce control.
- Content
md 2. Whatever files you tell them to read (via paths in the task) 3. Inline `attachments` you pass at spawn time **Everything the sub-agent needs must be in the task spec or explicitly referenced as a file path.** This includes output instructions, announce behavior, constraints, and domain knowledge. ## When to Spawn
