Buda Social Cards
Pass
Audited by Gen Agent Trust Hub on Jul 1, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/render.jsuseschild_process.execSyncto call theconvertutility (ImageMagick) for image compression. The command incorporates variable paths (rawPng,outputFile) which are manipulated within the script and could potentially be subject to command injection if filenames are derived from untrusted user input. - [DATA_EXFILTRATION]: The workflow involves reading local image files from the user's workspace using
fs.readFileSync(e.g., inscripts/example_render.js) to convert them into Base64 strings for embedding in HTML. While intended for asset management, this demonstrates access to the local file system. - [DYNAMIC_EXECUTION]: The skill relies on generating and running Node.js scripts that utilize the Playwright library to render dynamically generated HTML into images. This involves runtime execution of code constructed from templates.
- [INDIRECT_PROMPT_INJECTION]: The skill processes text to generate card content which is directly interpolated into HTML templates (as seen in
scripts/render.jsandscripts/example_render.js). This creates an attack surface for indirect prompt injection. - Ingestion points: Text content extracted from user documents or workspace files in Stage 1 of the workflow.
- Boundary markers: None identified in the HTML generation scripts to delimit untrusted data from the template logic.
- Capability inventory: The skill has access to the workspace via
Bash(*),Write, andEdittools. The Node.js scripts utilizefsfor file reads,child_processfor shell execution, andplaywrightfor browser automation. - Sanitization: There is no evidence of HTML escaping or sanitization of the
title,body, orsubtitlevariables before they are injected into the HTML templates rendered by Playwright.
Audit Metadata