hypothesis-generation
Pass
Audited by Gen Agent Trust Hub on Nov 4, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill uses bundled Python scripts that exclusively utilize the standard library. The scripts in
scripts/implement a local-only model, explicitly rejecting URL-like paths, symlinks, and NUL bytes to prevent unauthorized data access or path traversal.- [SAFE]: All bundled CLI tools implement defensive programming patterns, including capping input sizes at 2 MiB and restricting JSON nesting depth and CSV row counts. This mitigates potential resource exhaustion or parser-level attacks.- [SAFE]: File writing operations use atomic replacement and private file permissions (mode0600), ensuring that generated reports are created securely and without the risk of race conditions.- [EXTERNAL_DOWNLOADS]: The instructions advise the agent to fetch metadata for scientific citations from the arXiv public API. This follows standard academic practices for verifying reference accuracy and uses a well-known scientific service.- [INDIRECT_PROMPT_INJECTION]: The skill ingests user-provided JSON and CSV files to generate Markdown research scaffolds, which is a potential surface for indirect prompt injection. - Ingestion points: Structured data files (e.g.,
record.json) processed bygenerate_preregistration_scaffold.py. - Boundary markers: Output templates in
assets/include explicit "UNREGISTERED DRAFT" warnings and placeholders for human review. - Capability inventory: Local file writing via
scripts/_common.py. - Sanitization: Robust sanitization is present in
scripts/generate_preregistration_scaffold.py, which uses HTML escaping and regex-based escaping of Markdown special characters to ensure that user data cannot alter the structure of the generated document.
Audit Metadata