checkable
Pass
Audited by Gen Agent Trust Hub on Nov 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/checkable.pyutility provides areplaycommand that executes shell strings defined in theverifiersection of input JSON statements (specifically thecheck,rejects, andacceptsfields). These commands are executed usingsubprocess.Popenwithshell=Trueto facilitate verification tasks such as running test suites or linters. - [DYNAMIC_EXECUTION]: The bundled
tests/mutate.pyscript performs mutation testing by parsing thescripts/checkable.pyfile into an Abstract Syntax Tree (AST), applying various modifications (negating conditions, replacing regex patterns, and making predicates permissive), and then writing the modified code back to disk for execution viapytestto ensure invariant coverage. - [INDIRECT_PROMPT_INJECTION]: This skill presents a surface for indirect prompt injection because it processes problem statements that are often generated or modified by AI models. Malicious instructions embedded in these JSON files could be used to execute unauthorized shell commands when the
replaycommand is invoked. - Ingestion points:
scripts/checkable.pyreads JSON statements from the local file system. - Boundary markers: The script performs strict JSON schema validation (Invariant C0) but does not delimit or sanitize the content of executable command strings.
- Capability inventory: Access to shell execution via
subprocess.Popeninscripts/checkable.pyand file system modification intests/mutate.py. - Sanitization: No sanitization or escaping is performed on the command strings before execution.
Audit Metadata