html-reports
Pass
Audited by Gen Agent Trust Hub on Jul 3, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill creates a surface for Indirect Prompt Injection by rendering untrusted external data directly into the agent's context and generated outputs without sufficient sanitization.
- Ingestion points: Untrusted data enters the agent context through several template variables defined in the
template.html.j2files of various archetypes, includingbody_html,lede,paragraphs, andhtml_content(e.g., infolio/template.html.j2andfield/template.html.j2). - Boundary markers: The templates do not utilize delimiters or specific instructions to the agent to disregard potential commands hidden within the provided data.
- Capability inventory: The skill uses the
|safefilter in multiple templates, disabling default HTML escaping (e.g.,{{ s.html_content | safe }}infolio/template.html.j2). Additionally, the Javascript logic incatalog/template.html.j2utilizesinnerHTMLto inject content from JSON payloads (e.g.,s.innerHTML = payload.body_html;), allowing for arbitrary script execution in the generated report. - Sanitization: No escaping, validation, or filtering of the external content is performed before it is rendered into the final HTML output.
Audit Metadata