scientific-writing
Pass
Audited by Gen Agent Trust Hub on Jun 14, 2026
Risk Level: SAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The script
scripts/generate_image.pyallows for the transmission of local file contents to the OpenRouter API. The--inputargument reads a specified file path, base64-encodes it, and includes it in a network request tohttps://openrouter.ai/api/v1/chat/completions. This capability could be exploited to exfiltrate sensitive files (e.g., SSH keys, credentials) if the agent is manipulated into treating them as 'image' inputs. - [COMMAND_EXECUTION]: The
scripts/generate_schematic.pyfile utilizessubprocess.runto orchestrate execution between different scripts in the package. While the implementation uses a list of arguments to minimize shell injection risks, it represents a dynamic execution pattern that allows the skill to trigger additional processes on the host system. - [PROMPT_INJECTION]: The skill uses an indirect prompt injection surface (Category 8) by ingesting untrusted data from the
research-lookuptool. - Ingestion points: External literature data enters the context via the
research-lookupskill (referenced inSKILL.md). - Boundary markers: The instructions lack explicit delimiters or warnings to ignore instructions embedded within the research data.
- Capability inventory: The skill has access to
Bash,Write, andEdittools, as well assubprocesscalls within its scripts. - Sanitization: There is no evidence of filtering or escaping logic applied to the external research content before it is processed into manuscript prose.
- [SAFE]: The skill follows security best practices for credential management by loading the
OPENROUTER_API_KEYfrom environment variables or.envfiles rather than hardcoding secrets in the source code.
Audit Metadata