gst-invoice-compliance

Pass

Audited by Gen Agent Trust Hub on Oct 23, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The invoice-generator.py script constructs HTML invoices by directly interpolating data into an f-string without any escaping or sanitization.
  • Ingestion points: Data provided for RECIPIENT (name, address) and LINE_ITEMS (description) in scripts/invoice-generator.py acts as the injection vector.
  • Boundary markers: There are no markers or instructions to treat the input as data rather than code/structure within the HTML generation logic.
  • Capability inventory: The script includes file-writing capabilities, saving the resulting HTML to the /mnt/user-data/outputs directory via open().write().
  • Sanitization: None. Values like item['desc'], RECIPIENT['name'], and RECIPIENT['address'] are placed directly into the HTML body. This allows for potential HTML/JavaScript injection if a user provides input containing malicious tags, which would then execute in a browser environment when the invoice is viewed or printed.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 23, 2026, 11:57 AM