qr-code-generator
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/batch_generate.pyscript usessubprocess.check_callto execute thegenerate_qr.pyhelper script. While it correctly uses a command list (avoiding shell injection), it represents a capability to spawn sub-processes based on input data derived from external CSV files. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data (URLs and CSV files) which could be used to influence agent behavior or exploit file-system capabilities.
- Ingestion points: Data is ingested via the
--csvargument inbatch_generate.pyand the--url/--caption-labelarguments ingenerate_qr.py. - Boundary markers: The
SKILL.mdfile contains a 'Guardrails' section instructing the agent to avoid deceptive destinations, but there are no technical delimiters or 'ignore' instructions for the data being processed at the script level. - Capability inventory: The skill has the capability to write files (PNG and SVG) to the local disk and execute local scripts via
subprocess. - Sanitization:
generate_qr.pyvalidates URL schemes (http/https) and usesEscapeXMLto sanitize labels in SVG output. However, inbatch_generate.py, theidfield from the CSV is used directly inos.path.jointo construct file paths without sanitization, which could allow for path traversal (e.g., using../../in an ID) if the agent processes a malicious file.
Audit Metadata