spoofscore
Can someone send email pretending to be your company?
spoofscore reads a domain's public SPF and DMARC records and answers that question in plain language, with the exact record to publish to fix each problem.
$ spoofscore example.com
example.com: PROTECTED
Unlikely: receivers are told to reject or quarantine forged mail.
DMARC: v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s
SPF: v=spf1 -all
[low] DMARC_NO_REPORTS: No aggregate report address (rua), so nobody sees who sends mail as this domain.
fix: Add rua=mailto:<reports address>.
It comes in two forms that share one rule set:
- A static web page (
web/) that anyone can use, live at https://xeroxzen.github.io/spoofscore/. The browser queries public DNS through Cloudflare's DNS-over-HTTPS, so there's no server to run. - A Python CLI and library for scripts, batch checks and CI.
Install
uv tool install spoofscore
Or run it once without installing: uvx spoofscore example.com. Requires Python 3.10 or later.
Documentation
- Get started: check a domain from the web page, the CLI or Python.
- Concepts
- How email spoofing is stopped: SPF, DMARC and alignment in one page.
- How-to guides
- Reference
- Checks: every finding, why it matters and how to fix it.
- CLI
- Python API
- Troubleshooting
- Changelog
Verdicts
| Verdict | Meaning |
|---|---|
exposed |
No effective DMARC enforcement, or SPF that passes everyone. Forged mail is likely to be delivered. |
partial |
Enforcement exists but has gaps. Some forged mail is delivered. |
protected |
p=reject or p=quarantine applies to all mail. |
What it doesn't check
DKIM (selectors can't be listed from DNS), nested SPF include: lookups, lookalike domains, and mailbox security. A protected verdict means the domain's published policy is sound. It doesn't mean every mail system honours it.
Contributing and security
See CONTRIBUTING.md and SECURITY.md.
License
Metadata
Release files for spoofscore 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spoofscore-0.1.0.tar.gz | 62.9 kB | Without provenance | Details for spoofscore-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spoofscore-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for spoofscore-0.1.0-py3-none-any.whl |
Total release size: 71.8 kB
Release files / spoofscore-0.1.0.tar.gz
| Download URL | spoofscore-0.1.0.tar.gz |
|---|---|
| Size | 62.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dad51309b442d3f686437b163e7e0abe2a7f600076eff4a985ee8ef6fb0f169e
|
|
BLAKE2b-256 checksum How to use checksums |
736f823751f2e9bd903f881a9e03ac0148c3a4bae306ec32fb6063ded4a37c5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / spoofscore-0.1.0-py3-none-any.whl
| Download URL | spoofscore-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e02c0414c7e9e44e3f056ac266b6f0d0c443ce4de624ed49425200bd441418e9
|
|
BLAKE2b-256 checksum How to use checksums |
674b2e4a42a9509c636ab0b2df7d70581347f04689ac0eabaf4058e70c120fae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for spoofscore 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.