doc-governance
Pass
Audited by Gen Agent Trust Hub on Nov 7, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/audit-doc-health.pyusesimportlib.utilto dynamically load sibling scripts (such ascheck-doc-links.pyandtrim-revision.py) from the local file system. This is used to orchestrate the skill's internal auditing functions and does not ingest untrusted remote code. - [COMMAND_EXECUTION]: The script
scripts/scaffold-doc.pyusessubprocess.runto execute local helper scripts likemanage-doc-index.pyandmanage-backlog.pyto automate documentation indexing. Additionally, the test suite (tests/) usessubprocess.runto perform integration testing of the CLI tools. These executions are scoped to the skill's own directory and are necessary for its documented functionality. - [INDIRECT_PROMPT_INJECTION]: The skill represents an attack surface for indirect prompt injection because it processes untrusted Markdown content (reading files to check links, audit health, and generate summaries). However, the scripts operate locally and do not exfiltrate data or perform dangerous operations based on the content of the files being audited.
- Ingestion points:
audit-doc-health.py,check-doc-links.py, andgenerate-llms-txt.pyread the content of Markdown files in the targeted documentation directory usingPath.read_text(). - Boundary markers: The skill encourages the use of managed markers like
<!-- doc-index:managed -->to delimit generated content, but these are primarily for maintenance rather than security boundaries. - Capability inventory: The skill possesses capabilities for local file reading/writing and local subprocess execution (Python scripts only).
- Sanitization: The scripts use
shlex.quoteto sanitize project names before suggesting shell commands to the user andslugifyto sanitize filenames, reducing the risk of local command injection.
Audit Metadata