xy-card
Fail
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDATA_EXFILTRATIONPRIVILEGE_ESCALATIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/render_card.pyexecutes the system's Chrome or Chromium binary in headless mode usingsubprocess.run. Although it uses an argument list rather than a raw shell string, the binary selection depends on searching standard system paths which could be manipulated. - [DATA_EXFILTRATION]: The
bg_to_data_urifunction inscripts/render_card.pyusesurllib.request.urlopento fetch background images from user-supplied URLs. It lacks validation for the URL scheme, allowing for local file inclusion viafile://protocols. An attacker could use this to read sensitive files like~/.ssh/id_rsa, which the script then base64-encodes and renders into a PNG image for exfiltration. - [PRIVILEGE_ESCALATION]: The
--outparameter allows the agent to specify the destination path for the generated PNG file without any sanitization. This enables the overwriting of arbitrary files on the system, including critical configuration files or shell profiles, which can lead to system instability or persistence. - [EXTERNAL_DOWNLOADS]: The skill makes network requests to arbitrary external domains provided by the user to fetch images, which can be used to probe internal network services or metadata endpoints.
Recommendations
- AI detected serious security threats
Audit Metadata