[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D9BTRRR6PVS34AASNJWMFV":3,"skill-same:01M7D9BTRRR6PVS34AASNJWMFV":105},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M7D9BTRRR6PVS34AASNJWMFV","implementing-dmarc-dkim-spf-email-security",null,"Configures SPF, DKIM, and DMARC DNS TXT records to authenticate outbound email, prevent domain spoofing, and enforce a rejection\u002Fquarantine policy on unauthenticated mail, including auditing a domain's current DNS state. Use when hardening a domain's email security posture or defending against phishing and spoofing attacks.","SaiVatsal\u002FSkills-I-Use","SaiVatsal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F242597752?v=4","01M7D5YM1T4VXW9203M0GFAHZ1","SaiVatsalPolimera","01M7D5YM2D61ST39XVR2V7B7ZJ",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: implementing-dmarc-dkim-spf-email-security\ndescription: Configures SPF, DKIM, and DMARC DNS TXT records to authenticate outbound email, prevent domain spoofing, and enforce a rejection\u002Fquarantine policy on unauthenticated mail, including auditing a domain's current DNS state. Use when hardening a domain's email security posture or defending against phishing and spoofing attacks.\ndomain: cybersecurity\nsubdomain: phishing-defense\ntags:\n- phishing\n- email-security\n- social-engineering\n- dmarc\n- awareness\n- dkim\n- spf\n- dns\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.AT-01\n- DE.CM-09\n- RS.CO-02\n- DE.AE-02\nmitre_attack:\n- T1566\n- T1598\n- T1534\n- T1036\n---\n# Implementing DMARC, DKIM, and SPF Email Security\n\n## Overview\nSPF, DKIM, and DMARC form the three pillars of email authentication. Together they prevent domain spoofing, validate message integrity, and define policies for handling unauthenticated mail. Proper implementation drastically reduces phishing attacks that impersonate your organization's domain.\n\n\n## When to Use\n\n- When deploying or configuring implementing dmarc dkim spf email security capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n- DNS management access for your domain\n- Access to email server\u002FMTA configuration (Postfix, Exchange, Google Workspace, Microsoft 365)\n- Basic understanding of DNS TXT records\n- Python 3.8+ for validation scripts\n\n## Key Concepts\n\n### SPF (Sender Policy Framework)\nPublishes a DNS TXT record listing authorized IP addresses and mail servers that can send email on behalf of your domain. Receiving servers check the envelope sender's IP against this list.\n\n### DKIM (DomainKeys Identified Mail)\nAdds a cryptographic signature to outgoing emails using a private key. The corresponding public key is published in DNS. Receivers verify the signature to ensure the message was not altered in transit.\n\n### DMARC (Domain-based Message Authentication, Reporting and Conformance)\nBuilds on SPF and DKIM by specifying a policy (none\u002Fquarantine\u002Freject) for messages that fail authentication, and provides a reporting mechanism to monitor spoofing attempts.\n\n## Workflow\n\n### Step 1: Audit Current State\n```bash\n# Check existing SPF record\ndig TXT example.com | grep spf\n\n# Check existing DKIM selector\ndig TXT selector1._domainkey.example.com\n\n# Check existing DMARC record\ndig TXT _dmarc.example.com\n```\n\n### Step 2: Implement SPF\n```\n# DNS TXT record for example.com\nv=spf1 ip4:203.0.113.0\u002F24 include:_spf.google.com include:spf.protection.outlook.com -all\n```\n\nKey SPF mechanisms:\n- `ip4:` \u002F `ip6:` - Authorize specific IP ranges\n- `include:` - Include another domain's SPF record\n- `a` - Authorize domain's A record IPs\n- `mx` - Authorize domain's MX record IPs\n- `-all` - Hard fail all others (recommended)\n- `~all` - Soft fail (monitoring phase)\n\n### Step 3: Implement DKIM\n```bash\n# Generate DKIM key pair (2048-bit RSA)\nopenssl genrsa -out dkim_private.pem 2048\nopenssl rsa -in dkim_private.pem -pubout -out dkim_public.pem\n\n# Format public key for DNS (remove headers, join lines)\ngrep -v \"PUBLIC KEY\" dkim_public.pem | tr -d '\\n'\n```\n\nDNS TXT record at `selector1._domainkey.example.com`:\n```\nv=DKIM1; k=rsa; p=MIIBIjANBgkqhki...\n```\n\n### Step 4: Implement DMARC\n```\n# DNS TXT record at _dmarc.example.com\n# Phase 1 (Monitor):\nv=DMARC1; p=none; rua=mailto:dmarc-aggregate@example.com; ruf=mailto:dmarc-forensic@example.com; pct=100\n\n# Phase 2 (Quarantine):\nv=DMARC1; p=quarantine; rua=mailto:dmarc-aggregate@example.com; pct=25\n\n# Phase 3 (Reject):\nv=DMARC1; p=reject; rua=mailto:dmarc-aggregate@example.com; pct=100\n```\n\n### Step 5: Monitor and Analyze DMARC Reports\nUse the `scripts\u002Fprocess.py` to parse DMARC aggregate XML reports and identify authentication failures, unauthorized senders, and spoofing attempts.\n\n## Tools & Resources\n- **MXToolbox**: https:\u002F\u002Fmxtoolbox.com\u002FSuperTool.aspx\n- **DMARC Analyzer (dmarcian)**: https:\u002F\u002Fdmarcian.com\u002F\n- **Google Postmaster Tools**: https:\u002F\u002Fpostmaster.google.com\u002F\n- **Valimail DMARC Monitor**: https:\u002F\u002Fwww.valimail.com\u002F\n- **DMARC Report Analyzer**: https:\u002F\u002Fdmarc.postmarkapp.com\u002F\n\n## Validation\n- SPF record passes validation at mxtoolbox.com\n- DKIM signature verified on test emails\n- DMARC record properly formatted and reporting enabled\n- Test emails pass all three checks in recipient's Authentication-Results header\n","# Implementing DMARC, DKIM, and SPF Email Security\n\n## Overview\nSPF, DKIM, and DMARC form the three pillars of email authentication. Together they prevent domain spoofing, validate message integrity, and define policies for handling unauthenticated mail. Proper implementation drastically reduces phishing attacks that impersonate your organization's domain.\n\n\n## When to Use\n\n- When deploying or configuring implementing dmarc dkim spf email security capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n- DNS management access for your domain\n- Access to email server\u002FMTA configuration (Postfix, Exchange, Google Workspace, Microsoft 365)\n- Basic understanding of DNS TXT records\n- Python 3.8+ for validation scripts\n\n## Key Concepts\n\n### SPF (Sender Policy Framework)\nPublishes a DNS TXT record listing authorized IP addresses and mail servers that can send email on behalf of your domain. Receiving servers check the envelope sender's IP against this list.\n\n### DKIM (DomainKeys Identified Mail)\nAdds a cryptographic signature to outgoing emails using a private key. The corresponding public key is published in DNS. Receivers verify the signature to ensure the message was not altered in transit.\n\n### DMARC (Domain-based Message Authentication, Reporting and Conformance)\nBuilds on SPF and DKIM by specifying a policy (none\u002Fquarantine\u002Freject) for messages that fail authentication, and provides a reporting mechanism to monitor spoofing attempts.\n\n## Workflow\n\n### Step 1: Audit Current State\n```bash\n# Check existing SPF record\ndig TXT example.com | grep spf\n\n# Check existing DKIM selector\ndig TXT selector1._domainkey.example.com\n\n# Check existing DMARC record\ndig TXT _dmarc.example.com\n```\n\n### Step 2: Implement SPF\n```\n# DNS TXT record for example.com\nv=spf1 ip4:203.0.113.0\u002F24 include:_spf.google.com include:spf.protection.outlook.com -all\n```\n\nKey SPF mechanisms:\n- `ip4:` \u002F `ip6:` - Authorize specific IP ranges\n- `include:` - Include another domain's SPF record\n- `a` - Authorize domain's A record IPs\n- `mx` - Authorize domain's MX record IPs\n- `-all` - Hard fail all others (recommended)\n- `~all` - Soft fail (monitoring phase)\n\n### Step 3: Implement DKIM\n```bash\n# Generate DKIM key pair (2048-bit RSA)\nopenssl genrsa -out dkim_private.pem 2048\nopenssl rsa -in dkim_private.pem -pubout -out dkim_public.pem\n\n# Format public key for DNS (remove headers, join lines)\ngrep -v \"PUBLIC KEY\" dkim_public.pem | tr -d '\\n'\n```\n\nDNS TXT record at `selector1._domainkey.example.com`:\n```\nv=DKIM1; k=rsa; p=MIIBIjANBgkqhki...\n```\n\n### Step 4: Implement DMARC\n```\n# DNS TXT record at _dmarc.example.com\n# Phase 1 (Monitor):\nv=DMARC1; p=none; rua=mailto:dmarc-aggregate@example.com; ruf=mailto:dmarc-forensic@example.com; pct=100\n\n# Phase 2 (Quarantine):\nv=DMARC1; p=quarantine; rua=mailto:dmarc-aggregate@example.com; pct=25\n\n# Phase 3 (Reject):\nv=DMARC1; p=reject; rua=mailto:dmarc-aggregate@example.com; pct=100\n```\n\n### Step 5: Monitor and Analyze DMARC Reports\nUse the `scripts\u002Fprocess.py` to parse DMARC aggregate XML reports and identify authentication failures, unauthorized senders, and spoofing attempts.\n\n## Tools & Resources\n- **MXToolbox**: https:\u002F\u002Fmxtoolbox.com\u002FSuperTool.aspx\n- **DMARC Analyzer (dmarcian)**: https:\u002F\u002Fdmarcian.com\u002F\n- **Google Postmaster Tools**: https:\u002F\u002Fpostmaster.google.com\u002F\n- **Valimail DMARC Monitor**: https:\u002F\u002Fwww.valimail.com\u002F\n- **DMARC Report Analyzer**: https:\u002F\u002Fdmarc.postmarkapp.com\u002F\n\n## Validation\n- SPF record passes validation at mxtoolbox.com\n- DKIM signature verified on test emails\n- DMARC record properly formatted and reporting enabled\n- Test emails pass all three checks in recipient's Authentication-Results header\n",{"name":5,"tags":25,"author":34,"domain":35,"license":15,"version":36,"nist_csf":37,"subdomain":42,"description":7,"mitre_attack":43},[26,27,28,29,30,31,32,33],"phishing","email-security","social-engineering","dmarc","awareness","dkim","spf","dns","mahipal","cybersecurity","1.0",[38,39,40,41],"PR.AT-01","DE.CM-09","RS.CO-02","DE.AE-02","phishing-defense",[44,45,46,47],"T1566","T1598","T1534","T1036","main","8a3b3de73262a4c4db64523949360f3c599c2fb1","Anthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security",0,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use","https:\u002F\u002Fgithub.com\u002FSaiVatsal","https:\u002F\u002Fsaivatsal.github.io\u002FPortfolio\u002F","The Longer It Takes The Stronger It Becomes ","2026-09-21 22:45:58",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add SaiVatsal\u002FSkills-I-Use --skill implementing-dmarc-dkim-spf-email-security",{"tool":63,"command":64},"bunx","bunx skills add SaiVatsal\u002FSkills-I-Use --skill implementing-dmarc-dkim-spf-email-security",{"tool":66,"command":67},"pnpm","pnpm dlx skills add SaiVatsal\u002FSkills-I-Use --skill implementing-dmarc-dkim-spf-email-security","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002FSKILL.md",true,[71,77,81,87,91,95,101],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"assets\u002Ftemplate.md","ASSET","资产文件",2595,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002Fassets\u002Ftemplate.md",{"path":78,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fapi-reference.md","REFERENCE","参考文档",1412,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002Freferences\u002Fapi-reference.md",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fstandards.md",2930,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002Freferences\u002Fstandards.md",{"path":92,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fworkflows.md",3205,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002Freferences\u002Fworkflows.md",{"path":96,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":99,"sourceHtmlUrl":100},"scripts\u002Fagent.py","SCRIPT","脚本",5572,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002Fscripts\u002Fagent.py",{"path":102,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":103,"sourceHtmlUrl":104},"scripts\u002Fprocess.py",20891,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-dmarc-dkim-spf-email-security\u002Fscripts\u002Fprocess.py",[106,114,122,131,138,145],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":110,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":20},"01M7DJZP6E6KMBQV4CZSDPZEZ8","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":118,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":20},"01M7DJZFTS5TS06K2TV3MDTE67","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":126,"licenseFileUrl":127,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":20},"01M7DJRK4SRQ908F2TJM6EZ7EV","ui-styling","Create beautiful, accessible user interfaces with shadcn\u002Fui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.","MIT","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FSKILL.md",[],[],{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":126,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":20},"01M7DJR902059VEQP23PVM2WA0","design","Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social\u002Fads\u002Fweb\u002Fprint), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos (HTML→screenshot, multi-platform). Actions: design logo, create CIP, generate mockups, build slides, design banner, generate icon, create social photos, social media images, brand identity, design system. Platforms: Facebook, Twitter, LinkedIn, YouTube, Instagram, Pinterest, TikTok, Threads, Google Ads.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign\u002FSKILL.md",[],[],{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":126,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":20},"01M7DJR56QF5N6XYTCPCFHFMNP","design-system","Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing\u002Ftypography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign-system\u002FSKILL.md",[],[],{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":126,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":20},"01M7DJQXB6M0SFF7NX8J5N01AH","banner-design","Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter\u002FX, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fbanner-design\u002FSKILL.md",[],[]]