visual-qna
Pass
Audited by Gen Agent Trust Hub on Jun 13, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection through the structured question configuration it processes.
- Ingestion points: The agent is instructed to populate a
CONFIGobject inSKILL.mdwith question titles, details, and IDs, which may originate from untrusted external data. - Boundary markers: No specific boundary markers or instructions are provided to sanitize external content before interpolation.
- Capability inventory: The skill uses
browser_evaluateto inject JavaScript andbrowser_take_screenshotto display the UI to the user. - Sanitization: The
qa-form.jsengine uses a customesc()function that escapes several HTML characters but fails to escape single quotes ('). These quotes are used to delimit data inonclickevent handlers, enabling an attacker to break out of the string and execute arbitrary JavaScript in the Playwright browser. - [COMMAND_EXECUTION]: The skill reads the content of a local file,
qa-form.js, and executes it dynamically within a browser session using thebrowser_evaluatetool.
Audit Metadata