cohort-analysis
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The reporting asset
assets/retention_matrix.htmlcontains an XSS vulnerability due to unsafe data handling. - Ingestion points: The
cohortDataobject, specifically itslabelandperiodsattributes, is used to store data for visualization. - Boundary markers: The template does not utilize any delimiters or protection mechanisms to isolate user-supplied data from executable code.
- Capability inventory: The associated script uses the
innerHTMLproperty to dynamically build the table headers and cohort labels, which can execute arbitrary script content. - Sanitization: There is a complete lack of sanitization or character escaping for properties in the
cohortDataobject, allowing an attacker to inject script tags through malicious user IDs or cohort labels in the source data.
Audit Metadata