self-improvement
Pass
Audited by Gen Agent Trust Hub on Oct 3, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The
error-detector.shscript ingests the output of shell commands to identify errors and inject reminders into the agent's context. This represents a potential surface for indirect prompt injection if a command produces output designed to manipulate the agent's subsequent actions via the injected reminder. - Ingestion points: The
scripts/error-detector.shscript reads tool execution results from standard input in JSON format (targetingtool_responseortextResultForLlmfields). - Boundary markers: The resulting reminder is wrapped in
<error-detected>tags when injected into the prompt context to help the model distinguish it from user input. - Capability inventory: The skill allows the agent to modify project documentation (
CLAUDE.md,AGENTS.md), log entries to the.learnings/directory, and create new skill scaffolds via theextract-skill.shhelper script. - Sanitization: The script utilizes standard system utilities (
jqor Python'sjsonmodule) for data extraction, which protects against basic payload-level injection during the parsing phase.
Audit Metadata