hypothesis-generator
Warn
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute a local Python script to perform a post-write validation of the generated artifact.
- Evidence: In
SKILL.mdunder thePost-Write Validation Gatesection, the command is specified as:$PY <kb-start-scripts>/kb_type_validate.py validate {kb_root}/deliverables/{scope}-experiment-roadmap.md. - [DYNAMIC_EXECUTION]: The validation command uses shell variables and string interpolation (
{kb_root},{scope}) that are dynamically resolved from the repository'sCLAUDE.mdfile and command-line flags. If these values contain malicious shell metacharacters, it could lead to arbitrary command execution. - Evidence:
SKILL.mdcontains aMode Resolution Procedurethat parses the KB root path fromCLAUDE.md. This path is then directly used in the shell command constructed for the validation gate. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from various external and potentially untrusted sources, including client positioning context, spec files, and other knowledge base artifacts.
- Ingestion points: The skill reads files from
.claude/context/*.mdand globbed silver artifacts inreference/cro-{scope}/. It also takes input from a--specflag which can be a file path or inline text. - Boundary markers: While the skill provides instructions on maintaining 'Deliverable Purity' (e.g., not referencing system internals in the output), it does not employ robust delimiters or escaping mechanisms to prevent instructions within the input data from influencing the agent's behavior.
- Capability inventory: The skill has capabilities for reading and writing files and executing local shell commands.
- Sanitization: No explicit sanitization or content validation for the ingested data is defined in the execution pipeline.
- Evidence: Described across
Operating Modes,Read-side Mapping, andPhase 0: Spec IntakeinSKILL.mdandphases/detect.md.
Audit Metadata