Index of every page on this site: llms.txt
All skills
elementalsouls avatar

/org-attack-surface

@c359ec1
Run it yourself

Org-grade attack-surface mapping: given a company's legal identity, discover its ENTIRE owned internet footprint — corporate family -> owned domains -> owned netblocks/ASN -> live assets — with attribution discipline, not just DNS breadth. The org-first attribution pyramid (legal entity -> LEI/registration -> corporate family -> owned domains -> owned netblocks/ASN -> live assets). Corporate-identity resolution via the GLEIF LEI API (legal name -> LEI, exact-LEI direct-children expansion, downward-only depth-capped BFS, NEVER a name re-resolution), SEC-EDGAR full-text search + Exhibit-21 subsidiary entity names, OpenCorporates entity corroboration, Wikidata SPARQL corporate graph (P856/P355/P749/P1830). Domain attribution via reverse-WHOIS (WhoisXML preview-then-purchase quota guard, SecurityTrails associated-domains — both paid), crt.sh O= certificate-transparency organization pivot (keyless), infrastructure correlation (shared NS/MX/SaaS-TXT, netblock membership, reverse-DNS PTR), and the independent-evidence combiner (1-prod(1-w_i), rule of three, OwnerTier NONE/WEAK/MODERATE/STRONG/CONFIRMED) — discover-only `related:` candidates are NEVER auto-scanned. Netblock/ASN attribution via org-first RIR queries (ARIN Whois-RWS org-handle search, RIPE DB organisation + inverse-org search) that recover 'dark netblocks' with no DNS link to the seed, ASN discovery (RIPEstat + BGPView union), the HYPERSCALER-SCOPE GUARD (never attribute a whole AWS/GCP/Azure/Cloudflare announced range to a tenant — keep only the seed-containing block, tag shared_hosting_cdn), and org-identity-seeded internet-scan-index queries (Shodan/Censys/ZoomEye/FOFA/BinaryEdge org: filters + an always-on keyless crt.sh fallback). Promote-to-scan triage ranks forgotten discover-only netblocks by remote-access exposure (gateway-vendor/KEV/control-plane/datastore port scoring) into an operator queue. Attribution confidence rubric + anti-patterns (namesake grafting via GLEIF name re-resolution, single-signal ownership, hyperscaler over-attribution, privacy-WHOIS pivot poisoning, RIR org-name collisions). Passive/keyless-first OSINT only — every paid-key dependency is enrichment on top of a keyless core, never a hard requirement. Use when mapping an organization's full corporate-family internet footprint, resolving a legal entity to its LEI/subsidiaries, discovering domains/netblocks/ASNs an org owns beyond its one seed domain, auditing M&A/shadow-IT sprawl, or scoping an engagement that starts from a company NAME rather than a domain.

Use this Skill: https://skilld.dev/gh/elementalsouls/claude-osint/org-attack-surface

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈1.5k tokens on demand. Your agent reads this file only when SKILL.md points to it.

org-attack-surface skill

The "start from a company, not a domain" skill — org-first attribution: legal entity → corporate family → owned domains → owned netblocks/ASN → live assets, with attribution discipline at every hop.

Field Value
Name org-attack-surface
Version 1.0
Lines ~1,045
Top-level sections 15
Companion skills osint-methodology (the pipeline this plugs into), offensive-osint (the per-host arsenal you run once ownership is confirmed)

When this skill triggers

Auto-triggers on prompts containing any of ~50 trigger phrases. Common ones:

  • org attack surface, org footprint, corporate family, corporate family mapping
  • subsidiary discovery, subsidiary attack surface, M&A footprint, shadow IT discovery
  • GLEIF, LEI lookup, legal entity identifier, legal name to LEI
  • SEC EDGAR, EDGAR subsidiary, Exhibit 21, 10-K subsidiaries
  • OpenCorporates, Wikidata corporate graph
  • reverse WHOIS, crt.sh organization search, crt.sh O=, certificate transparency org pivot
  • dark netblock, org-first RIR search, ARIN Whois-RWS, RIPE DB search, RDAP entity search
  • ASN discovery, BGPView, RIPEstat
  • hyperscaler scope guard, cloud netblock over-attribution, AWS netblock attribution
  • promote to scan, discover-only candidate
  • org identity resolution, corporate identity resolution, owned netblock discovery
  • org index search, outward identity search, Shodan org filter, Censys organization filter
  • attribution confidence, ownership tier, independent evidence combiner, rule of three attribution
  • namesake grafting, org tree walk, company name to attack surface

Full trigger list in the SKILL.md frontmatter.

What's in it

  • §2 — Confidence Levels & Ownership Tiers. The two-axis model this whole skill runs on: finding confidence (TENTATIVE/FIRM/CONFIRMED) vs. ownership tier (NONE/WEAK/MODERATE/STRONG/CONFIRMED, computed by the independent-evidence combiner) — and why discover_only is a structural gate independent of either.
  • §6 — The org-first attribution pyramid. Legal entity → corporate family → owned domains → owned netblocks/ASN → live assets, with a discovery-direction cheat sheet (top-down vs. bottom-up) and why DNS-only recon structurally cannot find dark netblocks or no-DNS-linked subsidiaries.
  • §7 — Corporate identity resolution. GLEIF LEI API (name→LEI, exact-LEI direct-children recursion, downward-only depth/fan-out caps, the namesake-grafting trap), SEC-EDGAR Exhibit-21, OpenCorporates entity corroboration, Wikidata SPARQL (P856/P355/P749/P1830), and the seed-org identity-anchoring priority order.
  • §8 — Domain attribution. Reverse-WHOIS (quota-guarded preview-then-purchase, paid), crt.sh O= (keyless), infrastructure correlation (NS/MX/SaaS-TXT/netblock/PTR), the full independent-evidence signal weight table (13 signal types, 0.35–1.0), the depth-1 entity→domain pivot, and the discover-only related: namespace contract.
  • §9 — Netblock & ASN attribution. Org-first RIR queries (ARIN Whois-RWS + RIPE DB, exact-slug gated) that recover "dark netblocks," bottom-up ASN discovery (RIPEstat + BGPView), the hyperscaler-scope guard (never attribute a whole AWS/GCP/Azure/Cloudflare range to a tenant), and org-identity-seeded internet-scan-index search (Shodan/Censys/ZoomEye/FOFA/BinaryEdge + always-on keyless crt.sh fallback).
  • §10 — Promote-to-scan triage. Remote-access exposure scoring (gateway-vendor/KEV/control-plane/ datastore weights) ranking forgotten dark netblocks into an operator queue — passive, mints no new assets, confirms nothing.
  • §11 — Attribution confidence rubric + anti-pattern catalog. Namesake grafting, single-signal ownership, hyperscaler over-attribution, RIR org-name collisions, privacy-WHOIS pivot poisoning, discover-only score creep.
  • §12 — End-to-end workflow tying §7–§10 into one run order, with a rough time budget.
  • §13 — 16-prompt self-test including a negative case (a STRONG-scoring related domain should NOT be auto-scanned).

Every recipe (GLEIF, EDGAR, OpenCorporates, Wikidata, crt.sh O=, ARIN Whois-RWS, RIPE DB, RIPEstat, BGPView) ships as copy-paste curl and PowerShell.

Keyless-first

The corporate-identity and dark-netblock core of this skill runs with zero API keys: GLEIF, SEC-EDGAR, OpenCorporates, Wikidata, crt.sh O=, ARIN Whois-RWS, RIPE DB, RIPEstat, and BGPView are all keyless. Only two things are paid enrichment on top of that core:

  • Reverse-WHOIS (§8.1) — WhoisXML and SecurityTrails both require a key; there is no keyless reverse-WHOIS path. The keyless core (crt.sh O= + registry entity pivots + infra correlation) covers domain attribution without it.
  • Internet-scan-index org search (§9.6) — Shodan/Censys/ZoomEye/FOFA/BinaryEdge/Netlas org: filters are key-gated; the crt.sh O= fallback for cross-root domains always runs regardless.

Grounded in production, not invented

Every weight, cap, threshold, and gate rule in this skill (the 1-Π(1-w_i) combiner, the 13-row signal weight table, GLEIF's 200-node/50-fan-out caps, the ARIN/RIPE exact-slug match gate, the hyperscaler-scope guard, the remote-access exposure score) is transcribed from a shipped, tested implementation — not invented for the skill. See the Changelog in SKILL.md §14 for the exact source files.

Loading

# Local Claude Code install
cp SKILL.md ~/.claude/skills/org-attack-surface/SKILL.md

# Or attach to a Claude.ai project / Claude API system prompt
# (paste contents of SKILL.md as project knowledge)

Self-test

Run the 16 prompts in SKILL.md §13 against a fresh session to verify the skill loads and routes correctly — including prompt 12, the negative case that a high ownership score does not authorize active scanning.

License

MIT — see LICENSE.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

2 warnings2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides a methodology and command snippets for organizational attack surface mapping using OSINT. It leverages trusted data sources like the US SEC, GLEIF, and Regional Internet Registries. It includes explicit safeguards, such as the 'Hyperscaler Scope Guard' and 'discover-only' tagging, to prevent unauthorized scanning of third-party infrastructure.

  • Socket2mo

    1 alert: gptSecurity

  • Snyk2mo

    Risk: MEDIUM · 1 issue

Signed by skilld at c359ec1. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 3 months ago
version
1
sources
asm_reference_impl, gleif, public_research
Other metadata
triggers
[
  "org attack surface",
  "organization attack surface",
  "org footprint",
  "corporate footprint",
  "corporate family",
  "corporate family mapping",
  "corporate family tree",
  "subsidiary discovery",
  "subsidiary attack surface",
  "subsidiary mapping",
  "GLEIF",
  "LEI lookup",
  "legal entity identifier",
  "legal name to LEI",
  "EDGAR subsidiary",
  "SEC EDGAR",
  "Exhibit 21",
  "10-K subsidiaries",
  "OpenCorporates",
  "Wikidata corporate graph",
  "reverse WHOIS",
  "reverse whois pivot",
  "crt.sh organization search",
  "crt.sh O=",
  "certificate transparency org pivot",
  "CT org pivot",
  "dark netblock",
  "org-first RIR search",
  "ARIN Whois-RWS",
  "ARIN org search",
  "RIPE DB search",
  "RIPE organisation search",
  "RDAP entity search",
  "ASN discovery",
  "BGPView",
  "RIPEstat",
  "hyperscaler scope guard",
  "cloud netblock over-attribution",
  "shared hosting CDN attribution",
  "AWS netblock attribution",
  "M&A footprint",
  "M&A attack surface",
  "shadow IT discovery",
  "promote to scan",
  "discover-only candidate",
  "org identity resolution",
  "corporate identity resolution",
  "owned netblock discovery",
  "owned ASN discovery",
  "org index search",
  "outward identity search",
  "identity-seeded discovery",
  "attribution confidence",
  "ownership tier",
  "owner signal",
  "independent evidence combiner",
  "rule of three attribution",
  "namesake grafting",
  "org tree walk",
  "subsidiary entity pivot",
  "registrant org pivot",
  "WHOIS privacy pivot",
  "Shodan org filter",
  "Censys organization filter",
  "company name to attack surface"
]

README badge

README badge for elementalsouls/claude-osint/org-attack-surface