# Domain Security Check: SPF, DMARC, SSL, Subdomains

> Grade any domain A to F in one command: DNS, email spoofing protection (SPF and DMARC, with the exact record to add), SSL certificate expiry and name match, and passive subdomain-takeover detection from certificate logs. Read-only, no API keys.

Domain Security Check: SPF, DMARC, SSL, Subdomains is a paid AI agent skill on Agensi by Ala Ud Din Burki, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5.99 (one-time purchase)
- Creator: [Ala Ud Din Burki](https://www.agensi.io/creators/alaudin-burki)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0.0
- Last updated: 2026-12-04
- Security: scan passed (2026-12-02); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/domain-security-check-spf-dmarc-ssl-subdomains
- Tags: api, security, dns, ssl, email-security

## 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: "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: "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: "Check my domain and tell me when the SSL certificate expires."

## 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.

## Requires

- Node.js 18+

## Known limitations

Does not check for open ports, app code flaws, or DNSSEC. A good grade does not mean your site is 100% unhackable.

## Technical details

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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Domain Security Check: SPF, DMARC, SSL, Subdomains skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill help me protect my website and email?

This skill checks your website for email spoofing risks, expiring security certificates, and forgotten subdomains that could be taken over by hackers. It gives you a grade from A to F so you can quickly see if your domain is safe or needs work.

### Do I need to sign up for any extra services or have an API key?

You do not need any accounts or API keys to use this. Your agent only needs the website address you want to check, and it will gather all the information from public records.

### What exactly do I get once the check is finished?

The skill provides a graded report with specific text you can copy and paste into your domain settings to fix issues like missing email records or certificate errors. You can also ask for the report in a data format called JSON if you need to process the results further.

### Are there any security issues that this skill does not look for?

This skill does not check for open ports, website application flaws, or DNSSEC settings. You should not treat a high grade as a guarantee of total security, as it only covers the specific public settings listed in the report.

### When should I ask my agent to run this check?

You can simply tell your agent to check a specific domain or ask if a website is secure. It is useful to run this before you launch a new site, when you are handing a project over to a client, or if your emails are being marked as spam.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
