marking-up-pages
Warn
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONPERSISTENCE
Full Analysis
- [DYNAMIC_EXECUTION]: The loader script in
SKILL.mduseseval()to execute the overlay source code retrieved fromlocalStorage.getItem('page-scrawl:src'). This creates a vulnerability where a malicious website could overwrite this storage key to achieve Cross-Site Scripting (XSS) against the agent's browser tool context when the loader is executed. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the DOM, including element text, component names (React/Vue/Svelte), and console logs. Evidence Chain:
- Ingestion points:
SKILL.md(via__scrawl.summary()and__scrawl.export()). - Boundary markers: Absent; the agent is instructed to read the output directly as a bug report.
- Capability inventory:
javascript_tool(arbitrary JS execution),computer(screenshots, keyboard input), and potential file modifications in the local project. - Sanitization: Absent; the script captures raw text and property values from the web page's execution environment.
- [COMMAND_EXECUTION]: The skill provides instructions for the agent to execute arbitrary JavaScript in the page context using
javascript_tool. While this is the intended purpose, the instructions specifically note that this tool ignores the page's Content Security Policy (CSP), which bypasses standard browser security controls. - [PERSISTENCE]: The
scripts/overlay.jsfile contains logic to cache its own source code inlocalStorageunder the keypage-scrawl:src. This allows the tool to persist across reloads but also facilitates the dynamic execution risk mentioned above.
Audit Metadata