Last updated: April 29, 2026
Why this module. Most enterprises have 30-60% more APIs than their security team knows about. Shadow APIs (unauthorised), zombie APIs (deprecated but still listening), partner APIs nobody documented. Each is an attacker’s entry point.
The four classes of unknown APIs
- Shadow API — not on your inventory, exposed anyway. Often a developer’s “quick fix” that became permanent.
- Zombie API — was retired; load balancer still routes; backend still listens.
- Internal API exposed — meant to be private, accidentally reachable from internet.
- Third-party API hardcoded — vendor API keys in your code; vendor breach = your breach.
Discovery sources
- Code analysis — grep for route definitions, decorators, OpenAPI specs.
- Traffic analysis — load balancer / API gateway / WAF logs. Group by host + path; find clusters not in inventory.
- External recon — Shodan, Censys, subdomain enumeration on your external surface.
- API gateway native discovery — Kong, Apigee, AWS API Gateway have inventory features.
- Dedicated tools — Salt Security, Noname (now Akamai), Wallarm, Traceable.
What “inventory” means
Per API endpoint:
- Route path + method
- Owner team
- Authentication required (none / API key / OAuth / mTLS)
- Authorization model
- Data classification (public / internal / confidential)
- Rate limit
- Internet-facing yes/no
- Last code review date
- Last security review date
The continuous discovery loop
Run weekly:
- Pull traffic logs.
- Extract unique route + host pairs.
- Diff against current inventory.
- For new entries: alert; investigate; document or shut down.
Defender’s checklist
- API inventory as code (OpenAPI specs in source control).
- Weekly diff against actual traffic.
- Tagged with owner, classification, security review status.
- API gateway as policy enforcement point — no-spec APIs blocked.
- Zombie cleanup quarterly.
Module Quiz · 6 questions
Pass with 80%+ to mark this module complete. Unlimited retries. Each question shows an explanation.
Custom team training + practitioner advisory
Beyond the free academy — we run private workshops, vCISO advisory, and red-team exercises tailored to your stack. For Indian SMBs scaling past their first hire.