web-animation-view-transitions
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill includes a pattern for modal expansion that ingests external data without proper sanitization.
- Ingestion points: The
openModalFromElementfunction inexamples/shared-elements.mdaccepts amodalContentstring as an argument. - Boundary markers: The content is interpolated directly into a template literal without delimiters or instructions to treat the data as untrusted.
- Capability inventory: The skill demonstrates the ability to perform DOM updates and append new elements to the
document.bodyvia theupdateFncallback. - Sanitization: No HTML escaping or sanitization logic is present in the example code before rendering the content.
- [DYNAMIC_EXECUTION]: A code example in the shared elements documentation utilizes dynamic HTML generation.
- Evidence: The function
openModalFromElementinexamples/shared-elements.mdusesmodal.innerHTMLto inject themodalContentvariable into a newdivelement. - Context: While presented as a pattern for UI transitions, this method creates a vulnerability surface where executable code could be injected if the
modalContentoriginates from an untrusted source.
Audit Metadata