email-security
DMARC/SPF/DKIM check, email spoofing, SMTP test, and security header analysis
Install / Use
npx skills add uphiago/recon-skills --skill email-securityInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
SecuritySupported Platforms
Our assessment of email-security
email-security scores 84/100 on our quality scale, 685th of 971 Security skills we index.
Its SKILL.md is 3.1 KB long, well organised into 19 sections with 3 code examples: a solid amount of guidance for an agent.
With 1,280 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 29 days ago, so email-security is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
email-security compared with similar skills
All 4 of these similar skills score higher than email-security; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| email-security (this skill)by uphiago | 84 | 1.3k | 29d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 8d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 8d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 9d ago | SKILL.md |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 130.2k | 9d ago | SKILL.md |
Frequently asked questions
- How do I install email-security?
- Run
npx skills add uphiago/recon-skills --skill email-security. The install tabs above show the steps for each supported agent. - Which AI agents does email-security work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is email-security safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is email-security still maintained?
- The repository was last updated 29 days ago, so email-security is actively maintained.
Skill content
View source on GitHubname: email-security description: "DMARC/SPF/DKIM check, email spoofing, SMTP test, and security header analysis" version: 1.1.0 revision_date: 2026-07-25 license: MIT category: recon tags: [email, SPF, DKIM, DMARC, spoofing, SMTP, recon]
Email Security -- DMARC, SPF, DKIM
When to Use
- During passive reconnaissance (Phase 1)
- After initial DNS enumeration
- DMARC p=none means the domain can be totally spoofed
- Critical for identifying phishing/business email compromise risks
DMARC/SPF/DKIM Check Commands
# SPF
dig +short TXT $target | grep "v=spf1"
# DMARC
dig +short TXT _dmarc.$target
# DKIM (common selector: google)
dig +short TXT google._domainkey.$target
# MX
dig +short MX $target
Interpreting Results
| Config | Meaning | Risk | |--------|---------|------| | v=spf1 ~all (softfail) | SPF suggests blocking but doesnt enforce | Spoofed emails may pass | | v=spf1 ?all (neutral) | SPF does nothing | Totally permissive | | v=spf1 include:amazonses.com ~all | SES can send as domain | Any AWS SES account can spoof | | v=DMARC1; p=none | DMARC disabled | Zero spoofing protection | | v=DMARC1; p=quarantine | Failed emails go to spam | Partial protection | | v=DMARC1; p=reject | Failed emails rejected | Full protection | | DKIM missing | No cryptographic signature | Email can be forged |
Email Spoofing via SMTP
# Test SMTP relay
timeout 3 bash -c 'exec 3<>/dev/tcp/TARGET/25; head -1 <&3'
# Send spoofed email via open relay (swaks)
swaks --to victim@target.com --from admin@target.com --server TARGET --body "Spoofed email"
Headers That Indicate Security Level
| Header | Value | Meaning | |--------|-------|---------| | Authentication-Results | spf=pass | SPF passed | | Authentication-Results | spf=fail | SPF failed | | Authentication-Results | dmarc=pass | DMARC passed | | Authentication-Results | dmarc=fail | DMARC failed | | Authentication-Results | dkim=pass | DKIM passed | | Received-SPF | Pass | Sender authorized | | Received-SPF | Softfail | Sender not fully authorized | | Received-SPF | Fail | Sender not authorized | | ARC-Authentication-Results | | Authentication chain |
AWS SES Spoofing (When SPF includes amazonses.com)
With v=spf1 include:amazonses.com ~all:
- Create AWS account
- Configure SES with your own domain (verified)
- Send email with From: admin@target.com
- SPF PASSES (because of include:amazonses.com)
- DMARC p=none -- provider delivers normally
Real-World Cases
Real-world case (CRITICAL): Political party -- DMARC p=none on both domains (DOMAIN_PLACEHOLDER_A, DOMAIN_PLACEHOLDER_B). SPF with include:amazonses.com (any SES account can send as the domain). Total email spoofing.
Pitfalls
| Issue | Solution | |-------|----------| | SPF lookup limit | DNS has 10 lookup limit for SPF includes | | DKIM selector unknown | Try common selectors: google, selector1, selector2, 2022, 2023 | | DMARC reporting | rua=mailto: may leak authentication results to third party |
Verification
# Verify email spoofing is possible
# Send test email and check headers:
dig +short TXT _dmarc.target.com
# If p=none -> confirmed spoofable
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
ui-ux-pro-max
130.2kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
