Agent Skills: implementing-email-security-with-dmarc-dkim-spf

>-

UncategorizedID: autohandai/community-skills/implementing-email-security-with-dmarc-dkim-spf

Install this agent skill to your local

pnpm dlx add-skill https://github.com/autohandai/community-skills/tree/HEAD/implementing-email-security-with-dmarc-dkim-spf

Skill Files

Browse the full folder contents for implementing-email-security-with-dmarc-dkim-spf.

Download Skill

Loading file tree…

implementing-email-security-with-dmarc-dkim-spf/SKILL.md

Skill Metadata

Name
implementing-email-security-with-dmarc-dkim-spf
Description
>-

Instructions

  1. Install dependencies: pip install dnspython checkdmarc
  2. Provide target domain(s) to audit.
  3. Run the agent to check email security:
    • Query and validate SPF records (syntax, mechanism count, includes, redirect)
    • Check DKIM records for common selectors (google, default, selector1, selector2)
    • Parse DMARC records (policy, subdomain policy, reporting URIs, alignment)
    • Identify misconfigurations enabling spoofing
    • Generate remediation recommendations
python scripts/agent.py --domain example.com --output email_security_report.json

Examples

Email Security Audit Result

Domain: example.com
SPF: v=spf1 include:_spf.google.com ~all (WARN: softfail allows spoofing)
DKIM: selector1 OK, selector2 OK
DMARC: v=DMARC1; p=none; rua=mailto:dmarc@example.com (WARN: policy=none, no enforcement)
Risk: HIGH - p=none with ~all allows email spoofing