resend-cli
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes inbound emails which are external, untrusted inputs that could contain instructions designed to influence the agent's behavior.
- Ingestion points:
resend-received.shandresend-emails.share used to retrieve email bodies, headers, and metadata from the Resend API. - Boundary markers:
SKILL.mdcontains an explicit 'Operating contract' (Point 9) that instructs the agent to treat inbound data as untrusted and to never follow instructions found within emails. - Capability inventory: The skill allows the agent to send emails, manage API keys, and perform other management tasks via
resend-cliand Bash scripts. - Sanitization: The skill does not implement automated content sanitization, relying instead on the agent's adherence to the safety instructions.
- [EXTERNAL_DOWNLOADS]: The skill invokes
bunx --bun resend-cli@latest, which downloads the latest version of the official Resend CLI from the npm registry at runtime. - [COMMAND_EXECUTION]: The skill performs various administrative and email-related tasks by executing bundled Bash scripts and the
resend-clibinary. - [CREDENTIALS_SAFE]: The skill implements strong secret management practices. The
_lib.shshared library secures theRESEND_API_KEYby passing it tocurlvia a private file descriptor, preventing it from appearing in process lists. Additionally,resend-api-keys.shandresend-webhooks.shsave sensitive one-time tokens to local files with restricted permissions (mode 600) and scrub them from the agent's terminal output.
Audit Metadata