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.py script uses subprocess.check_call to execute the generate_qr.py helper 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 --csv argument in batch_generate.py and the --url/--caption-label arguments in generate_qr.py.
  • Boundary markers: The SKILL.md file 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.py validates URL schemes (http/https) and uses EscapeXML to sanitize labels in SVG output. However, in batch_generate.py, the id field from the CSV is used directly in os.path.join to 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
Risk Level
SAFE
Analyzed
Sep 20, 2026, 08:40 AM