delegating-with-context
Pass
Audited by Gen Agent Trust Hub on Nov 30, 2026
Risk Level: SAFECREDENTIALS_UNSAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill accesses local sensitive files and environment variables to identify secrets. Specifically,
scripts/chunking.pyreads/mnt/project/*.envand the process environment to build a list of values for redaction before any data is sent externally. - [DATA_EXFILTRATION]: It reads session transcripts from the agent's project directory and transmits portions of the content to Cloudflare's AI Gateway or TypeSafe's API for context ranking as part of its core functionality in
scripts/jevfilter.py. - [COMMAND_EXECUTION]: The skill operates as a
PreToolUsehook, executing Python scripts (scripts/context_hook.py) whenever the agent attempts to use delegation tools or create new sessions. - [INDIRECT_PROMPT_INJECTION]: It ingests potentially untrusted data from the parent session's transcript and interpolates it into the prompt of subagents.
- Ingestion points: Session transcripts are read from
~/.claude/projects/*.jsonlinscripts/chunking.py. - Boundary markers: Appended context is wrapped with a provenance message and labels identifying it as reference data rather than instructions in
scripts/context_hook.py. - Capability inventory: The skill can read local files, perform network requests, and modify the input parameters of subsequent tool calls through the hook system.
- Sanitization: It employs a redaction mechanism to remove identified credentials from the transcript data before it is processed or sent to external APIs.
Audit Metadata