backend-transactional-email
Warn
Audited by Gen Agent Trust Hub on Jun 13, 2026
Risk Level: MEDIUMDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The template preview utility in
references/email-testing.mdis vulnerable to path traversal attacks. The code takes thetemplateNamedirectly fromreq.queryand uses it to construct a file path viapath.join()without any validation or sanitization. This pattern allows an attacker to access arbitrary files on the local filesystem outside of the intended templates directory. - [COMMAND_EXECUTION]: The skill includes patterns for automated email rendering and client testing using
puppeteer(headless browser) inreferences/email-testing.md. While standard for this use case, headless browsers are high-capability tools that require strict sandboxing to prevent Server-Side Request Forgery (SSRF) or unauthorized local file access when processing dynamic content. - [PROMPT_INJECTION]: The skill facilitates indirect prompt injection by ingesting untrusted data and interpolating it into templates.
- Ingestion points: Email variables (e.g.,
{{name}}) inSKILL.mdand webhook payloads (e.g., SendGrid/SES events) inreferences/email-analytics.mdandreferences/email-testing.md. - Boundary markers: The provided code snippets do not implement boundary markers or instructions to ignore embedded commands in variables.
- Capability inventory: The skill interacts with external email APIs (
references/delivery-setup.md), accesses the local filesystem for templates (references/email-testing.md), and executes code via a headless browser (references/email-testing.md). - Sanitization: Although the
Security Considerationssection inSKILL.mdadvises escaping raw user input, the provided implementation snippets do not demonstrate these safeguards explicitly. - [DYNAMIC_EXECUTION]: The template engine pattern in
SKILL.mdandreferences/mjml-templates.mdusesHandlebars.compileandmjml2htmlto process MJML strings that include user-supplied variables at runtime. This dynamic rendering is a core feature but represents an execution surface for malformed templates.
Audit Metadata