Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

hunt-shadow-api

Skill by Zyrexnn

Hunt-shadow-api is a security testing skill for finding old, forgotten, or undocumented API versions. It is aimed at security researchers who need to inventory an API's version history and compare old and current behavior.

  • Score 83
  • 1.1k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install hunt-shadow-api

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Zyrexnn/Cybermes /tmp/Cybermes && mkdir -p ~/.claude/skills && cp -r /tmp/Cybermes/skills/hunt-shadow-api ~/.claude/skills/hunt-shadow-api

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install hunt-shadow-api in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill covers OWASP API9, Improper Inventory Management. It guides the assistant through enumerating API versions across path, header, and subdomain schemes, and pulling OpenAPI or Swagger specs, including archived copies found through the Wayback Machine. It then diffs endpoint lists between versions and compares auth, rate limiting, input validation, and field exposure on operations that exist in both versions.

The skill is written for security researchers testing APIs that have version history, several specs, deprecated endpoints, or mobile backend calls that look older than the web app's. It states that it does not cover exploitation, which is handled by hunt-api-misconfig, or host-level discovery, which is handled by hunt-subdomain.

Written from the project's SKILL.md and checked against it.

What it can do

  • Version surface enumerationProbes path, header, and subdomain versions such as v1, v2, beta, and legacy to find live old versions.
  • Spec discoveryChecks common OpenAPI and Swagger paths and searches the Wayback Machine for deprecated specs.
  • Endpoint inventory diffCompares path lists between two specs to find routes documented only in the older version.
  • Behavioral diffCompares auth strength, rate limiting, input validation, and field exposure between old and current versions.
  • Deprecated route discoveryFinds internal or unused routes in JS bundles, robots.txt, sitemap.xml, and mobile app endpoint lists.
  • Severity guidanceGives a severity table and a false-positive gate for version-related findings.

What you need

  • curl
  • jq
  • Bash shell
  • Access to the target API for authorized testing

Try asking

  • Enumerate the old API versions exposed on this target and list which ones return non-404 responses.
  • Compare the paths in the v1 and v2 OpenAPI specs and show which routes only exist in v1.
  • Check whether the v1 endpoint accepts an expired token that v2 rejects.

Good to know

  • Only useful when the target has more than one API version to compare.
  • Response shape differences alone are informational, not security findings.
  • A deprecation message served with a 200 status is not a finding unless the operation still runs.
  • Exploitation is handled by a separate skill, hunt-api-misconfig.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/hunt-shadow-api/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB

Alternatives to hunt-shadow-api

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

hunt-shadow-api: common questions

What is an API9 shadow or zombie API?

The skill describes it as an old API version or internal route that stays reachable without the same security fixes as the current version. It is usually a gap in tracking rather than a single bug.

Can it find old API specs that are no longer linked?

Yes. The skill includes Wayback Machine CDX searches to find deprecated swagger or openapi files that are still indexed after the live link is removed.

How does it tell a real finding from a version difference?

It treats the finding as a security regression, such as weaker auth, rate limiting, or validation in an older version. It also says to confirm the old endpoint is not just an alias of the current one.

How do I install hunt-shadow-api?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is hunt-shadow-api free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is hunt-shadow-api safe to use?

It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to hunt-shadow-api?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

hunt-shadow-api Install

Add to stack

Loading.