scaffold-docs
Pass
Audited by Gen Agent Trust Hub on Jun 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses shell commands to detect changes in the codebase. In
phases/5-update.md, the agent is instructed to rungit diff <baseline>..HEAD --statandgit log, where<baseline>is a value retrieved from the.scaffold-docs.ymlmetadata file. While appropriate for a development tool, using data from a file as a shell argument without explicit sanitization creates a potential command injection vector if the metadata file is compromised by a malicious actor. - [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface because its execution logic in Phase 5 depends on untrusted external data.
- Ingestion points: The skill reads the
.scaffold-docs.ymlfile and the target codebase to determine which sections of documentation need updating. - Boundary markers: The instructions do not specify boundary markers or instructions to ignore malicious content within the metadata file or the codebase being scanned.
- Capability inventory: The skill has the capability to execute shell commands (
git) and write files to the local directory. - Sanitization: There is no evidence of sanitization or validation of the
last_synced_shavalue before it is interpolated into shell commands.
Audit Metadata