post-merge-voice-gate
Warn
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/run.pydetermines the repository root directory at runtime by searching parent folders for a marker file (AGENTS.md). It subsequently modifiessys.pathto enable the import of local modules from thetoolingpackage. This dynamic path computation for loading executable code presents a security risk if the filesystem structure is manipulated or untrusted. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process external, potentially untrusted content from
output/DRAFT.mdandoutline/transitions.mdto identify voice artifacts. - Ingestion points: The text content of the draft and transition files are read into the analysis context in
scripts/run.pyand are presented to the agent via the Role Prompt inSKILL.md. - Boundary markers: The skill does not implement delimiters or explicit instructions (such as "ignore embedded instructions") within the script logic or the agent role prompt to prevent instructions contained within the analyzed documents from influencing agent behavior.
- Capability inventory: The analysis process results in file system writes to
output/POST_MERGE_VOICE_REPORT.mdandoutput/QUALITY_GATE.mdvia internal workspace utilities. - Sanitization: No sanitization, escaping, or validation of the ingested draft text is performed before it is processed by the script or the agent.
Audit Metadata