entrovyx/hermes-agent-offsec/email-security

Claude Code and agent skill by entrovyx/hermes-agent-offsec

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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

Install

npx vskill@latest install entrovyx/hermes-agent-offsec/email-security

SKILL.md

The same SKILL.md was published earlier as entrovyx/hermes-agent-offsec/email-security.

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

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

ConfigMeaningRisk
v=spf1 ~all (softfail)SPF suggests blocking but doesnt enforceSpoofed emails may pass
v=spf1 ?all (neutral)SPF does nothingTotally permissive
v=spf1 include:amazonses.com ~allSES can send as domainAny AWS SES account can spoof
v=DMARC1; p=noneDMARC disabledZero spoofing protection
v=DMARC1; p=quarantineFailed emails go to spamPartial protection
v=DMARC1; p=rejectFailed emails rejectedFull protection
DKIM missingNo cryptographic signatureEmail can be forged

Email Spoofing via SMTP

bash
# Test SMTP relay
timeout 3 bash -c 'exec 3<>/dev/tcp/TARGET/25; head -1 <&3'
# Send spoofed email via open relay (swaks tool)
swaks --to victim@target.com --from admin@target.com --server TARGET --body "Spoofed email"

Headers That Indicate Security Level

HeaderValueMeaning
Authentication-Resultsspf=passSPF passed
Authentication-Resultsspf=failSPF failed
Authentication-Resultsdmarc=passDMARC passed
Authentication-Resultsdmarc=failDMARC failed
Authentication-Resultsdkim=passDKIM passed
Received-SPFPassSender authorized
Received-SPFSoftfailSender not fully authorized
Received-SPFFailSender not authorized
ARC-Authentication-ResultsAuthentication chain

AWS SES Spoofing (When SPF includes amazonses.com)

With v=spf1 include:amazonses.com ~all:

  1. Create AWS account
  2. Configure SES with your own domain (verified)
  3. Send email with From: admin@target.com
  4. SPF PASSES (because of include:amazonses.com)
  5. DMARC p=none -- provider delivers normally

Real-World Cases

Real-world case (CRITICAL): Political party -- DMARC p=none on both domains (party.org.br, party.com). SPF with include:amazonses.com (any SES account can send as the domain). Total email spoofing.

Pitfalls

IssueSolution
SPF lookup limitDNS has 10 lookup limit for SPF includes
DKIM selector unknownTry common selectors: google, selector1, selector2, 2022, 2023
DMARC reportingrua=mailto: may leak authentication results to third party

Verification

bash
# Verify email spoofing is possible
# Send test email and check headers:
dig +short TXT _dmarc.target.com
# If p=none -> confirmed spoofable

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
8
Repository forks
2
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/entrovyx/hermes-agent-offsec/email-security/badge)](https://verified-skill.com/skills/entrovyx/hermes-agent-offsec/email-security)

Something wrong with this skill or its page? Tell us.