- Home
- Skills
- APIs & Backend
- Domain Security Check: SPF, DMARC, SSL, Subdomains
Domain Security Check: SPF, DMARC, SSL, Subdomains
The checks are ported from three tested data tools (DNS lookup, SSL checker, subdomain takeover auditor) that already run in production, plus a new SPF/DMARC analyser.
$5.99
What it does
- Grades each domain A to F from its worst finding
- Checks SPF and DMARC and gives the exact record to add
- Checks SSL certificates for expiry, issuer and name match
- Finds dangling subdomains that anyone could claim (passive)
- Lists plainly what it did not check
- Returns JSON your agent can reason over
Who it's for
Business owners launching a new website
Ensure your site is safe and your emails don't end up in spam before you go live.
Try asking: “Check the security of my new site at example.com before we launch tomorrow.”
Freelance web designers and developers
Run a quick audit to hand over a professional, secure site to your clients.
Try asking: “Do a security check on my client's domain to see if their email records are set up correctly.”
IT managers and shop owners
Keep an eye on when your website security certificates expire so your shop never goes down.
Try asking: “Check my domain and tell me when the SSL certificate expires.”
Domain Security Check: SPF, DMARC, SSL, Subdomains
Example session with this skill installed
Check github.com, expired.badssl.com and neverssl.com: are they secure, and what should be fixed first?
- Read your context and instructions
- Compiled the domain security check
Sample output (real runs, 2026-12-02)
A well-run domain, full check (github.com)
$ node scripts/check.mjs github.com --max-subdomains 150
────────────────────────────────────────────────────────────────────────
github.com overall grade: A
────────────────────────────────────────────────────────────────────────
DNS: 1 A, 0 AAAA, 1 MX, 8 NS, CAA set
Email spoofing protection
🟡 SPF ~all — Soft fail: mail from unlisted servers is marked, not rejected. Move to -all once all senders are listed.
🟡 DMARC p=quarantine — Enforced: spoofed mail goes to spam. Move to p=reject when reports look clean.
TLS certificates
✅ github.com: grade B, 56 days left, issuer Sectigo Limited
✅ www.github.com: grade B, 56 days left, issuer Sectigo Limited
Subdomain takeover (118 subdomains from certificate logs)
✅ none dangling
Not checked: Open ports and services (this check never scans); Web application flaws (XSS, SQL injection, auth); DNSSEC validation.
Domains with problems (an expired certificate, no spoofing protection)
$ node scripts/check.mjs expired.badssl.com neverssl.com --no-takeover
────────────────────────────────────────────────────────────────────────
expired.badssl.com overall grade: F
────────────────────────────────────────────────────────────────────────
DNS: 1 A, 0 AAAA, 0 MX, 0 NS, no CAA record (any CA may issue certificates)
Email spoofing protection (no MX: domain does not receive mail)
🔴 SPF missing — No SPF record: any server can claim to send mail for this domain.
🔴 DMARC missing — No DMARC record: spoofed mail from this domain is not blocked and you get no reports of it.
Fix for a domain that sends no mail: TXT "v=spf1 -all" at expired.badssl.com, and TXT "v=DMARC1; p=reject" at _dmarc.expired.badssl.com.
TLS certificates
🔴 expired.badssl.com: CERT_HAS_EXPIRED
🔴 www.expired.badssl.com: CERT_HAS_EXPIRED
Not checked: Open ports and services (this check never scans); Web application flaws (XSS, SQL injection, auth); DNSSEC validation; Subdomain takeover (skipped).
────────────────────────────────────────────────────────────────────────
neverssl.com overall grade: C
────────────────────────────────────────────────────────────────────────
DNS: 1 A, 1 AAAA, 0 MX, 4 NS, no CAA record (any CA may issue certificates)
Email spoofing protection (no MX: domain does not receive mail)
🔴 SPF missing — No SPF record: any server can claim to send mail for this domain.
🔴 DMARC missing — No DMARC record: spoofed mail from this domain is not blocked and you get no reports of it.
Fix for a domain that sends no mail: TXT "v=spf1 -all" at neverssl.com, and TXT "v=DMARC1; p=reject" at _dmarc.neverssl.com.
TLS certificates
✅ neverssl.com: grade A, 174 days left, issuer Amazon
✅ www.neverssl.com: grade A, 174 days left, issuer Amazon
Not checked: Open ports and services (this check never scans); Web application flaws (XSS, SQL injection, auth); DNSSEC validation; Subdomain takeover (skipped).
JSON for agents (excerpt of one domain)
{
"domain": "neverssl.com",
"grade": "C",
"email": {
"receivesMail": false,
"spf": {
"present": false,
"record": null,
"policy": null,
"risk": "high",
"note": "No SPF record: any server can claim to send mail for this domain."
},
"dmarc": {
"present": false,
"record": null,
"policy": null,
"risk": "high",
"note": "No DMARC record: spoofed mail from this domain is not blocked and you get no reports of it."
}
},
"notChecked": [
"Open ports and services (this check never scans)",
"Web application flaws (XSS, SQL injection, auth)",
"DNSSEC validation",
"Subdomain takeover (skipped)"
]
}
Connects securely to your tools. The creator never sees your data.
About this skill
One command, one grade per domain: DNS, email spoofing protection (SPF/DMARC), TLS certificates and passive subdomain-takeover detection. Works as an agent skill in Claude Code, Codex, Cursor and any agent that reads SKILL.md, and on its own from the command line.
The checks are ported from three tested data tools (DNS lookup, SSL checker, subdomain takeover auditor) that
already run in production, plus a new SPF/DMARC analyser. 91 test checks (npm test).
What's inside
| File | Purpose |
|---|---|
SKILL.md | when the agent should use it, how to read the report |
scripts/check.mjs | the command |
scripts/lib/*.js | DNS, TLS, takeover and SPF/DMARC logic (pure, tested) |
tests/ | the tests |
examples/sample-output.md | real runs on github.com, an expired certificate and a domain without SPF/DMARC |
Requirements
Node 18 or newer. No dependencies, no accounts, no API keys. Network: dns.google and cloudflare-dns.com (DNS), crt.sh (certificate logs), raw.githubusercontent.com (fingerprint list), and the domains you check.
Honest limits
Passive checks only: no port scan, no web-app testing, no DNSSEC validation. A takeover "suspicious" result needs a human look. A good grade means the public setup is sound, not that the domain is secure.
Does not check for open ports, app code flaws, or DNSSEC. A good grade does not mean your site is 100% unhackable.
Node 18+ script, no npm dependencies. DNS over HTTPS (Google, Cloudflare), one TLS handshake per host, certificate transparency logs (crt.sh) and the public can-i-take-over-xyz fingerprint list. 91 test checks included.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Node.js 18+
Permissions
What's inside
Frequently Asked Questions
New in APIs & Backend
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.