imap-smtp-email
Warn
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONMETADATA_POISONING
Full Analysis
- [METADATA_POISONING]: The
package.jsonfile identifies 'NetEase' as the author, which contradicts the registered skill author 'alter123-zz'. This discrepancy in metadata is misleading regarding the tool's official origin and provenance. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from external email servers, providing a surface for indirect injection attacks. • Ingestion points:
scripts/imap.jsfetches email subjects and bodies from remote IMAP servers. • Boundary markers: The skill does not implement delimiters or specific instructions to the agent to ignore commands embedded in the fetched email content. • Capability inventory: The skill allows for sending emails (scripts/smtp.js), reading local files (scripts/smtp.js), and writing to the local disk (scripts/imap.js). • Sanitization: Filenames for attachments are sanitized usingpath.basenameand path segment removal, but the primary email content is passed to the agent context without sanitization. - [COMMAND_EXECUTION]: The tool relies on the execution of Node.js scripts to perform email retrieval, sending, and configuration tasks.
- [DATA_EXFILTRATION]: The skill establishes network connections to external IMAP and SMTP servers to transmit data. These operations target well-known email providers such as Gmail, Outlook, and NetEase services.
Audit Metadata