Skip to content
Skill

Find hidden subdomains

Maps an organisation's subdomains and sibling domains from certificate and passive DNS

Find hidden subdomains is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
76
Last commit
License
MIT
Listing updated

Similar skills

About Find hidden subdomains

This skill guides an agent through building a hostname inventory for a target domain using public sources that never touch the target directly. It explains how Certificate Transparency logs work, how to query crt.sh in JSON form, and how to read certificate SAN fields to separate the target's own names from those of unrelated tenants sharing a certificate.

The workflow covers choosing a starting source based on what the investigator already holds, combining CT history with passive DNS and wordlist candidates, then resolving names into live, CNAME and dead buckets. It includes a check for wildcard DNS before trusting brute-force results, and notes when a wildcard certificate hides hosts from CT. A confidence grading scheme ranks each finding by how well it is verified.

The skill expects a domain or organisation name as input and common command-line tools such as curl, jq, subfinder, amass and dnsx. It ships no scripts of its own. It also flags which steps are active, such as DNS brute-forcing and HTTP probing, so they can be kept within written scope.

When your agent uses it

Enumerate an organisation's subdomains and sibling domains from Certificate Transparency logs and passive DNS, without sending traffic to the target. Covers crt.sh and CT log queries, certificate SAN fields, subfinder and amass, and newly issued TLS certificates. Use when looking for staging, dev, admin or VPN hosts, mapping the full hostname footprint of a domain, or spotting infrastructure a company forgot it had. Applies to attack-surface mapping, vendor and supply-chain security review, brand-infringement discovery, and M&A technical diligence. Reference at useosint.com/skills/find-hidden-subdomains.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (28 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the useosint plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add UseOSINT/Skills
/plugin install useosint@useosint

Or copy only this skill to ~/.claude/skills/find-hidden-subdomains:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UseOSINT/Skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/find-hidden-subdomains &&
cp -R "$tmp/skills/find-hidden-subdomains" ~/.claude/skills/find-hidden-subdomains &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/find-hidden-subdomains inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/find-hidden-subdomains to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UseOSINT/Skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/find-hidden-subdomains &&
cp -R "$tmp/skills/find-hidden-subdomains" ~/.agents/skills/find-hidden-subdomains &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/find-hidden-subdomains inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/find-hidden-subdomains to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UseOSINT/Skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/find-hidden-subdomains &&
cp -R "$tmp/skills/find-hidden-subdomains" ~/.cursor/skills/find-hidden-subdomains &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/find-hidden-subdomains inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/UseOSINT/Skills.git --path skills/find-hidden-subdomains

Or copy the folder to ~/.gemini/skills/find-hidden-subdomains yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/find-hidden-subdomains:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UseOSINT/Skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/find-hidden-subdomains &&
cp -R "$tmp/skills/find-hidden-subdomains" ~/.copilot/skills/find-hidden-subdomains &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/find-hidden-subdomains inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/UseOSINT/Skills.git

Then copy Skills/skills/find-hidden-subdomains into your agent's skills folder as find-hidden-subdomains. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Certificate Transparency queries
Shows how to search crt.sh by domain, wildcard or organisation name and read the returned certificate fields.
SAN field analysis
Explains how to read subject alternative names to tell intentional groupings from bundled multi-tenant certificates.
Passive source combination
Covers running subfinder and amass in passive mode and resolving candidates with dnsx.
Wildcard DNS detection
Describes testing a random nonexistent name to catch zones that answer everything before trusting brute-force output.
Name pattern triage
Points to a reference that ranks dev, staging, VPN and admin hostnames by risk and follow-up.
Confidence grading
Defines confirmed, probable and unconfirmed levels for each discovered host and the evidence to record.
Scope and ethics notes
Separates passive lookups from DNS brute-forcing and HTTP probing and reminds the user to stay within written scope.

Good for

  • Find forgotten staging or VPN hostnames for a company domain
  • Map the full hostname footprint of a domain before a security review
  • Discover sibling or acquired domains during M&A technical diligence
  • Check a vendor's certificate-listed hosts during supply-chain security review
  • Spot typosquatting certificates that imitate a brand's domain

Find hidden subdomains FAQ

Does Find hidden subdomains send traffic to the target?

Querying Certificate Transparency logs and passive DNS does not touch the target. Wordlist brute-forcing and HTTP probing do send traffic and are flagged as active steps to keep within scope.

Why can't CT logs show every host?

Only publicly trusted certificates reach CT logs. Hosts behind private CAs, self-signed certificates, Cloudflare origin certificates or wildcard certificates are not listed by name.

How do I avoid false positives from shared certificates?

Check whether the other names on a certificate belong to the target. Certificates with many unrelated names usually come from hosting providers or CDNs.

What tools does the skill use?

It references crt.sh queries with curl and jq, plus subfinder, amass and dnsx for passive enumeration and resolution.

How do I install Find hidden subdomains in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/find-hidden-subdomains to use it in all your projects, or to .claude/skills/find-hidden-subdomains in one project. Or install the useosint plugin, which includes it: /plugin marketplace add UseOSINT/Skills, then /plugin install useosint@useosint.

Does Find hidden subdomains run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Find hidden subdomains?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Find hidden subdomains?

The closest alternatives to Find hidden subdomains are Reconnaissance, Recon a domain passively, Find exposed servers, Techstack identification and Who owns this domain.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from UseOSINT/Skills

  1. Maps a target's internet-exposed hosts and services using scan-platform data, without

    • Open source
    • 76 GitHub stars
    • Security
  2. Checks whether leaked credentials or selectors are circulating and judges if a breach

    • Open source
    • 76 GitHub stars
    • Security
  3. Traces where an image first appeared using reverse image search across several engines

    • Open source
    • 76 GitHub stars
    • Web search and scraping
  4. Traces crypto addresses and transactions on public blockchains with graded confidence

    • Open source
    • 76 GitHub stars
    • Security
  5. Work out where and when a photo was taken from visual clues and map imagery

    • Open source
    • 76 GitHub stars
    • Security
  6. Builds advanced search-engine dorks to surface exposed files and leaked documents

    • Open source
    • 76 GitHub stars
    • Web search and scraping