report-distribution

Pass

Audited by Gen Agent Trust Hub on Jun 14, 2026

Risk Level: SAFEPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [PROMPT_INJECTION]: Detected an indirect prompt injection surface in the report generation and distribution workflow.
  • Ingestion points: The skill reads recipient details (e.g., name, email) from Supabase tables and fetches analytics data for client reports.
  • Boundary markers: There are no explicit delimiters or instructions to the agent to ignore embedded commands within the ingested data during the formatting process.
  • Capability inventory: The skill has access to database records via the Supabase Service Role key and can perform network operations via the Resend API to send emails.
  • Sanitization: The formatDailyReportHtml function uses template literals to interpolate variables like recipient.name directly into an HTML template. This lack of sanitization could allow malicious content in the source data to perform HTML injection or influence the final email output sent to clients.
  • [EXTERNAL_DOWNLOADS]: The skill utilizes the @supabase/supabase-js and resend libraries to interact with database and email services. These are well-known services used for their intended purposes within the distribution workflow.
Audit Metadata
Risk Level
SAFE
Analyzed
Jun 14, 2026, 09:52 PM