Skip to main content
Glama

hijack_dns_rebinding

Identify DNS rebinding vulnerabilities by resolving a domain repeatedly to detect IP changes with low TTL values, flagging potential browser security bypasses.

Instructions

Detect DNS rebinding candidates by resolving a domain multiple times and checking for IP changes combined with very low TTL values. DNS rebinding attacks exploit short TTLs to switch from a public IP to a private/internal IP after initial browser security checks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesThe domain to test for DNS rebinding indicators (e.g. evil.example.com)
samplesNoNumber of DNS resolution samples to collect (default: 5)
delay_msNoDelay in milliseconds between resolution attempts (default: 1000)
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the burden of disclosure. It explains the core behavior (repeated resolution, IP change and TTL checks) but does not mention potential side effects like active network queries, rate limits, or output format. This is adequate but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences, front-loaded with the main purpose and supported by a brief technical explanation. Every sentence earns its place with no waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description explains the purpose and detection mechanism well, but since there is no output schema, it does not describe the return value or how to interpret results. The schema covers parameter semantics, but the tool would benefit from explaining what a 'candidate' looks like in the output.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already documents all three parameters with 100% coverage. The description adds only an implicit reference to 'multiple times' for samples and does not provide additional semantic value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'Detect' and identifies a unique resource 'DNS rebinding candidates', clearly distinguishing it from sibling DNS analysis tools. It also explains the method (resolving multiple times, checking IP changes and low TTL) which reinforces the purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly implies when to use the tool: when DNS rebinding is suspected, and provides context about the attack. However, it does not explicitly mention alternatives or when not to use it, which keeps it from a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/badchars/dns-security-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server