Tooluck logoTooluck
SKILL.md

email-security

Agent skill fromuphiago/recon-skills

DMARC/SPF/DKIM check, email spoofing, SMTP test, and security header analysis

How to install email-security

install email-security
# install the recon-skills pack with the skills CLI
npx skills add uphiago/recon-skills

# or add only this skill to Claude Code: copy the folder

recon/email-security/

# into

~/.claude/skills/email-security/ (all projects)

.claude/skills/email-security/ (one project)

recon/email-security/SKILL.md

MITFull file
1# Email Security -- DMARC, SPF, DKIM
2
3## When to Use
4
5- During passive reconnaissance (Phase 1)
6- After initial DNS enumeration
7- DMARC p=none means DMARC enforcement is off; actual spoofability still depends on SPF/DKIM and the receiver's local policy
8- Critical for identifying phishing/business email compromise risks
9
10## Prerequisites
11
12- Explicit authorization, target boundaries, and rate limits for the target.
13- Tooling: `dig`, `swaks`.
14- A writable evidence directory: `export OUTPUT_DIR="${OUTPUT_DIR:-./output}" && mkdir -p "$OUTPUT_DIR"`.
15- For any state-changing step (writes, uploads, credential attempts), obtain explicit confirmation immediately before the command.
16
17## How to Run
18
19```bash
20# SPF
21dig +short TXT $target | grep "v=spf1"
22
23# DMARC
24dig +short TXT _dmarc.$target
25
26# DKIM (common selector: google)
27dig +short TXT google._domainkey.$target
28
29# MX
30dig +short MX $target
31```
32
33## Procedure
34
35The phases below are the procedure. Keep each probe bounded (`--max-time`), record evidence beneath `OUTPUT_DIR`, and stop at the stop-conditions listed in Pitfalls.
36
37## DMARC/SPF/DKIM Check Commands
38
39```bash
40# SPF
41dig +short TXT $target | grep "v=spf1"
42
43# DMARC
44dig +short TXT _dmarc.$target
45
46# DKIM (common selector: google)
47dig +short TXT google._domainkey.$target
48
49# MX
50dig +short MX $target
51```
52
53## Interpreting Results
54
55| Config | Meaning | Risk |
56|--------|---------|------|
57| v=spf1 ~all (softfail) | SPF suggests blocking but doesnt enforce | Spoofed emails may pass |
58…

Excerpt shown under the repository's MIT license.

More skills in recon-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates