prep-that-doc
Pass
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes
gitsubprocesses viascripts/input.tsto identify the repository root and discover changed files. These executions use safety best practices, such asspawninstead of a shell and the--end-of-optionsflag to prevent argument injection. - [DYNAMIC_EXECUTION]: The skill instructions involve executing its own bundled TypeScript logic (
scripts/scan.ts) viabunornodeto perform automated document analysis and linting. - [INDIRECT_PROMPT_INJECTION]: The skill processes potentially untrusted Markdown data from local files or standard input.
- Ingestion points: External document content is read into the agent's context through
scripts/input.ts. - Boundary markers: The
SKILL.mdprovides explicit instructions for the agent to "Preserve Meaning" and "Protect Content," specifically identifying code fences, frontmatter, commands, and URLs as protected regions that must not be altered during editing. - Capability inventory: The skill has capabilities for file system reads/writes,
gitsubprocess execution, and running its own TypeScript scanner scripts. - Sanitization: The scanner implementation in
scripts/regions.tsuses masking logic to isolate protected technical content from prose analysis, reducing the risk that embedded instructions in technical blocks are misinterpreted as agent instructions.
Audit Metadata