agentmail

Pass

Audited by Gen Agent Trust Hub on Nov 30, 2026

Risk Level: SAFECREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPERSISTENCE
Full Analysis
  • [CREDENTIALS_UNSAFE]: The skill stores the AgentMail API key in plaintext in the file ~/.agentmail/config.json. While it sets restricted file permissions (chmod 600), the secret is stored without encryption on the host file system.
  • [EXTERNAL_DOWNLOADS]: The skill downloads and installs the agentmail Python SDK from the standard package registry during setup.
  • [COMMAND_EXECUTION]: The skill runs local Python scripts and shell commands to manage configuration, send emails, and check the inbox.
  • [PERSISTENCE]: The instructions suggest using a cron-like scheduler (openclaw cron) to periodically poll the inbox for new messages.
  • [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it retrieves and processes untrusted data from external emails.
  • Ingestion points: Email subjects, snippets, and full message bodies are fetched via the SDK in scripts/check_inbox.py and usage examples in SKILL.md.
  • Boundary markers: No explicit delimiters or instructions are used to distinguish email content from agent instructions in the provided scripts.
  • Capability inventory: The agent can send emails (scripts/send_email.py), execute arbitrary shell commands (as seen in the setup steps), and read local files.
  • Sanitization: No sanitization or filtering is performed on the incoming email content before it is displayed to the agent.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 30, 2026, 03:46 PM