email-template-builder

Pass

Audited by Gen Agent Trust Hub on Oct 27, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to interpolate external data into HTML templates, which constitutes a standard attack surface for indirect prompt injection.
  • Ingestion points: Data is received via template props (e.g., WelcomeProps in emails/templates/welcome.tsx and InvoiceProps in emails/templates/invoice.tsx).
  • Boundary markers: No explicit delimiters or instructions are used to separate untrusted content from the template structure.
  • Capability inventory: The skill includes network-capable functions for sending emails via various providers (emails/lib/send.ts).
  • Sanitization: Content rendering is handled by the react-email library, which provides default protection through JSX escaping.
  • [DYNAMIC_EXECUTION]: In emails/lib/send.ts, the skill dynamically loads provider modules using require() based on environment variables. This is a common pattern for plugin architectures and is implemented safely via a switch statement that restricts loading to a whitelist of local files.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 27, 2026, 11:10 PM