scientific-writing
Pass
Audited by Gen Agent Trust Hub on Apr 12, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATION
Full Analysis
- [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it retrieves research data from external sources via tools like research-lookup and interpolates this potentially untrusted content into prompts for image generation and writing tasks. Ingestion points: Untrusted data enters the agent context through the literature search results described in the Stage 1 workflow of SKILL.md. Boundary markers: The skill does not employ explicit delimiters or instructions to ignore embedded commands within the research data. Capability inventory: The skill can execute local scripts via subprocess and communicate with external APIs using the requests library. Sanitization: There is no evidence of sanitization or filtering of the external data before it is included in LLM prompts.
- [COMMAND_EXECUTION]: The script scripts/generate_schematic.py uses the subprocess module to call scripts/generate_schematic_ai.py. The command is constructed as a list without shell=True, which correctly follows security best practices to prevent shell injection.
- [EXTERNAL_DOWNLOADS]: The Python scripts interact with the OpenRouter API at openrouter.ai to access generative models for image creation and scientific review. This is a well-known service, and the requests are essential for the skill's stated purpose.
- [DATA_EXFILTRATION]: User-provided writing prompts and image data are transmitted to the external OpenRouter API. This is the intended functionality of the skill for remote processing of graphical tasks.
Audit Metadata