npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

can-i-be-phished

v0.1.0

Published

Can a scammer send email that looks like it came from your hospital, school, or charity? Checks any domain's DMARC/SPF and tells you if it can be spoofed — plus a leaderboard of trusted institutions that don't block impersonation. Public DNS, no API key,

Downloads

168

Readme

can-i-be-phished 🎣

Can a scammer send email that looks like it came from your hospital, school, or charity? Paste any organization's domain and find out instantly. It checks whether the domain enforces DMARC — the setting that stops anyone from forging its address — and tells you, plainly, if it can be spoofed. No API key, runs in your browser, nothing about you is sent anywhere.

🌐 Check any domain + the wall of spoofable trusted institutions →

npx can-i-be-phished stjude.org
npx can-i-be-phished list --list charity
  wish.org · Make-A-Wish
  Spoofable 🎣 (25/100)

    • DMARC p=none — monitoring only; forged mail is still delivered to inboxes.
    • SPF ends in ~all (softfail) — permissive on its own.

  DMARC: v=DMARC1; p=none; rua=mailto:[email protected]; …

Why

Email is trivially forgeable by default — the only thing that stops a scammer from putting From: your-children's-hospital.org on a phishing email is a DNS record called DMARC set to p=reject. Most organizations never finish setting it up. The result: a snapshot of trusted institutions found that 27 of 48 — including Make-A-Wish, the Salvation Army, Doctors Without Borders (no DMARC at all), MIT, Penn State, and a children's hospital — don't fully block someone impersonating them. This tool lets anyone check the institutions they trust, and keeps a running wall of the ones that haven't fixed it.

How it works

DNS-over-HTTPS (Cloudflare / Google, keyless, CORS)  ─→  _dmarc.<domain> TXT → policy
                                                     ─→  <domain> TXT       → SPF
                                                              ↓
                                  p=reject → protected · p=none / missing → spoofable
  • Runs anywhere — DoH is CORS-open and never rate-blocks, so the exact same check runs in the CLI, in CI, and live in your browser (no backend, no key).
  • Defensible — it reports a domain's published DNS policy. "Spoofable" means a forged From: can reach inboxes; it is not a claim the org was hacked or that mail is being forged today. It's a fixable config.
  • The live site is static: a daily GitHub Action re-checks the watchlist and commits a fresh leaderboard. No server.

Install & usage

npm i -g can-i-be-phished     # then:  can-i-be-phished stjude.org
# or zero-install:
npx can-i-be-phished irs.gov
can-i-be-phished harvard.edu             # check one domain
can-i-be-phished list                    # check the whole trusted-institution watchlist
can-i-be-phished list --list childrens-hospital   # one category
can-i-be-phished stjude.org --json       # machine-readable

phishcheck is a shorter alias. Categories: childrens-hospital, charity, university, school-district, government.

What the verdict means

| Verdict | DMARC policy | A forged email from this domain… | | --- | --- | --- | | Protected 🛡️ | p=reject | is rejected before the inbox | | Partly protected ⚠️ | p=quarantine (or pct<100) | lands in spam, or some slips through | | Spoofable 🎣 | p=none or no DMARC | is delivered to the inbox |

Library

import { analyzeDomain } from "can-i-be-phished";

const r = await analyzeDomain("salvationarmyusa.org");
r.verdict.band;     // "spoofable"
r.dmarc.policy;     // "none"
r.verdict.reasons;  // plain-English why

Honesty & responsibility

Everything here comes from a domain's public DNS — the same records every mail server reads. The tool reports a configuration fact ("this domain's DMARC policy is p=none, so a forged From can reach inboxes"), never an accusation that an organization was breached or is being impersonated right now. It deliberately does not explain how to spoof anyone — only whether a domain is protected, and that the fix is to publish p=reject. It targets organizations, not people.

Contributing

Add an institution to the watchlist, or a check (DKIM, MTA-STS, BIMI). See CONTRIBUTING.md.

License

MIT © didrod205


It's a public DNS record and a one-line fix. This just shows who hasn't shipped it. Judge for yourself.