imap-email
Pass
Audited by Gen Agent Trust Hub on Jul 13, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill processes untrusted external data by fetching email subjects and body content. While the skill itself is a passive reader, the ingested content poses a risk of indirect prompt injection if a downstream agent processes or summarizes the emails without sufficient boundary markers or sanitization.
- Ingestion points: The
scripts/imap.jsfile fetches email content from an external IMAP server viaconnection.searchandsimpleParser. - Boundary markers: Absent. The script outputs raw JSON data containing email snippets and bodies.
- Capability inventory: The skill is capable of reading, searching, and marking emails as read/unread.
- Sanitization: None. The script does not filter or escape content from the email body or subject.
- [SAFE]: The skill manages sensitive IMAP credentials using a
.envfile, which is a standard and recommended practice for local CLI tools to avoid hardcoding secrets. Thesetup.shscript correctly usesread -sto prevent the password from being echoed to the terminal during entry. - [SAFE]: The dependencies listed in
package.json(imap-simple,mailparser,dotenv) are well-known, widely used, and appropriate for the skill's stated purpose.
Audit Metadata