handbook-code
Pass
Audited by Gen Agent Trust Hub on Dec 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill is designed to run arbitrary code and shell commands to generate "verifiable teaching aids" for documentation. It requires the agent to capture real outputs and conclusions to replace placeholders in the text. This capability allows the agent to interact with the local operating system and toolchain to fulfill its writing duties.
- [INDIRECT_PROMPT_INJECTION]: The skill represents an attack surface for indirect prompt injection because it proactively searches for and executes instructions contained within
{{CODE: ...}}placeholders in manuscript drafts. - Ingestion points: The agent reads from
chapter_draftfiles andresearch_pack.topic(research/topic.md) to find execution targets. - Boundary markers: While it uses the
{{CODE: ...}}syntax as a delimiter for the task, there are no internal boundary markers mentioned to prevent the content of those placeholders from overriding intent or executing unintended commands. - Capability inventory: The skill allows for command execution and file system writes across the
.handbook/directory (SKILL.md). - Sanitization: There is no evidence of command sanitization or input validation performed on the content found within the placeholders before execution.
Audit Metadata