spec-engine
Warn
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The file
tests/run-validation.pyuses theexec()function to dynamically execute the code contained within the local scriptscripts/validate-output.pyduring the test process. - Evidence:
exec((SCRIPTS_DIR / "validate-output.py").read_text(encoding="utf-8"), validate_output)intests/run-validation.py. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted data from external sources, including user research, tickets, and normalized handoff JSON from Azure DevOps (
ado-gateway), creating a potential vector for indirect prompt injection. - Ingestion points:
SKILL.md(Workflow section),rules/handoff-consumption.md(Azure DevOps handoffs). - Boundary markers: The
rules/handoff-consumption.mdfile specifies that the agent should reject malformed JSON, verify theproducerfield, and treatpr_commentsas review context only rather than functional requirements. - Capability inventory: The skill uses the
read_filetool to interact with the filesystem. - Sanitization:
rules/requirement-quality.mdprovides strict checks, banning vague language (e.g., "should", "faster", "user-friendly") and requiring testable outcomes to minimize the impact of ambiguous or malicious inputs.
Audit Metadata