printing-templates
Pass
Audited by Gen Agent Trust Hub on Aug 6, 2026
Risk Level: SAFEDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The skill facilitates data extraction through the use of
frappe.get_all, which is explicitly documented to bypass the Frappe framework's permission system. - Evidence: The instruction in
SKILL.mdstates: "List query (ignores permissions) ... frappe.get_all('Sales Order', ...)" andreferences/jinja.mdreinforces this: "get_all: ignores permissions". - Risk: This capability allows the agent to access and potentially exfiltrate data from any document type in the database, regardless of the active session's restrictions.
- [PROMPT_INJECTION]: The skill exposes a surface for indirect prompt injection by rendering untrusted data from document fields directly into templates.
- Ingestion points: Document fields such as
doc.customer,doc.items, anddoc.termswithinSKILL.md. - Capability inventory: Access to
frappe.sendmailfor automated communication andfrappe.get_allfor broad data access across the system. - Sanitization: Although the skill advises escaping user content in its guardrails section, it also demonstrates the
|safefilter in bothSKILL.mdandreferences/jinja.md, which explicitly disables the framework's built-in XSS and injection protections. - Boundary markers: Delimiters are not used to separate untrusted data from the instructions, allowing for potential manipulation of the template logic via content stored in the database.
Audit Metadata