{"_id":"@blackveil/dns-checks","_rev":"10-96b38219e2204c346ebdd88dd17ac70d","name":"@blackveil/dns-checks","dist-tags":{"latest":"1.3.12"},"versions":{"1.0.0":{"name":"@blackveil/dns-checks","version":"1.0.0","license":"BUSL-1.1","_id":"@blackveil/dns-checks@1.0.0","maintainers":[{"name":"blackveil","email":"adam@blackveilsecurity.com"}],"homepage":"https://blackveilsecurity.com/dns","bugs":{"url":"https://github.com/MadaBurns/bv-mcp/issues"},"dist":{"shasum":"892781f51575d93c0e23a8f18cb6c72d544cd1fa","tarball":"https://registry.npmjs.org/@blackveil/dns-checks/-/dns-checks-1.0.0.tgz","fileCount":10,"integrity":"sha512-YLY3gLWqu7Z5GhWZVvTumEtN5/FUMq5NI0LuYfJroAbdgwqGlTq94xG20Un2K2Sq2s8FpAI8dv78vL8nPIqcQw==","signatures":[{"sig":"MEUCIQDzZ20f6wcS7kwks4SpVm7k1Z5jYhDclE+un9tQ/2v9aAIgF+gxYPMIMzit5QUUnws5Yoez522W6uJ81OGDOMhrm7M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":452806},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./scoring":{"types":"./dist/scoring/index.d.ts","import":"./dist/scoring/index.js"}},"gitHead":"0ef027f0725e8011941baa96c2bf5827637aa9d4","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"blackveil","email":"adam@blackveilsecurity.com"},"repository":{"url":"git+https://github.com/MadaBurns/bv-mcp.git","type":"git","directory":"packages/dns-checks"},"_npmVersion":"11.8.0","description":"DNS and email security check implementations for BlackVeil Security","directories":{},"_nodeVersion":"25.6.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dns-checks_1.0.0_1774412459564_0.5115109897992907","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@blackveil/dns-checks","version":"1.0.1","license":"BUSL-1.1","_id":"@blackveil/dns-checks@1.0.1","maintainers":[{"name":"blackveil","email":"adam@blackveilsecurity.com"}],"homepage":"https://blackveilsecurity.com/dns","bugs":{"url":"https://github.com/MadaBurns/bv-mcp/issues"},"dist":{"shasum":"847d2c67d36c1692ce20e6b087f8d54507832909","tarball":"https://registry.npmjs.org/@blackveil/dns-checks/-/dns-checks-1.0.1.tgz","fileCount":10,"integrity":"sha512-12BziTys7Qqt6HG2sELWF15c8yitVQD5TFHyOEP4naE/Wcf5HyMGKgfC0T+K1J9EdMbIPkDg/1QK24WzzsMRnA==","signatures":[{"sig":"MEUCIQDPVfIpSnvn7+OENalLwIF3oD9RB3XEfJgfI6LOMl7dAQIgTkzYFHtTTxohmQpf3lbpQIVewP9KudrMGLPa2g1Bhwk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":458488},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./scoring":{"types":"./dist/scoring/index.d.ts","import":"./dist/scoring/index.js"}},"gitHead":"1bf8d7899a69e225f82678cb612d76b3c4610e31","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"blackveil","email":"adam@blackveilsecurity.com"},"repository":{"url":"git+https://github.com/MadaBurns/bv-mcp.git","type":"git","directory":"packages/dns-checks"},"_npmVersion":"11.8.0","description":"DNS and email security check implementations for BlackVeil Security","directories":{},"_nodeVersion":"25.6.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dns-checks_1.0.1_1774437665714_0.82934140993613","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@blackveil/dns-checks","version":"1.0.2","license":"BUSL-1.1","_id":"@blackveil/dns-checks@1.0.2","maintainers":[{"name":"blackveil","email":"adam@blackveilsecurity.com"}],"homepage":"https://blackveilsecurity.com/dns","bugs":{"url":"https://github.com/MadaBurns/bv-mcp/issues"},"dist":{"shasum":"a38c0e51d6f77ea2fa5341b715cf9ac5ae9e2353","tarball":"https://registry.npmjs.org/@blackveil/dns-checks/-/dns-checks-1.0.2.tgz","fileCount":10,"integrity":"sha512-viJ8vJKWVfv2qH6tL/V7rdrUWho9H0+IRj7jpb7Fdxy9Qr24lcG3+R51Db4DpDv29L+BGgOTSgR8mkbWXV7Gmw==","signatures":[{"sig":"MEQCIC0FQxwkPU2htLZKkHClBDqKIKY360FoVpeUf5i4IcxNAiBNakH0Yb58ja7pVZ/MA+d2E1X/488XQwW+mSodj7qirg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":460123},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./scoring":{"types":"./dist/scoring/index.d.ts","import":"./dist/scoring/index.js"}},"gitHead":"6ea8b6c16cdb293449b015ac8f1693700843aabd","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"blackveil","email":"adam@blackveilsecurity.com"},"repository":{"url":"git+https://github.com/MadaBurns/bv-mcp.git","type":"git","directory":"packages/dns-checks"},"_npmVersion":"11.8.0","description":"DNS and email security check implementations for BlackVeil Security","directories":{},"_nodeVersion":"25.6.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dns-checks_1.0.2_1774491983867_0.9358508541165715","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@blackveil/dns-checks","version":"1.0.3","license":"BUSL-1.1","_id":"@blackveil/dns-checks@1.0.3","maintainers":[{"name":"blackveil","email":"adam@blackveilsecurity.com"}],"homepage":"https://blackveilsecurity.com/dns","bugs":{"url":"https://github.com/MadaBurns/bv-mcp/issues"},"dist":{"shasum":"8ce14461474f78dc8a0627b01692797861563e1c","tarball":"https://registry.npmjs.org/@blackveil/dns-checks/-/dns-checks-1.0.3.tgz","fileCount":10,"integrity":"sha512-JV+Ld9xIFvOBJ72qxKIDC3nhQNyuvNR8wdmTA0pQoD7/nMzT+sb7bu1vQ6EqNPz9pv6kx2tKmhUPYhx0U0yWRA==","signatures":[{"sig":"MEUCIQDgk6VYgN0a8nnL9y9dNnuiFIGrgzlje4IZHoKL62/t9AIgOIKF0ffD0pHV3XZUqJvx//O00XKYUkNLUAE0egDiNgY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":482430},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./scoring":{"types":"./dist/scoring/index.d.ts","import":"./dist/scoring/index.js"}},"gitHead":"22c1fdfd0657652f4e353b3c1e554a1e45337d81","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"blackveil","email":"adam@blackveilsecurity.com"},"repository":{"url":"git+https://github.com/MadaBurns/bv-mcp.git","type":"git","directory":"packages/dns-checks"},"_npmVersion":"11.8.0","description":"DNS and email security check implementations for BlackVeil Security","directories":{},"_nodeVersion":"25.6.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dns-checks_1.0.3_1774528006324_0.9983715711279679","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@blackveil/dns-checks","version":"1.0.4","license":"BUSL-1.1","_id":"@blackveil/dns-checks@1.0.4","maintainers":[{"name":"blackveil","email":"adam@blackveilsecurity.com"}],"homepage":"https://blackveilsecurity.com/dns","bugs":{"url":"https://github.com/MadaBurns/bv-mcp/issues"},"dist":{"shasum":"589aac20c74bb56245cb0533be785dd1b9426a37","tarball":"https://registry.npmjs.org/@blackveil/dns-checks/-/dns-checks-1.0.4.tgz","fileCount":10,"integrity":"sha512-gU1oSAz5h1VGKlWzqhQfH5Wqx0z9ZTQcaVzLTPbrEnrb5IAHX8A2DntLztu93xRYpw323xObEaee2gnlSyYbxw==","signatures":[{"sig":"MEUCIBNfIwpUZflxGrgq2yMphahTJlGP9aGoTQ6SDp90tqT0AiEAz9ucu8GkCSXUSmQG8S5wvNBs3Yyj3WHohVJnaBLHs2k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":499669},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./scoring":{"types":"./dist/scoring/index.d.ts","import":"./dist/scoring/index.js"}},"gitHead":"edd73aca19241b172f6ffa8727a089b91a4183ea","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"blackveil","email":"adam@blackveilsecurity.com"},"repository":{"url":"git+https://github.com/MadaBurns/bv-mcp.git","type":"git","directory":"packages/dns-checks"},"_npmVersion":"11.8.0","description":"DNS and email security check implementations for BlackVeil Security","directories":{},"_nodeVersion":"25.6.0","dependencies":{"zod":"^4.3.6"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dns-checks_1.0.4_1775012803786_0.1205446208833374","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@blackveil/dns-checks","version":"1.1.0","license":"BUSL-1.1","_id":"@blackveil/dns-checks@1.1.0","maintainers":[{"name":"blackveil","email":"adam@blackveilsecurity.com"}],"homepage":"https://blackveilsecurity.com/dns","bugs":{"url":"https://github.com/MadaBurns/bv-mcp/issues"},"dist":{"shasum":"353f3a6db960fa198de4cdedb7944d7da305a1c1","tarball":"https://registry.npmjs.org/@blackveil/dns-checks/-/dns-checks-1.1.0.tgz","fileCount":10,"integrity":"sha512-xFOWseUJjU+QKJaKnLQw6WeZ4OCauuykAsigN1OioiL//TtfdBN8zd79T9leINf9ebczTQvgkUHYKtTofXM9jw==","signatures":[{"sig":"MEYCIQCimpb2OK1vt/MGXhE+siQkcqWU77cjAAqOYXWyCq9WOgIhAMLdJpaFBLxaJhsZBsbzvZYQNsv4xAsSWu+KhkpNXkKu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":561143},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./scoring":{"types":"./dist/scoring/index.d.ts","import":"./dist/scoring/index.js"}},"gitHead":"64023d0bb0cd55e43547eb4d3fcdabc03f341bf8","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"blackveil","email":"adam@blackveilsecurity.com"},"repository":{"url":"git+https://github.com/MadaBurns/bv-mcp.git","type":"git","directory":"packages/dns-checks"},"_npmVersion":"11.8.0","description":"DNS and email security check implementations for BlackVeil Security","directories":{},"_nodeVersion":"25.6.0","dependencies":{"zod":"^4.3.6"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dns-checks_1.1.0_1775428303751_0.9459443539078596","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@blackveil/dns-checks","version":"1.1.1","license":"BUSL-1.1","_id":"@blackveil/dns-checks@1.1.1","maintainers":[{"name":"blackveil","email":"adam@blackveilsecurity.com"}],"homepage":"https://blackveilsecurity.com/dns","bugs":{"url":"https://github.com/MadaBurns/bv-mcp/issues"},"dist":{"shasum":"8b7c783afdb4f20c9c4b85c174b7a69e8f022757","tarball":"https://registry.npmjs.org/@blackveil/dns-checks/-/dns-checks-1.1.1.tgz","fileCount":10,"integrity":"sha512-nRIPLw6nXiR09qCKfrE6qLCu+3gcUTEmRlE+exqexMUHASKL46L3Ahe0FV8N2F9DVMoj9ph2z8ytW32arCQpXQ==","signatures":[{"sig":"MEUCICfkIK6U9Y4Q8tOZ6Izowv3uYwSrzgAKrovczkzn5z6oAiEAuo1CmzHHweJy6RquvRsr7+9w18LsyiP3pZZTNUdu23A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":561397},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./scoring":{"types":"./dist/scoring/index.d.ts","import":"./dist/scoring/index.js"}},"gitHead":"1157ec04e07db6046904240bd6ca23fef6620885","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"blackveil","email":"adam@blackveilsecurity.com"},"repository":{"url":"git+https://github.com/MadaBurns/bv-mcp.git","type":"git","directory":"packages/dns-checks"},"_npmVersion":"11.12.1","description":"Runtime-agnostic DNS and email security checks (16 checks + scoring engine) for BlackVeil Security","directories":{},"_nodeVersion":"25.9.0","dependencies":{"zod":"^4.3.6"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dns-checks_1.1.1_1775716986699_0.23696125850967809","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@blackveil/dns-checks","version":"1.1.2","license":"BUSL-1.1","_id":"@blackveil/dns-checks@1.1.2","maintainers":[{"name":"blackveil","email":"adam@blackveilsecurity.com"}],"homepage":"https://blackveilsecurity.com/dns","bugs":{"url":"https://github.com/MadaBurns/bv-mcp/issues"},"dist":{"shasum":"e39cb2b7becc58f70e3eeffe2ee67a3ca902fa73","tarball":"https://registry.npmjs.org/@blackveil/dns-checks/-/dns-checks-1.1.2.tgz","fileCount":10,"integrity":"sha512-DgAv8UrO6uQk7r70dcVKqoX01v3PT6eCZDkI7MdgCMQEBlgL+wDocv48R6J8HWQTIYiJCCT6MMCHw0SghMgekg==","signatures":[{"sig":"MEUCIGWvwbrLcdwzDNpIPGUmkorbNHsP4yxG/Az9OYpb7RXbAiEAhgaim/WRT9VrmrOie0w01BRbO5LMsKVC2rdV+sL3boE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":567713},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./scoring":{"types":"./dist/scoring/index.d.ts","import":"./dist/scoring/index.js"}},"gitHead":"a7fcb26ab13f7e3f95f987b332586bd79241c60e","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"blackveil","email":"adam@blackveilsecurity.com"},"repository":{"url":"git+https://github.com/MadaBurns/bv-mcp.git","type":"git","directory":"packages/dns-checks"},"_npmVersion":"11.12.1","description":"Runtime-agnostic DNS and email security checks (16 checks + scoring engine) for BlackVeil Security","directories":{},"_nodeVersion":"25.9.0","dependencies":{"zod":"^4.3.6"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dns-checks_1.1.2_1777056109798_0.5530068149841028","host":"s3://npm-registry-packages-npm-production"}},"1.3.12":{"name":"@blackveil/dns-checks","version":"1.3.12","description":"Runtime-agnostic DNS and email security checks (16 checks + scoring engine) for BlackVeil Security","license":"BUSL-1.1","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"},"./scoring":{"import":"./dist/scoring/index.js","types":"./dist/scoring/index.d.ts"},"./whois":{"import":"./dist/whois/index.js","types":"./dist/whois/index.d.ts"}},"scripts":{"build":"tsup","test":"vitest run","typecheck":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/MadaBurns/bv-mcp.git","directory":"packages/dns-checks"},"homepage":"https://blackveilsecurity.com/dns","bugs":{"url":"https://github.com/MadaBurns/bv-mcp/issues"},"dependencies":{"zod":"^4.3.6"},"gitHead":"098093ed5bd4a031c1ed5a57f925d31ae720d5f8","_id":"@blackveil/dns-checks@1.3.12","_nodeVersion":"22.16.0","_npmVersion":"11.8.0","dist":{"integrity":"sha512-ZRqU9QYGq2tr+49BAEVuMWittNeE8KV8ekcCaf307fZfxH8vOKfQCWZEyO+Dv7wmvNmQQFBU4bGgFOlq5Pgb/A==","shasum":"8c10058523df3206d8141333b268af7a999b2bfd","tarball":"https://registry.npmjs.org/@blackveil/dns-checks/-/dns-checks-1.3.12.tgz","fileCount":13,"unpackedSize":787848,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCy2iWDz8vlioV1ZFKXrXHtpfkEx5RKFVlbyognA18PhwIhANnpUe2jxU1+og8a5I78fYa5RO9W+/yVcK4p/laUCCz7"}]},"_npmUser":{"name":"blackveilinfosec","email":"adam@blackveilsecurity.com"},"directories":{},"maintainers":[{"name":"blackveilinfosec","email":"adam@blackveilsecurity.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dns-checks_1.3.12_1780300517045_0.0963352560891726"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-25T04:20:59.451Z","modified":"2026-06-01T07:55:17.341Z","1.0.0":"2026-03-25T04:20:59.726Z","1.0.1":"2026-03-25T11:21:05.957Z","1.0.2":"2026-03-26T02:26:24.033Z","1.0.3":"2026-03-26T12:26:46.469Z","1.0.4":"2026-04-01T03:06:43.990Z","1.1.0":"2026-04-05T22:31:43.898Z","1.1.1":"2026-04-09T06:43:06.858Z","1.1.2":"2026-04-24T18:41:49.973Z","1.3.12":"2026-06-01T07:55:17.207Z"},"bugs":{"url":"https://github.com/MadaBurns/bv-mcp/issues"},"license":"BUSL-1.1","homepage":"https://blackveilsecurity.com/dns","repository":{"type":"git","url":"git+https://github.com/MadaBurns/bv-mcp.git","directory":"packages/dns-checks"},"description":"Runtime-agnostic DNS and email security checks (16 checks + scoring engine) for BlackVeil Security","maintainers":[{"name":"blackveilinfosec","email":"adam@blackveilsecurity.com"}],"readme":"# @blackveil/dns-checks\n\nDNS and email security check implementations for [BlackVeil Security](https://blackveilsecurity.com).\n\n> **License:** [BSL 1.1](./LICENSE) — Copyright (c) 2023-2026 BlackVeil Security Ltd.\n\n## Installation\n\n```bash\nnpm install @blackveil/dns-checks\n```\n\n## Usage\n\nEvery check takes a `queryDNS` function as its second argument (dependency injection):\n\n```typescript\nimport { checkSPF } from '@blackveil/dns-checks';\n\nconst result = await checkSPF('example.com', async (domain, type, opts) => {\n  // Your DNS resolver implementation\n  return ['v=spf1 include:_spf.google.com ~all'];\n});\n\nconsole.log(result.score); // 0-100\nconsole.log(result.findings); // Array of findings\n```\n\n## Scoring\n\n```typescript\nimport { computeScanScore, scoreToGrade } from '@blackveil/dns-checks/scoring';\n\nconst score = computeScanScore(checkResults);\nconst grade = scoreToGrade(score.overall); // A+, A, B+, etc.\n```\n\nThe scoring registry includes the `authoritative_dns_infra` category used by the MCP worker's authoritative DNS infrastructure profile. In normal mail/web profiles it carries zero scoring weight; when the dedicated profile is selected, it is weighted with DNSSEC, NS, and zone-hygiene evidence.\n\n## Available Checks\n\n| Check | Function | Standard |\n|-------|----------|----------|\n| SPF | `checkSPF` | RFC 7208 |\n| DMARC | `checkDMARC` | RFC 7489 |\n| DKIM | `checkDKIM` | RFC 6376 |\n| DNSSEC | `checkDNSSEC` | RFC 4033 |\n| SSL/TLS | `checkSSL` | — |\n| MTA-STS | `checkMTASTS` | RFC 8461 |\n| TLSRPT | `checkTLSRPT` | RFC 8460 |\n| MX | `checkMX` | RFC 5321 |\n| CAA | `checkCAA` | RFC 8659 |\n| BIMI | `checkBIMI` | Draft |\n| NS | `checkNS` | RFC 1035 |\n| DANE Email | `checkDANE` | RFC 7672 |\n| DANE HTTPS | `checkDANEHTTPS` | RFC 6698 |\n| SVCB/HTTPS | `checkSVCBHTTPS` | RFC 9460 |\n| Subdomain Takeover | `checkSubdomainTakeover` | — |\n| HTTP Security | `checkHTTPSecurity` | — |\n\nThe MCP server package layers additional worker-only tools on top of this library, including `check_authoritative_dns_infra` and `check_root_server_set`.\n\n## License\n\nBusiness Source License 1.1 (BSL 1.1). See [LICENSE](./LICENSE).\n","readmeFilename":"README.md"}