domain-and-asn-enumeration

domain-and-asn-enumeration is a skill for Claude Code, Codex from ShulkwiSEC/bb-huge. It costs 76 tokens per session (1,890 once invoked), scanned A, original, MIT.

A reconnaissance method for mapping an organisation's internet-facing assets, including domains, subdomains, IP ranges, and ASNs. An ASN is a number identifying a network and its registered address space.

In plain words
What is it for?
Preparing external penetration tests, bug-bounty assessments, merger-related infrastructure reviews, and vulnerability scans.
Why use it?
Security testing can miss systems when the organisation's external footprint is not known. Mapping it first helps define the authorised attack surface and later scanning scope.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - [`_shared/references/elite-chaining-strategy.md`](../_shared/references/elite-chaining-strategy.md) — Exploit chaining methodology and high-payout chain patte.

Good fit Preparing external penetration tests, bug-bounty assessments, merger-related infrastructure reviews, and vulnerability scans.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ShulkwiSEC/bb-huge
agentmods
npx agentmods add skills/shulkwisec/bb-huge/domain-and-asn-enumeration

Made for: Claude Code, Codex.

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 domain-and-asn-enumeration

README.md
[![agentmods](https://agentmods.dev/badge/skills/shulkwisec/bb-huge/domain-and-asn-enumeration/github.svg)](https://agentmods.dev/skills/shulkwisec/bb-huge/domain-and-asn-enumeration)
Your own site
<a href="https://agentmods.dev/skills/shulkwisec/bb-huge/domain-and-asn-enumeration"><img src="https://agentmods.dev/badge/skills/shulkwisec/bb-huge/domain-and-asn-enumeration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for domain-and-asn-enumeration

Your own site · 80×15
<a href="https://agentmods.dev/skills/shulkwisec/bb-huge/domain-and-asn-enumeration"><img src="https://agentmods.dev/badge/skills/shulkwisec/bb-huge/domain-and-asn-enumeration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,890 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00076 $0.01890
Opus 5 $0.00038 $0.00945
Sonnet 5 $0.00015 $0.00378
Haiku 4.5 $0.00008 $0.00189

Measured 7d ago against content hash 3dc062514156, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

domain-and-asn-enumeration scanned grade A with 1 finding 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/process.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "https://api.bgpview.io/search?query_term=tesla" | jq
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/curated/domain-and-asn-enumeration/SKILL.md · 178 lines

How it starts

The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Domain & ASN Enumeration

When to Use

  • Phase 1 of External Penetration Tests / Bug Bounty hunting.
  • When mapping the Attack Surface of a large enterprise or conglomerate.
  • When tracking mergers and acquisitions (discovering newly acquired, potentially insecure infrastructure).
  • Before conducting vulnerability scanning, to ensure you know every asset the target owns.

Prerequisites

  • Target organization name, domain, or individual identifier
  • OSINT framework tools installed (theHarvester, Maltego, Recon-ng)
  • Understanding of operational security to avoid alerting the target
  • Legal authorization for the intelligence gathering scope

Workflow

Phase 1: ASN (Autonomous System Number) Discovery

# Concept: Large organizations have their own ASNs, representing huge blocks of IP addresses.
# We want to map these to find infrastructure they host themselves vs cloud hosting.

# 1. Start with the main domain or company name via BGPView API or Hurricane Electric (bgp.he.net)
curl -s "https://api.bgpview.io/search?query_term=tesla" | jq

# 2. Extract ASNs provided in the response (e.g., AS394380)

# 3. Use Amass to map ASNs to IP ranges
amass intel -asn 394380

# 4. Alternatively, use whois to lookup the organization name
whois -h whois.radb.net -- '-i origin AS394380' | grep -Eo "([0-9.]+){4}/[0-9]+"

# This gives you the CIDR blocks (e.g., 216.239.32.0/19) owned directly by the company.

Phase 2: Reverse WHOIS and Domain Discovery

# Concept: We have the main domain (target.com). Now we want to find OTHER root domains 
# owned by the same company (target.net, target-holdings.com, acquired-startup.com).

# 1. Extract WHOIS registrant email or organization name from the main domain
whois target.com | grep "Registrant Organization\|Registrant Email"
# Result: Registrant Organization: Target Corp

# 2. Perform Reverse WHOIS (who owns domains matching this Org/Email?)
# Use Amass Intel module
amass intel -org "Target Corp"
amass intel -whois -d target.com

# 3. Use Crunchbase and Wikipedia to manually search for Subsidaries and Acquisitions.
# Add these root domains to your target list.

Read the full file on GitHub · 178 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 178 lines · 76 tokens per session scan A 3dc062514156

Subscribe to this mod's changes

domain-and-asn-enumeration is a skill published in the GitHub repository ShulkwiSEC/bb-huge (22 stars, last pushed 2mo ago), licensed MIT. It adds 76 tokens to every session and 1,890 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

domain-and-asn-enumeration

Identify and map the external corporate footprint of a target organization. Use this skill at the absolute beginning of an engagement (Reconnaissance) to identify all registered domains, subdomains, IP ranges, and Autonomous System Numbers (ASNs) owned by the target. This skill forms the foundation for all subsequent…

akashrpatil/awesome-offensive-security-skills · 76 tokens

osmedeus-expert

Expert guide for the Osmedeus security automation workflow engine. Use when: (1) writing or editing YAML workflows (modules and flows), (2) running osmedeus CLI commands (scan, workflow management, installation, server), (3) configuring steps, runners, triggers, or template variables, (4) debugging workflow execution…

j3ssie/osmedeus · 113 tokens

metabigor

Use when operating the metabigor CLI for OSINT recon and infrastructure mapping without API keys. Covers finding network ranges from an ASN, org, domain, or IP (net); enumerating subdomains from certificate logs (cert); enriching IPs with ports/CVEs via Shodan InternetDB (ip); searching public GitHub code for secrets…

j3ssie/metabigor · 143 tokens

Reconnaissance & OSINT Automation

Passive and active reconnaissance, subdomain enumeration, DNS analysis, technology fingerprinting, and OSINT data correlation for authorized security assessments.

Masriyan/Claude-Code-CyberSecurity-Skill · 33 tokens

building-threat-actor-profile-from-osint

Build comprehensive threat actor profiles using open-source intelligence (OSINT) techniques to document adversary motivations, capabilities, infrastructure, and TTPs for proactive defense.

26zl/cybersec-toolkit · 41 tokens

conducting-external-reconnaissance-with-osint

Conducts external reconnaissance using Open Source Intelligence (OSINT) techniques to map an organization's external attack surface without directly interacting with target systems. The tester gathers information from public sources including DNS records, certificate transparency logs, search engines, social media…

26zl/cybersec-toolkit · 96 tokens