Scan your whole stack
Are you using mailhuset?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.4.0
mailhuset was last scanned on 29 Nov 2026 at version 0.4.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.4.0 LATEST | 29 Nov 2026 | No rules fired |
| 0.3.0 | 2 Nov 2026 | No rules fired |
| 0.2.0 | 25 Aug 2026 | No rules fired |
| 0.1.0 | 14 Aug 2026 | Not shown |
Findings for v0.4.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.4.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Official Node client and command-line tool for the Mailhuset email API.
npm install mailhuset
import { Mailhuset } from "mailhuset";
const mh = new Mailhuset(process.env.MAILHUSET_API_KEY);
await mh.emails.send({
from: "you@yourdomain.com",
to: "user@example.com",
subject: "Verify your email",
html: "<p>Welcome 👋</p>",
});
send returns { id, status }. You can also:
const message = await mh.emails.get(id);
const { items } = await mh.emails.list({ limit: 20 });
Turn on open and click tracking for one message with
tracking: { opens: true, clicks: true }. Broadcasts track opens and clicks by default; transactional mail is not tracked
unless you ask. Opens are a rough guide (Apple Mail preloads images), and click
tracking rewrites links, so leave it off for password resets and one-time links.
Inspect a draft before sending it (spam signals, links, images, accessibility), check addresses, and report events that start automations:
const { score, rating, findings } = await mh.content.check({ subject, html, text });
const { verdict, suggestion } = await mh.addresses.validate("kari@gmial.com");
await mh.events.send({ name: "user.signed_up", email: "kari@example.no" });
Any non-2xx response throws a MailhusetError with .status and .code.
Requires Node 18 or newer (for the global fetch). Point it at another host with
new Mailhuset(key, { baseUrl: "https://api.mailhuset.com/v1" }).
The package includes a mailhuset command, for scripts, CI and coding agents.
npx mailhuset login # paste a key once; or set MAILHUSET_API_KEY
npx mailhuset check --subject "Welcome" --html-file welcome.html --text-file welcome.txt
npx mailhuset send --from "Acme <hi@acme.no>" --to kari@example.no --subject "Welcome" --html-file welcome.html --check
npx mailhuset messages list --status bounced
npx mailhuset messages get <id>
npx mailhuset domains get acme.no
npx mailhuset validate kari@gmial.com
npx mailhuset event user.signed_up --email kari@example.no --data '{"plan":"pro"}'
--json prints the raw API answer. send --check runs the pre-send check
first and stops when it finds the draft poor. Exit codes: 0 done, 1 the API
refused (or the check found the draft poor), 2 wrong usage. mailhuset --help
lists everything.
login saves the key in your user profile (~/.config/mailhuset/config.json,
or %APPDATA%\mailhuset\config.json on Windows). In CI, use the
MAILHUSET_API_KEY variable instead, ideally with a send-only or test key.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.