email-smtp-send
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [DATA_EXFILTRATION]: The script
scripts/smtp_send.pyimplements a workflow that reads local files from the filesystem (via the--attachargument in theread_attachmentsfunction) and transmits them to external servers using SMTP (send_via_smtp) and IMAP (append_to_sent_mailbox). This combination of local file access and network transmission constitutes a capability for data exfiltration if misused. - [INDIRECT_PROMPT_INJECTION]: The skill exhibits a vulnerability surface for indirect prompt injection attacks because it ingests external data that influences its actions.
- Ingestion points: Data enters the skill through the
--to,--subject,--body, and--attachcommand-line arguments inscripts/smtp_send.py. - Boundary markers: There are no explicit boundary markers or instructions to the agent to treat the email content or attachment paths as untrusted data.
- Capability inventory: The skill possesses file-read capabilities (
path.read_bytes()) and network-send capabilities (SMTP and IMAP protocols) withinscripts/smtp_send.py. - Sanitization: The skill does not perform path validation or content filtering to prevent access to sensitive directories (e.g.,
.sshor.aws). - [EXTERNAL_DOWNLOADS]: The documentation in
SKILL.mdandreferences/env.mdinstructs the user to install theimapclientPython package from a public registry if they wish to use the IMAP sync feature. - [COMMAND_EXECUTION]: The workflow involves the agent executing the
scripts/smtp_send.pyscript with various flags, which allows the agent to interact with the host's network and filesystem.
Audit Metadata