create-apple-notes-mockup
Warn
Audited by Gen Agent Trust Hub on Jul 3, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: Path Traversal vulnerability in
render.js. The script resolves and reads local files specified in thesrcfield of image blocks without validating that the paths are restricted to the expected assets directory. An attacker-controlled JSON input could use relative paths (e.g.,../../../../etc/passwd) to read sensitive files, which are then inlined as Base64 data URIs into the generatedindex.htmlfile. - [COMMAND_EXECUTION]: The skill executes external commands and high-privilege applications. It uses
playwrightto launch a headless Chromium browser instance inscreenshot.jsto render HTML to PNG. It also involves CLI execution of Node.js scripts. - [PROMPT_INJECTION]: Indirect Prompt Injection surface. The skill processes JSON data (likely generated by an agent from potentially untrusted user input or external summaries) to drive its rendering engine.
- Ingestion points: The
render.jsscript reads and parses a JSON specification file provided via the--noteCLI flag. - Boundary markers: There are no explicit boundary markers or instructions to ignore embedded commands within the processed JSON data blocks.
- Capability inventory: The skill has the capability to read local files (
fs.readFileSyncinrender.js), write local files (fs.writeFileSyncinrender.jsandscreenshot.js), and launch a web browser (chromium.launchinscreenshot.js). - Sanitization: While text content is escaped for HTML, file paths in the
imageblock'ssrcfield are not sanitized or validated against a safe directory root.
Audit Metadata