Building ShadowIndex.ai: From First Commit to Open Registration in Five Months
What we set out to build
Security teams need to see what an attacker sees from the outside, today, not a snapshot crawled weeks ago. We wanted a product an analyst or engineer could point at a domain, an IP address or a range and get fresh answers: every subdomain and live host, what each one runs, which known vulnerabilities apply, and which of those are being exploited in the wild.
We did not write scanners from scratch. We started from two mature open-source codebases: IVRE for network reconnaissance (masscan, zgrab2, zdns, nuclei and others) and SpiderFoot for open-source intelligence, which we forked and hardened. Both were built for a single operator on a single machine. The work was turning them into one product that many customers could share safely, and pay for.
Constraints we held to
Data
- Raw observations never expire on a timer
- Every derived store can be rebuilt from the raw log
- Replaying the log never duplicates a result
- Schema changes that would break a consumer are refused
Customers
- Network owners can opt out of being scanned
- Scans that probe a target need a recorded authorization
- Findings are ranked by exploitability, not CVSS score alone
- Customers pay for what a scan actually covered
How it fits together
- 01
Scanners publish observations
IVRE and the SpiderFoot fork run as workers and publish what they see as typed events: a small envelope carrying a Protobuf payload, one schema per kind of observation. A compatibility check refuses schema changes that would break a consumer.
- 02
One replayable event log carries everything
Every observation lands on a Redpanda event bus. Observation IDs are deterministic, so replaying history to rebuild a store never produces duplicates.
- 03
Enrichers add context
Separate services read the log and publish back to it: CVE matching from an offline NVD and CISA KEV corpus, forward DNS, favicon fingerprints, RDAP owner and abuse contacts, security.txt, and RDP and VNC screenshots. A resolver links hosts, domains, networks and companies into an entity graph.
- 04
Each question gets the store built for it
ClickHouse keeps the IP-keyed history, OpenSearch serves full-text host search, Postgres holds accounts, billing and scan jobs, and object storage keeps raw artifacts. Any of them can be rebuilt from the log.
- 05
One API and one app on top
A Python API and a React app serve search, scans, the entity graph, monitors, investigations and reports, plus a public API with scoped keys.
The hard parts
People data: only what the target publishes
An OSINT tool can easily become a people-search engine. ShadowIndex keeps a name or contact only when it appears on the target's own pages, the exposure a phisher would use. Registry contacts from WHOIS and RDAP, guessed addresses and usernames, and lookups that send a scraped name to another service are all left out.
Authorization for scans that touch a target
Invasive scans require an explicit attestation tied to the acceptable use policy. The API refuses them without it and records who confirmed, when, and under which policy version. Network owners can opt out after proving control through their RDAP abuse contact, and the platform publishes its scanner details and security.txt.
CVE matches you can trust
Scanners and NVD often name the same product differently, and version strings arrive messy. Vendor aliases and version normalization fixed the misses. Distro backport revisions are deliberately left alone, so a patched package is not flagged as vulnerable. CISA KEV and EPSS then weight the ranking.
Billing that matches the work
Scans are metered in minutes. Minutes are held when a scan is submitted, users see measured cost ranges before they launch, and canceled or partial scans are billed only for what they covered. Stripe webhooks are signature-verified and idempotent.
Fair scheduling and recovery
Per-organization concurrency caps keep one customer from starving the rest, with backfill when capacity frees up. Jobs interrupted by a restart are requeued with a bounded retry count. Customer-supplied values reach scan workers by name only, so they cannot inject container flags.
Hardening an open-source fork
The SpiderFoot fork gained CSRF protection (upstream shipped the helper but never called it), Origin checks, a query allow-list, an SSRF guard, login auto-blocking, CSP nonces and per-user tenancy.
Tested as it was built
More than 1,300 test files cover the platform's own services, from the API and app to the scheduler and schemas. Secret scanning, static analysis, and container and dependency audits run in CI, with third-party build actions pinned to exact commits.
What shipped
Billing went in on day two, and paid plans were live by the end of September. ShadowIndex.ai opened free registration on November 3, 2026. Free accounts get host search, passive scans and a monthly allowance of scan minutes. Paid plans add active and attack-surface scans, the API, monitors, investigations and reports.
What this means for your project
Start from what already works
We built on two mature open-source codebases and spent our time on what turned them into a product: accounts, scan authorization, billing and a single index.
Get the data model right first
Because every store can be rebuilt from one event log, a new way to view the data is a rebuild, not a risky migration.
Billing is a feature, not an afterthought
Billing went in on day two, so how a scan is priced, held, measured and settled shaped the scheduler from the start rather than being bolted on before launch.
Security belongs in the product, too
Recorded authorizations, a verified opt-out and a hardened fork are part of what we shipped, not a report we filed afterwards.
Have a product to build?
Tell us what it needs to do. We scope it, build it and ship it, with the same testing and security work that went into ShadowIndex.ai.