scientific-writing

Warn

Audited by Gen Agent Trust Hub on Nov 12, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill provides an instruction for the agent to generate figures using a shell command: python scripts/generate_schematic.py "your diagram description" -o figures/output.png. This pattern is vulnerable to command injection because the "diagram description" is derived from natural language input and is placed directly into a command executed via the Bash tool. An adversary providing a description containing shell metacharacters (e.g., ;, &&, or backticks) could achieve unauthorized code execution.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process external data from literature searches using the research-lookup skill to create outlines and prose. This creates a vulnerability where instructions hidden in the processed data could manipulate the agent's behavior.
  • Ingestion points: Data retrieved from the research-lookup tool.
  • Boundary markers: The skill lacks instructions for using delimiters or warnings to ignore instructions embedded within external data.
  • Capability inventory: The skill has access to Write, Edit, and Bash tools, which increases the potential impact of a successful injection.
  • Sanitization: There are no protocols defined for validating or sanitizing the content retrieved from external sources before it is used to generate manuscripts.
  • [DYNAMIC_EXECUTION]: The skill relies on the runtime execution of a local Python script (scripts/generate_schematic.py) to fulfill its visual enhancement requirements. While the script itself is not provided for analysis, the instruction for the agent to invoke it via the Bash tool with user-controlled parameters constitutes a risk of dynamic execution of code that may not be properly secured or validated against malicious arguments.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 12, 2026, 11:32 PM