token-receipt
Pass
Audited by Gen Agent Trust Hub on Aug 4, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/gen_receipt.pyexecutes local CLI tools includingccusage,qrencode,Google Chrome, andmagickusing thesubprocessmodule to gather data and render images. These tools are expected to be pre-installed on the host system. - [COMMAND_EXECUTION]: The script passes user-controlled parameters, such as the customer name and YouTube URL, directly to subprocesses. By using
shell=False(the default), it prevents shell command injection vulnerabilities. - [SAFE]: The skill processes data from local
ccusagelogs and applieshtml.escapeto all dynamic strings before they are interpolated into the HTML template. This sanitization effectively mitigates indirect injection risks during the receipt rendering process.
Audit Metadata