Works with the AI Agents you already use

    B2B Domain, DMARC, SPF, MX & TLS Security Audit (MCP)

    by Ignacio De Saeger

    1

    | domain (required string: raw domain, URL, or email like "ceo@stripe.com"), includeTlsCertCheck (true), includeRdapDomainAge (true), includeBgpAsnLookup (true).

    Free

    Security scanned
    B2B Domain, DMARC, SPF, MX & TLS Security Audit (MCP)

    B2B Domain, DMARC, SPF, MX & TLS Security Audit (MCP)

    Example session with this skill installed

    Audit the email and DNS security posture (MX provider, SPF strictness, DMARC policy, MTA-STS, CAA, and TLS) for 5 target B2B SaaS domains and highlight MSP remediation angles and cold-mail deliverability notes.

    • Read your context and instructions
    • Compiled the b2b domain dmarc

    B2B Domain Security & Technographic Audit Report

    Executive Summary

    • Total Normalized Domains Audited: {{total_domains}} (Live: {{live_domains}} | NXDOMAIN / Unreachable: {{inactive_domains}})
    • Email Spoofing Vulnerable (Missing DMARC or p=none): {{spoofing_vulnerable_count}}
    • Newly Registered Shell Risk (<90 Days Old): {{shell_risk_count}}
    • Expiring / Untrusted TLS Certificates (<=30 Days or Unauthorized): {{tls_issue_count}}
    • Protocol Layers Inspected: DNS (MX/SPF/DMARC/NS/TXT) | TLS 443: {{tls_enabled}} | IANA RDAP: {{rdap_enabled}} | RIPEstat BGP: {{bgp_enabled}}

    Domain Posture & Technographic Matrix

    DomainGrade (Score)Email Provider & GatewaySPF / DMARC PostureSpoof RiskDetected SaaS & Cloud (ASN)TLS Expiry (CA)Domain Age (Registrar)Primary Risk / MSP Trigger
    {{domain}}{{securityGrade}} ({{securityScore}}){{emailProvider}} (ESG: {{hasEmailSecurityGateway}})SPF: {{spfAllQualifier}} / DMARC: {{dmarcPolicy}}{{emailSpoofingVulnerable}}{{detectedSaasSenders}} (AS{{asn}} {{asnHolder}}){{daysUntilCertExpiry}}d ({{issuerOrg}}){{domainAgeDays}}d ({{registrarName}}){{primary_msp_trigger}}
    {{domain_2}}{{securityGrade_2}} ({{securityScore_2}}){{emailProvider_2}} (ESG: {{hasEmailSecurityGateway_2}})SPF: {{spfAllQualifier_2}} / DMARC: {{dmarcPolicy_2}}{{emailSpoofingVulnerable_2}}{{detectedSaasSenders_2}} (AS{{asn_2}} {{asnHolder_2}}){{daysUntilCertExpiry_2}}d ({{issuerOrg_2}}){{domainAgeDays_2}}d ({{registrarName_2}}){{primary_msp_trigger_2}}

    Audit Provenance: Live RFC queries executed at {{auditedAt}}. Unresolved TLD RDAP fields or closed port 443 endpoints are reported as null / false without extrapolation. Budget/runtime notices: {{warnings_or_none}}.


    Recommended Next Actions

    • [ ]

    Immediate Spoofing Remediation / MSP Outreach: Prioritize the {{spoofing_vulnerable_count}} domains with emailSpoofingVulnerable = true to deploy v=DMARC1; p=quarantine/p=reject wit

    Connects securely to your tools. The creator never sees your data.

    About this skill

    B2B Domain, Email Security (DMARC/SPF/MX), TLS & RDAP Posture

    Inspect single or bulk B2B domains, website URLs, and email addresses across four live RFC infrastructure layers—native DNS (MX, SPF, DMARC, NS, root TXT), direct port 443 TLS SNI handshakes, official IANA RDAP registries (data.iana.org), and RIPEstat BGP/ASN routing (stat.ripe.net)—returning 0–100 security grades (A–F), SaaS technographics, and actionable mspSalesTrigger talking points.

    When to Use This Skill

    Activate this skill when the user wants to:

    • Check whether one or more domains are vulnerable to email spoofing (emailSpoofingVulnerable: true due to missing DMARC or p=none monitoring-only policies) or permissive SPF (+all / ?all / ~all).
    • Detect a company's email provider (Google Workspace, Microsoft 365, Proofpoint, Mimecast, Proton Mail), DNS host (Cloudflare, AWS Route53), cloud ASN holder, and third-party SPF/TXT SaaS stack (HubSpot, Salesforce, SendGrid, Zendesk, DocuSign).
    • Verify domain registration age (domainAgeDays), registrar, and <90-day newly registered shell-company risk (newlyRegisteredShellRisk) for fraud/KYB screening.
    • Audit live port 443 TLS certificate validity, issuing CA, days until expiration (daysUntilCertExpiry), and Subject Alternative Name (SAN) subdomains.

    Do NOT use this skill when:

    • Guessing personal employee email addresses, scraping LinkedIn profiles, or performing intrusive port scanning / vulnerability exploitation (this tool executes strictly passive/standard RFC DNS, port 443 TLS SNI, RDAP, and BGP queries).
    • Looking up corporate legal filings, SEC disclosures, FDA recalls, or federal contracts (combine with us-kyb-compliance-dossier for legal-entity KYB).

    Connect the Remote MCP Server

    This skill connects to the live Apify Standby Streamable HTTP MCP server ($0.50 / 1,000 domains launch pay-per-event rate; $1.50 / 1,000 standard rate; zero third-party WHOIS/DNS API keys required).

    • Remote Streamable HTTP MCP Endpoint: https://desastreger--b2b-domain-mail-security-posture.apify.actor/mcp
    • Authentication Header: Authorization: Bearer $APIFY_TOKEN

    Claude Code CLI

    claude mcp add --transport http b2b-domain-mail-security-posture https://desastreger--b2b-domain-mail-security-posture.apify.actor/mcp \
      --header "Authorization: Bearer $APIFY_TOKEN"
    

    Cursor / Claude Desktop (mcp.json / claude_desktop_config.json)

    {
      "mcpServers": {
        "b2b-domain-mail-security-posture": {
          "url": "https://desastreger--b2b-domain-mail-security-posture.apify.actor/mcp",
          "headers": {
            "Authorization": "Bearer <YOUR_APIFY_TOKEN>"
          }
        }
      }
    }
    

    Apify REST API Fallback (cURL / Scripts / Clay / n8n)

    For larger domain lists (>50 domains in a single run) or automated webhook pipelines:

    curl -sS -X POST "https://api.apify.com/v2/acts/desastreger~b2b-domain-mail-security-posture/run-sync-get-dataset-items" \
      -H "Authorization: Bearer $APIFY_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{
        "domains": ["apify.com", "stripe.com", "https://www.cloudflare.com"],
        "includeTlsCertCheck": true,
        "includeRdapDomainAge": true,
        "includeBgpAsnLookup": true,
        "concurrency": 5
      }'
    

    MCP Tools & Parameter Selection

    MCP ToolPurposeKey Arguments & Defaults
    audit_domain_postureDeep real-time RFC security & technographic audit of a single domain, URL, or email address.domain (required string: raw domain, URL, or email like "ceo@stripe.com"), includeTlsCertCheck (true), includeRdapDomainAge (true), includeBgpAsnLookup (true).
    batch_audit_domainsParallel multi-domain posture audit (1–50 domains per MCP call) with automatic deduplication.domains (required string[], max 50 per MCP call), includeTlsCertCheck (true), includeRdapDomainAge (true), includeBgpAsnLookup (true), concurrency (5 default, 1–20).

    Parameter Selection Rules

    1. Input Normalization: Pass raw domains, full https:// URLs, or email addresses (sales@company.com) directly—the server automatically strips schemes/paths/mailboxes and deduplicates normalized hostnames.
    2. Speed Optimization for Pure Mail/GTM Runs: When the user only needs MX email provider, SPF SaaS stack, and DMARC status across dozens of domains, set includeTlsCertCheck: false, includeRdapDomainAge: false, and includeBgpAsnLookup: false with concurrency: 10 for sub-second DNS-only execution.
    3. Full KYB & MSP Security Mode: Keep all three boolean flags true (default) when auditing vendor legitimacy (newlyRegisteredShellRisk), SSL expiry (daysUntilCertExpiry), or full 0–100 securityScore grades.

    Canonical MCP Tool Call Payloads

    Single-Domain Deep Audit (audit_domain_posture):

    {
      "domain": "stripe.com",
      "includeTlsCertCheck": true,
      "includeRdapDomainAge": true,
      "includeBgpAsnLookup": true
    }
    

    Parallel Prospect Batch (batch_audit_domains):

    {
      "domains": [
        "apify.com",
        "https://www.cloudflare.com",
        "sales@hubspot.com"
      ],
      "includeTlsCertCheck": true,
      "includeRdapDomainAge": true,
      "includeBgpAsnLookup": true,
      "concurrency": 5
    }
    

    Interpreting Posture Signals & GTM Triggers

    Output FieldHigh-Signal ValuesActionable Security / GTM Interpretation
    emailSpoofingVulnerabletrue (dmarcPresent: false or dmarcPolicy: "none")Domain lacks enforced DMARC (quarantine/reject), exposing executives and customers to spoofing; prime MSP/MSSP outbound hook via mspSalesTrigger.
    emailProvider & hasEmailSecurityGatewayMicrosoft 365 / Google Workspace + falseCloud inbox without Proofpoint/Mimecast/Barracuda perimeter gateway — ideal target for API-native cloud email security solutions.
    detectedSaasSenders["HubSpot", "Salesforce", "SendGrid", ...]Verified third-party marketing/CRM/support platforms authorized in DNS SPF/TXT records for RevOps technographic segmentation.
    newlyRegisteredShellRisktrue (domainAgeDays < 90)Authoritative IANA RDAP registration is under 90 days old — escalate immediately in vendor KYB, wire-payment, or procurement workflows.
    daysUntilCertExpiry<= 30 or tlsAuthorized: falseImminent port 443 HTTPS outage or untrusted certificate chain requiring immediate DevOps remediation.

    See references/schema-and-examples.md for the complete 45-field output schema and 3 concrete B2B recipes.

    Execution Workflow

    Follow this deterministic 4-step workflow on every invocation:

    1. Scoping & Cost-Aware Sizing: Deduplicate candidate domains/URLs/emails first. Use audit_domain_posture for a single target or batch_audit_domains in chunks of up to 50 domains per MCP call ($0.025 per 50 domains at launch pricing).
    2. Tool Call & Filtering: Execute the audit with appropriate protocol flags (TLS, RDAP, BGP). Filter out non-existent domains (domainExists: false) separately from live misconfigured domains.
    3. Cross-Field Normalization & Ranking: For MSP/security prospecting, rank live domains with emailSpoofingVulnerable: true, expiring certs (daysUntilCertExpiry <= 30), or low securityScore (securityGrade C/D/F) at the top. For KYB risk triage, flag newlyRegisteredShellRisk: true (domainAgeDays < 90) immediately.
    4. Structured Deliverable Output: Present findings using templates/report-template.md, pairing each domain with its exact emailProvider, dmarcPolicy, spfAllQualifier, detectedSaasSenders, domainAgeDays, securityScore, and mspSalesTrigger remediation hooks.

    Data Provenance & Safety Rules

    • Anchor to Verifiable RFC Evidence: Cite the exact normalized domain, primaryMx, spfRecord / spfAllQualifier, dmarcRecord / dmarcPolicy, TLS issuerOrg, IANA RDAP registeredAt / registrarName, BGP asn / asnHolder, and auditedAt timestamp.
    • Zero Fabrication of Contacts or Vulnerabilities: Report only observed DNS/TLS/RDAP/BGP states. If a TLD registry does not support RDAP (domainAgeDays: null) or port 443 is closed on a mail-only domain (tlsReachable: false), state that explicitly rather than inventing registration dates or claiming a breach.
    • Transparent Warnings & Budget Caps: Surface budgetCapReached: true, AUDIT_ERROR signals in riskAndSalesSignals, or any escalationWarnings clearly in the report summary.

    Covers official public registry filings and RFC records only; never scrapes login-walled sites or fabricates unverified personal contact details.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 4 days ago

    • Free with an Agensi account

    Accounts
    IanaDnsAudnsFuryIdentitydigitalRipeApify API token (free $5/mo tier)
    Optional
    Streamable HTTP MCP client

    Connects over remote Streamable HTTP MCP (mcp.apify.com) or direct REST API fallback using your APIFY_TOKEN.

    Permissions

    Network Access
    Terminal / Shell

    Allowed Hosts

    data.iana.org
    dns.google
    rdap.audns.net.au
    rdap.ca.fury.ca
    rdap.identitydigital.services
    stat.ripe.net

    Fetches official public-domain US Government REST, XML, and CSV feeds directly over HTTPS; reads zero API keys and requires no external accounts.

    Listed17 days ago
    Updated4 days ago

    What's inside

    Frequently Asked Questions

    No. All underlying official US/EU public registries are queried deterministically by the remote Apify MCP server with zero upstream API keys required.

    This Agensi skill is 100% free. Live MCP/API runs on Apify use your own Apify account (which includes $5/month in free platform credits—enough for ~5,000 to 10,000 leads at our $0.50–$1.00/1k early-adopter PPE rates).

    New in Security

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.

    Free