Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By kattakathv1.2.1MITIn 1 marketplace
Send plain-text email over authenticated SMTP (STARTTLS) through a local SOCKS5 proxy, so the sending machine's own IP never reaches the Received: headers — an egress check that refuses unless the proxied exit differs from the direct v4 /24 and v6 /48, a send script that runs it first and logs every send without the body, a header check that proves the result on a delivered probe, a doctor, and a PreToolUse guard that asks a human before every send and before any raw SMTP bypass, plus read-only IMAP through the same proxy via himalaya (never marks mail \Seen). Renamed from smtp-egress in 1.2.0.
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Send plain-text email over authenticated SMTP (STARTTLS) through a local SOCKS5 proxy,
so the sending machine's own IP never appears in the Received: headers — with a human
approving every send in Claude Code's permission prompt.
A hand-run msmtp --proxy-host gets the transport right and proves nothing. This plugin
checks the exit before every send, gates every send on a person, and checks the result on
a delivered message.
/plugin install mail-cloak@kattakath
| Component | What it does |
|---|---|
skills/mail-cloak | The procedure, the config, and the measured edge cases |
scripts/egress-check.sh | Direct v4/v6 vs proxied exit; refuses on the same IP, the same IPv4 /24 or the same IPv6 /48; one JSON line |
scripts/new-eml.sh | Writes a send-ready .eml (CRLF, UTC Date, Message-ID, MIME, RFC 2047 Subject) to the outbox; --in-reply-to / --references thread a reply |
scripts/send.sh | egress-check → header and From checks → optional allowlist → msmtp with the proxy flags explicit → requires smtpstatus=250 → sent.jsonl with every To/Cc/Bcc recipient and no body. --dry-run skips msmtp. A non-250 is reported, never retried |
scripts/inbox.sh | Read-only IMAP through the same proxy via himalaya: list, search, read (never marks \Seen), folders. egress-check first; a per-run mode-600 config whose proxy is always socks5h://, removed on exit |
scripts/header-check.sh | Sends a probe to an external mailbox, reads it back with himalaya through the proxy if configured, and asserts no hop in the direct ranges, no Sender:, dmarc=pass, dkim=pass. --headers <file> asserts saved headers. A PASS on a probe is recorded per account + SOCKS endpoint |
scripts/doctor.sh | Rows tagged send / read / both: msmtp, wireproxy and himalaya versions, config mode 600, msmtprc and account (send-as WARN), IMAP reading and probe read-back config (half-set and 1.0.x-key WARNs), egress verdict, then SOCKS port, recorded probe PASS, and a sweep of temp configs older than 1 h. Summary: send-ready / read-ready. Exit 0 = send-ready; --read: exit 0 = read-ready |
hooks/ PreToolUse guard | Asks before every send.sh (every recipient, Subject, sha256[:12] in the prompt) and before any raw SMTP bypass |
| Asks before | Why |
|---|---|
send.sh without --dry-run, under any path or $VAR | A human approves every email that leaves |
header-check.sh, except --headers <file> or --dry-run | It sends a real probe |
msmtp run directly, sendmail, swaks, mail/mailx/mutt with a recipient | They skip the egress check |
curl smtp:// / smtps://, python smtplib.SMTP( / SMTP_SSL( | Same |
openssl s_client, nc, socat, telnet to :25 / :465 / :587 | Same |
himalaya deleting, moving, copying, flagging, appending, expunging, read --seen, or sending (message send/compose/reply/forward, smtp) | It changes the mailbox, or sends outside the msmtp gate |
curl imap(s):// / pop3(s):// (any: its FETCH is unproxied and uses BODY[]), curl -K; python that uses IMAP at all | Same, and the read is unproxied |
himalaya with an explicit config (-c, --config, HIMALAYA_CONFIG) | It may connect without the proxy: inbox.sh is the sanctioned read |
any plugin script with an MAIL_CLOAK_* assignment in the same call | It can swap the config or switch off a safety check |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub kattakath/skills --plugin mail-cloakPlugins from other owners that cover similar ground