email-skill

Warn

Audited by Gen Agent Trust Hub on Apr 25, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
  • [COMMAND_EXECUTION]: The Windows command scripts (send_email.cmd, check_bind.cmd, send_code.cmd, and verify_bind.cmd) are vulnerable to command injection. These scripts expand environment variables (e.g., %EMAIL%, %SUBJECT%, %BODY%) directly within shell commands executed via node -e. A malicious payload or an email with specific characters (such as quotes and shell metacharacters like & or |) could trigger arbitrary command execution on the host system.
  • [PROMPT_INJECTION]: The skill possesses an indirect prompt injection surface through its email retrieval capabilities (inbox-fetch and inbox-search).
  • Ingestion points: External data enters the agent context via the inbox-fetch and inbox-search commands in scripts/unix/email_gateway.sh and scripts/windows/email_gateway.cmd.
  • Boundary markers: The scripts do not implement delimiters or explicit instructions to ignore embedded commands in the retrieved email content.
  • Capability inventory: The skill has significant capabilities, including network operations (sending emails via SMTP/API) and file system writes (downloading attachments via inbox-download).
  • Sanitization: There is no evidence of content validation or escaping of the retrieved email data before it is processed by the agent.
  • [DATA_EXFILTRATION]: The skill performs network operations to jprx.m.qq.com (a well-known service domain belonging to Tencent) via a local proxy to facilitate platform-based email delivery. While these requests are legitimate for the skill's stated purpose, they involve sending user-provided content to an external API.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Apr 25, 2026, 03:08 AM