Skip to main content
Glama

SecLens.ONE email security assessor

Standalone Go CLI for the public email-security checks on SecLens.ONE.

Scored protocols are SPF, DMARC, DKIM, MTA-STS, TLS-RPT, DANE, and DNSSEC. BIMI is informational and does not change the score. The assessor uses passive DNS and one HTTPS GET to the MTA-STS policy endpoint. It does not send mail.

Protocol logic lives in internal/assessor/rfc*/ packages. Thin bridge files wire DNS lookups and scoring.

Source is https://github.com/42Sec-Pte-Ltd/seclens.

Checks

  • SPF (RFC 7208). Presence, qualifiers, lookup limits, and common misconfiguration hints.

  • DMARC (RFC 7489). Policy, reporting tags, and enforcement.

  • DKIM (RFC 6376). Common selector discovery.

  • MTA-STS (RFC 8461). DNS advertisement, one HTTPS GET of the policy, and MX matching.

  • TLS-RPT (RFC 8460). _smtp._tls advertisement and reporting URIs.

  • DANE (RFC 7672). TLSA records for discovered MX hosts.

  • DNSSEC (RFC 4034 and RFC 4035). DS presence and the DoH AD-bit signal.

  • BIMI. Informational only. It does not change the score.

  • Null MX (RFC 7505). Detects domains that do not receive mail.

Bulk assessment uses bounded concurrency. Output is text, JSON, or JSONL. JSON DoH resolvers default to Cloudflare. Google and Quad9 are supported.

Related MCP server: Auditoría MCP

MCP Server

SecLens.ONE MCP connector

Anonymous Streamable HTTP at https://seclens.one/mcp.

Tools are get_result, assess_domain, and get_summary.

Cursor 1-Click Install opens Add SecLens.ONE.

mcp.json:

{
  "mcpServers": {
    "seclens": {
      "type": "http",
      "url": "https://seclens.one/mcp"
    }
  }
}

Dependencies

Core DNS and HTTP use the Go standard library. One module dependency handles internationalized domain names.

Run go list -m all after go mod download to inspect the module graph.

Build

go build -o seclens ./cmd/seclens

Assess

./seclens assess cloudflare.com
./seclens assess --format jsonl example.com google.com
cat domains.txt | ./seclens assess --stdin --concurrency 12 --format jsonl > results.jsonl
./seclens assess --file domains.txt --resolver google,cloudflare

Resolver flag values are cloudflare, google, and quad9. Separate a pool with commas.

Tests

go test ./...

Research

The CLI measures the same controls as the SecLens Top-1M studies:

License

Licensed under the Apache License, Version 2.0.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Performs domain, email, and web audits in a single tool call, checking DNS, RDAP, TLS, SPF, DMARC, DKIM, MTA-STS, BIMI, security headers, and cookies, and returning reproducible findings with an A–F score. Also captures PNG screenshots of public URLs, working read-only against public records with no caching between calls.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to run domain scans, DNS/DNSSEC and propagation lookups, WHOIS/RDAP, SPF/DKIM/DMARC/BIMI/MTA-STS and blacklist diagnostics through a keyless API. Also supports local DMARC report and raw-email parsing plus security-header generation.
      56 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to inspect any public domain’s web technology stack, email deliverability and DNS health (MX, SPF, DKIM, DMARC, MTA-STS, TLS-RPT, BIMI), and HTTPS security posture with typed JSON scores and remediation-ready findings, plus history, bulk checks, monitoring alerts, and reverse technology lookups.
      12
      61 npm
      MIT