scientific-figures
Pass
Audited by Gen Agent Trust Hub on May 2, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes several mechanisms to execute commands and scripts at runtime.
- The
scripts/generate_icon.pyscript invokes thecodexCLI tool viasubprocess.runto perform image generation. The command is structured to avoid shell injection and uses a sandbox flag (--sandbox workspace-write) to limit its scope. - The
SKILL.mdfile and reference guides frequently useuvxandbunxto execute inline Python and JavaScript snippets for data visualization and PDF rendering. - [EXTERNAL_DOWNLOADS]: The skill dynamically fetches and runs packages from established registries to maintain a minimal local footprint.
- It uses
uvxanduv run --withto download well-known Python libraries from PyPI, includingmatplotlib,seaborn,numpy,pdf2image,cairosvg, andlifelines. - It uses
bunxto retrieve@react-pdf/rendererandreactfrom NPM for figure composition. - These downloads are restricted to reputable, official software repositories.
- [PROMPT_INJECTION]: The skill implements a Visual QA process that involves an indirect prompt injection surface.
- The agent is instructed to generate a preview image of the figure and then use the vision tool to inspect it for alignment and readability issues.
- This process could be targeted by indirect prompt injection if malicious data were used to generate the figure elements (e.g., text in a plot label designed to trick a vision model), although the risk is consistent with standard vision-capable agent workflows.
Audit Metadata