global-tech-spec
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes local Python scripts for document processing and environment configuration.
SKILL.mddirects the agent to executescripts/sync_tech_specs.pyandscripts/install_project_hook.pyusing the system Python interpreter.- The scripts use the
argparsemodule for safe argument handling andpathlibfor secure path management. - [PERSISTENCE]: The skill configures project-specific hooks to ensure documentation remains synchronized across agent sessions.
scripts/install_project_hook.pymodifies the.codex/hooks.jsonconfiguration file to registerPostToolUseandStopevents.- These hooks are designed to automatically trigger the synchronization script whenever relevant files are modified, ensuring the HTML representation stays current.
- The skill explicitly instructs the agent to ask the user to review and trust these hooks through the platform interface.
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted Markdown content to generate HTML files, with mitigations implemented to prevent injection.
- Ingestion points: Markdown source files are read from the
docs/tech-specs/directory within the repository. - Boundary markers: The process uses structured YAML frontmatter (delimited by
---) and specific Markdown headings to segment content. - Capability inventory: The skill has capabilities for file system writes and automated command execution via project-local hooks.
- Sanitization: The rendering engine in
scripts/sync_tech_specs.pyperforms thorough HTML escaping on all inline content and code blocks, and utilizes asafe_linkvalidator to prevent the inclusion of dangerous URI schemes such asjavascript:.
Audit Metadata