ai-agent-design

Pass

Audited by Gen Agent Trust Hub on Nov 16, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_CONTEXT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill provides implementation templates for ReAct and Plan-and-Execute agent loops that are inherently susceptible to indirect prompt injection from untrusted external data.
  • Ingestion points: The goal parameter and the llm response in the reactAgent function (SKILL.md) represent points where untrusted content enters the agent's context.
  • Boundary markers: The implementation uses Thought:, Action:, and Observation: delimiters to structure the interaction history.
  • Capability inventory: The provided examples include the ability to perform tool execution (tool.execute(input)) and file system operations (write_file tool schema).
  • Sanitization: The code includes JSON.parse for input processing but lacks explicit logic to sanitize or validate the semantic intent of instructions embedded within observations.
  • [DYNAMIC_CONTEXT_INJECTION]: The skill uses dynamic context injection to automate the discovery of recommended companion skills when the skill is first loaded.
  • Evidence: The 'Companion check' section in SKILL.md contains the command !ls ~/.claude/skills/ ~/.agent/skills/ ~/.agents/skills/ .claude/skills/ .agent/skills/ .agents/skills/ 2>/dev/null.
  • Details: This shell command executes automatically at skill load time to inspect local skill directories. While the command itself is benign (directory listing for feature discovery), it utilizes the dynamic execution syntax to perform environment inspection.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 16, 2026, 12:15 PM