dns-security-mcp CLAUDE.md

dns-security-mcp CLAUDE.md is an instructions file for Claude Code from badchars/dns-security-mcp. It costs 444 tokens per session, scanned A, original, MIT.

Repository instructions for a Bun and Node.js MCP server that provides DNS security information through tools for checks such as DNSSEC, hijacking, tunneling, typosquatting, email security, and certificates.

In plain words
What is it for?
Use them when adding or changing DNS analysis tools, tool schemas, external lookups, protocol registration, or security-related server behavior.
Why use it?
They set architecture and safety rules for a large tool collection, including strict TypeScript, optional API keys, caching, rate limits, and free data sources.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/badchars/dns-security-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/badchars/dns-security-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dns-security-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/badchars/dns-security-mcp/claude-md.svg)](https://agentmods.dev/instructions/badchars/dns-security-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/badchars/dns-security-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/badchars/dns-security-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 444 This file is loaded in full into every session.
When invoked 444 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00444 $0.00444
Opus 5 $0.00222 $0.00222
Sonnet 5 $0.00089 $0.00089
Haiku 4.5 $0.00044 $0.00044

Measured 6d ago against content hash 0ff269bd0d91, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

dns-security-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 35 lines

What it actually says

dns-security-mcp — DNS Security Intelligence MCP Server

Overview

103-tool MCP server for DNS security intelligence: DNSSEC validation, hijacking detection, DNS tunneling analysis, typosquatting, email security (SPF/DKIM/DMARC), certificate transparency, blocklist checking, infrastructure audit, DNS privacy testing.

Architecture

  • Runtime: Bun 1.3.9+ (dev), Node.js (publish)
  • Dependencies: @modelcontextprotocol/sdk, zod, dns-packet
  • Transport: stdio only
  • Pattern: Each category in own directory under src/, tools registered in src/protocol/tools.ts

Key Rules

  • TypeScript strict mode, English code/comments
  • Node.js built-ins: node:dns/promises, node:tls, node:https, node:net, node:dgram, node:crypto
  • dns-packet for raw DNS wire-format encoding/decoding (AXFR, DNSSEC, custom queries)
  • Every tool schema field must have .describe()
  • API keys always optional — graceful fallback when missing
  • Rate limiter + TTL cache for external API calls
  • Import paths use .js extension (ESM)
  • Free APIs only: crt.sh (CT logs), RDAP (WHOIS), DNSBL via DNS, URLhaus
  • Optional: SECURITYTRAILS_API_KEY, VIRUSTOTAL_API_KEY, SAFEBROWSING_API_KEY

Categories (13)

dns (12), dnssec (8), email (9), hijack (9), tunnel (7), ct (7), domain (10), typo (8), blocklist (6), infra (9), privacy (6), threat (7), report (5)

Commands

bun install          # Install deps
bun run dev          # Dev mode (watch)
bun run build        # Build for npm
bun run src/index.ts --help   # CLI help
bun run src/index.ts --list   # List all tools
bun run src/index.ts --tool <name> '<json>'  # Run single tool
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 35 lines · 444 tokens per session scan A 0ff269bd0d91

Subscribe to this mod's changes

dns-security-mcp CLAUDE.md is an instructions file published in the GitHub repository badchars/dns-security-mcp (6 stars, last pushed yesterday), licensed MIT. It adds 444 tokens to every session, about $0.0022 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

redamon AGENTS.md

AGENTS.md instructions for samugit83/redamon, covering redamon - agent ruleset (repository root), auto-invoke skills, critical rules - non-negotiable, code comments and tech stack.

samugit83/redamon · 2,276 tokens

stride-gpt AGENTS.md

AGENTS.md instructions for mrwadams/stride-gpt, covering agents.md, what this project is, repository layout, how the agentic analysis works and progressive disclosure pattern.

mrwadams/stride-gpt · 4,122 tokens

Cybermes AGENTS.md

Instructions for Zyrexnn/Cybermes, covering 🛡️ cybermes master operational directives (agents.md), 1. 🎯 persona & core mission, 2. ⚡ core operational principles, 3. 📁 strict target-scoped workspace & deliverables and mandatory rules for file creation.

Zyrexnn/Cybermes · 1,549 tokens

Huntable-CTI-Studio AGENTS.md

AGENTS.md instructions for dfirtnt/Huntable-CTI-Studio, covering agents.md, orientation, local context, prompt-injection alerting and change-type quick reference.

dfirtnt/Huntable-CTI-Studio · 3,836 tokens

security-weekly-mcp AGENTS.md

AGENTS.md instructions for astroicers/security-weekly-mcp, covering agents.md — security-weekly-mcp 開發慣例(人機一體適用), 目錄導覽, 語言與風格, 分支與提交 and 分支流(2026-08-21 起).

astroicers/security-weekly-mcp · 1,902 tokens

saas-cybersecurity AGENTS.md

Instructions for YankielDBC2/saas-cybersecurity, covering agent working agreement, purpose, rules, repository map and definition of done.

YankielDBC2/saas-cybersecurity · 335 tokens