Skip to content
Back to skills

Api Improper Inventory

ASecurity

Improper Inventory Management (OWASP API9) — discover shadow, zombie, deprecated, and undocumented API versions plus non-prod/staging hosts that reintroduce fixed bugs or bypass monitoring. Tier 1. Use to enumerate versions and hosts after initial recon.

  • 16 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
securitygobashtestingapibackend

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill api-improper-inventory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Improper Inventory?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Improper Inventory
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-api-improper-inventory/badge)](https://www.skillsdirectory.com/skills/anandjogawade-api-improper-inventory)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api-improper-inventory
description: Improper Inventory Management (OWASP API9) — discover shadow, zombie, deprecated, and undocumented API versions plus non-prod/staging hosts that reintroduce fixed bugs or bypass monitoring. Tier 1. Use to enumerate versions and hosts after initial recon.
---

# API9 — Improper Inventory Management

Old versions, forgotten endpoints, and non-prod hosts carry weaker auth and un-patched bugs, and often sit outside WAF/monitoring. Builds on `api-recon`.

## Trigger phrases
`api9, improper inventory, shadow api, zombie endpoint, deprecated version, staging host, api versioning, undocumented api`

## Method
1. **Version enumeration** — swap the version segment on known routes: `/api/v1`, `/v2`, `/v3`, `/beta`, `/alpha`, `/internal`, `/legacy`. Compare behaviour/auth across versions on the *same* endpoint.
   ```bash
   for v in v1 v2 v3 beta internal legacy; do
     curl -s -o /dev/null -w "$v %{http_code}\n" https://TARGET/api/$v/users/1; done
   ```
2. **Deprecated-but-live** — docs mark an endpoint removed, yet it still responds (often with pre-fix logic / weaker auth). Diff published docs vs. live surface.
3. **Non-prod hosts** — resolve `staging.`, `dev.`, `uat.`, `test.`, `api-test.`, `sandbox.`, `qa.` subdomains:
   ```bash
   subfinder -d TARGET | httpx -sc -title | grep -Ei 'stag|dev|uat|test|sandbox|qa'
   ```
   test the same API on each — non-prod frequently has debug on, default creds, no rate limit.
4. **Undocumented/debug routes** — `/actuator`, `/debug`, `/_internal`, `/swagger` on old versions; APK/JS-sourced endpoints absent from docs (`api-recon`).
5. **Environment diff** — run the same payload against old vs. current version; a bug fixed in v2 may still live in v1.

## Modern / rare techniques
- **[RARE] Zombie endpoints** — fully deprecated but reachable, lacking every control added later; a goldmine for re-testing all other classes.
- **[RARE] Shadow APIs from mobile** — APK-only endpoints never fronted by the WAF; cross-ref `api-recon` APK extraction.
- **[RARE] Host-based control gap** — prod enforces authz at the gateway; staging exposes the backend directly.

## Escalation / chaining
Each discovered version/host → re-run `api-bola`, `api-bfla`, `api-broken-auth`, `api-injection` against it; old versions often fall to already-patched bugs. Non-prod creds may pivot to prod data.

## Backend & tooling
Preferred Kali path (WSL+Kali / Kali-MCP / HexStrike): subfinder/httpx/ffuf for host+version sweeps; Burp to replay a known request across versions. See `zazy-orchestrator`.

## Verification (background, before reporting)
Confirm the alternate version/host returns real data or a genuinely weaker control (not an identical proxy), reproduced independently. Show the control difference vs. the current version. True positives only.

## Evidence
The shadow/zombie/deprecated endpoint or non-prod host, side-by-side with the current version showing weaker auth / reintroduced bug. Impact + remediation (API inventory, retire old versions, uniform controls across versions and hosts).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.