hunt-subdomain

Detect DNS misconfigurations enabling subdomain takeover via CNAME chain fingerprinting.

2|Updated Apr 11, 2025
One-click install
npx skills add https://github.com/Carlos-Reyes-UTP/Desarrollo-de-Sistema-de-Ventas-Empresas-de-Moda --skill hunt-subdomain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-subdomain
Source: https://github.com/Carlos-Reyes-UTP/Desarrollo-de-Sistema-de-Ventas-Empresas-de-Moda/tree/main/.agent/skills/hunt-subdomain
Command: npx skills add https://github.com/Carlos-Reyes-UTP/Desarrollo-de-Sistema-de-Ventas-Empresas-de-Moda --skill hunt-subdomain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you identify subdomains vulnerable to takeover by detecting stale DNS records that point to deprovisioned third-party resources and then validating whether the provider namespace is currently claimable.

Core Features & Use Cases

  • Subdomain enumeration & resolution workflow: Collect subdomains, resolve DNS records, and prioritize candidates via CNAME chains and DNS status.
  • Provider fingerprinting & detection signals: Use common takeover indicators across providers (GitHub Pages, GitLab Pages, S3, Heroku, UserVoice, Zendesk, Shopify, Fastly, and others).
  • Claimability validation with guardrails: Confirm claimability by attempting to register/control the underlying resource and documenting the chain without serving malicious content.
  • Impact-oriented escalation checks: Assess whether the takeover surface could enable account compromise or higher-severity outcomes (OAuth/SSO redirect abuse, shared cookies, CSP allowlists, authenticated API usage).

Quick Start

Use the hunt-subdomain skill to enumerate a target’s subdomains, resolve CNAMEs, verify provider-specific error responses, and validate claimability with reproducible evidence.

Frequently Asked Questions about hunt-subdomain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is subdomain takeover and how do stale DNS CNAME records cause it?

Subdomain takeover occurs when stale DNS CNAME records point to deprovisioned third-party resources. The skill maps these CNAME chains to provider infrastructure and checks for provider-specific not found signals to identify vulnerable subdomains.

How do I validate if a dangling subdomain is claimable during bug bounty triage?

To validate claimability during bug bounty triage, the skill attempts to register the underlying resource and documents the CNAME chain without serving malicious content, applying a claimability validation gate before reporting.

Does subdomain takeover detection work with GitHub Pages, Heroku, and S3 fingerprints?

Yes, subdomain takeover detection uses common takeover indicators across providers like GitHub Pages, Heroku, S3, GitLab Pages, Fastly, Shopify, and Zendesk to identify unclaimed or not found responses.

How do I assess the impact of a subdomain takeover on OAuth and SSO redirects?

Assess subdomain takeover impact by checking if the takeover surface enables account compromise via OAuth/SSO redirect abuse, shared cookies, CSP allowlists, or authenticated API usage.

What's the best way to automate subdomain enumeration and DNS resolution for takeover hunting?

The best way to automate takeover hunting is to collect subdomains through passive enumeration or certificate transparency, resolve DNS records, and prioritize candidates via CNAME chains and DNS status for fingerprint matching.

When should I not attempt subdomain takeover validation without guardrails?

You should not validate subdomain takeover without guardrails when the provider namespace is claimable, as the skill enforces documentation of the chain without serving malicious content to prevent abuse.