Skills/ClawHub/imap-smtp-email-maddy-fix

imap-smtp-email-maddy-fix@0.0.15

CAUTION· install only

Publisher claims: "Read and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Supports multiple accounts. Works with any IMAP/SMTP server including Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, and vip.188.com." Observed in sandbox: reads credential files.

Registry ClawHubPublisher troioi-vn · publishing for 0 daysInstalls 808Last detonated 44 min ago

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
install scripts, with decoy credentials in place · second launch with the clock 45 days ahead · 3 of 3 bundled scripts run with no arguments, with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (3 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-21 and scored it 78/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: reads credential files.

Behavior trace

Honeypot run · 5 s · 3 scenarios
t+CategoryObserved action
0.0sprocessinstall script run in the sandbox
3.5sfilesystemread ~/.npmrc
3.5sfilesystemread ~/.npm/_logs · ~/.npm/_cacache/index-v5/dc/f5/c0bfb27060f61ca8e70fcb2eb1561295e496fd711ffa5e01fdd576dfd55f · ~/.npm/_cacache/index-v5/1b/f1/7478212e2e62da59c7321867313bf5c80515aa0d47cee396cca5bb9c9cf9 · ~/.npm/_cacache/index-v5/9d/32/cf02101340ba77330e41f0ac40f56422a3e598f546b1fdc17d241b2ad93f · ~/.npm/_cacache/index-v5/f7/76/0b34f852dd81a70f638cf4499c84015d67052dc937bfd18b23566f1eac6b · ~/.npm/_cacache/index-v5/23/b8/c6285d55772ecc212e69007d1374120c7167f5d7e3bf62967e9f7903b426 outside project
3.5sfilesystemwrote ~/.npm/_cacache/tmp/7ca931d1 · ~/.npm/_cacache/index-v5/dc/f5/c0bfb27060f61ca8e70fcb2eb1561295e496fd711ffa5e01fdd576dfd55f · ~/.npm/_cacache/tmp/1a19c0b1 · ~/.npm/_cacache/index-v5/1b/f1/7478212e2e62da59c7321867313bf5c80515aa0d47cee396cca5bb9c9cf9 · ~/.npm/_cacache/tmp/7137882f · ~/.npm/_cacache/index-v5/9d/32/cf02101340ba77330e41f0ac40f56422a3e598f546b1fdc17d241b2ad93f
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5snetworkCONNECT tcp://registry.npmjs.org:443
3.5sprocessexec /usr/bin/dirname
3.5sprocessexec /usr/local/bin/npm
3.5sprocessexited 1: npm warn config production Use `--omit=dev` instead.
3.5sprocessbundled script run in the sandbox with no arguments · not named in the instructions
3.6sprocessexited 1: Node.js v22.23.5
3.6sprocessbundled script run in the sandbox with no arguments
3.7sprocessexited 1: Node.js v22.23.5
3.7sprocessbundled script run in the sandbox with no arguments
3.7sprocessexited 1: Node.js v22.23.5
3.7sprocess3 of 3 bundled scripts run with no arguments
3.7sprocessscript backend runs setup only
3.7sprocessscript backend runs setup only
4.9sprocesssecond launch, clock +45 days, CI unset
5.0sprocessexec /usr/bin/dirname
5.0sprocessexited 1:

Static findings

HIGH
Access to sensitive file pathsSKILL.md:83 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesOr manually add prefixed variables to `~/.config/imap-smtp-email/.env`:Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsSKILL.md:39 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files…install --production ``` Configuration is stored at `~/.config/imap-smtp-email/.env` (survives skill updates). If no config is found there, the skill falls back to…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsSKILL.md:118 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files- The prefix in `.env` is always uppercase (e.g., `WORK_IMAP_HOST`)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsSKILL.md:44 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesstoring the secret itself in `.env`.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/imap.js:18 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesthrow new Error('ALLOWED_WRITE_DIRS not set in .env. Attachment download is disabled.');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandsetup.sh:291 · File permission modification command — agent changes file ownership/permissionschmod 600 "$CONFIG_FILE"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Access to sensitive file pathsscripts/config.js:11 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst FALLBACK_ENV_PATH = path.resolve(__dirname, '../.env');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/config.js:10 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst PRIMARY_ENV_PATH = path.join(os.homedir(), '.config', 'imap-smtp-email', '.env');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/smtp.js:24 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesthrow new Error('ALLOWED_READ_DIRS not set in .env. File read operations are disabled.');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/config.js:13 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// Find the .env file: primary location first, then fallbackFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/smtp.js:67 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesthrow new Error('Missing SMTP configuration. Check your config at ~/.config/imap-smtp-email/.env');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/imap.js:95 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesthrow new Error('Missing IMAP user or password. Check your config at ~/.config/imap-smtp-email/.env');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathssetup.sh:6 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesCONFIG_FILE="$CONFIG_DIR/.env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/config.js:111 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// List all configured accounts from .env fileFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/config.js:40 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconsole.error(`Error: Account "${prefix.toLowerCase()}" not found in config. Check ~/.config/imap-smtp-email/.env`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05

Cost to the agent

Instructions loaded
≈2,366 tok
1 file · 7 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

What would make this Verified

2 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Reads credential files≈ +27 on the totalThe sandbox saw reads under ~/.ssh, ~/.aws, ~/.npmrc, ~/.config or similar. Read only files inside the project, and only the ones the task needs. Seen: ~/.npmrc.
  2. Unclaimed publisher≈ +8 on the totalClaim troioi-vn: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  3. Touches files outside the project≈ +7 on the totalKeep reads and writes inside the working directory, or declare the exact paths in `filesystem:` and explain why in the README.
  4. Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  5. File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
Publish a new version to ClawHub, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim troioi-vnPropose a patch to the maintainer