spec-contract
Pass
Audited by Gen Agent Trust Hub on Nov 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses a local Python utility (
scripts/spec_check.py) to analyze the structure of Markdown and HTML design documents. It also includes a shell script (tests/mutation.sh) for mutation testing of the validator's logic and provides instructions for running tests withpytest. These capabilities are expected and appropriate for a documentation validation tool. - [EXTERNAL_DOWNLOADS]: The
spec_check.pyscript includes an optional--check-linksfeature that performs outgoing network requests (HTTP HEAD) to verify URL liveness. This feature includes a robust security guardrail (_unsafe_target) that filters out private, loopback, and link-local IP addresses, effectively preventing SSRF (Server-Side Request Forgery) attacks. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted Markdown and HTML content from files provided as CLI arguments. The structural analysis is performed by a script employing regex patterns and HTML tag stripping, which isolates the analysis from the agent's prompt context and prevents embedded content from influencing the automated check logic.
Audit Metadata