master-playbook
Pass
Audited by Gen Agent Trust Hub on Oct 30, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill is designed to generate HTML, CSS, and JavaScript code at runtime for execution via the
generateSandboxedUitool. - Evidence: Instructions for the
tool contractrequire the agent to emithtml,jsFunctions, andjsExpressionsparameters to build interactive interfaces. - Mitigation: The skill explicitly describes a sandbox environment with no same-origin access (no cookies, localStorage, or parent DOM access) and instructs the use of
textContentfor untrusted data to prevent script injection. - [INDIRECT_PROMPT_INJECTION]: The skill processes data from external sources and user inputs, creating a surface for indirect prompt injection where malicious instructions could be embedded in the processed data.
- Ingestion points: The
query_datatool (readingdb.csv) and direct user queries are used to populate the UI. - Boundary markers: The skill instructs the agent to clearly label user data, retrieved sources, and calculated results.
- Capability inventory: The skill can execute generated code via
generateSandboxedUi, send messages back to the agent viaWebsandbox.connection.remote.sendPrompt, and open external links viaWebsandbox.connection.remote.openLink. - Sanitization: Instructions include mandatory input validation (e.g.,
valueAsNumber,Number.isFinite), rejection of invalid inputs, and a requirement to usetextContentinstead of HTML interpolation for untrusted content.
Audit Metadata