peer-review

Pass

Audited by Gen Agent Trust Hub on Apr 12, 2026

Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses subprocess.run in scripts/generate_schematic.py to execute a secondary script generate_schematic_ai.py. While implemented using best practices (list-based arguments and environment variables for secrets), it represents a functional command execution surface.
  • [COMMAND_EXECUTION]: In SKILL.md, the instructions mandate the execution of an external script skills/scientific-slides/scripts/pdf_to_images.py to process presentation files. This script is not provided within the skill package, creating a dependency on external, unverified code that the agent is instructed to run.
  • [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection. It is designed to ingest and analyze untrusted scientific manuscripts and presentations. The instructions lack boundary markers or explicit sanitization steps, which could allow malicious instructions embedded within a reviewed document to influence the agent's behavior during the evaluation process.
  • [DATA_EXFILTRATION]: The scripts/generate_schematic_ai.py script sends user-provided prompts and generated image data to openrouter.ai. While this is functional for the diagram generation feature and targets a well-known service, it involves transmitting data to an external API.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 12, 2026, 06:52 PM