session-plan-audit
Pass
Audited by Gen Agent Trust Hub on Jul 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute the
ajvcommand-line tool using shell interpolation. Specifically, the{type}variable, which is extracted from themeta.typefield of a loaded JSON file, is used to construct the file path for the validation schema. - [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection attack surface by processing untrusted data from local files.
- Ingestion points: The skill reads a JSON file from a path determined by the user-provided
session-sluginput atdocs/instructional-design/session-plans/{slug}/session-plan.json. - Boundary markers: There are no instructions or delimiters provided to the agent to treat the contents of the JSON file as untrusted data or to ignore any embedded instructions.
- Capability inventory: The agent uses shell command execution (
ajv validate) and internal logic (regex matching and arithmetic checks) to process the data. - Sanitization: The instructions lack explicit requirements for the agent to sanitize or validate the
meta.typefield before incorporating it into the shell command string, creating a risk of command injection.
Audit Metadata