performing-api-inventory-and-discovery

Catalog APIs across an organization via traffic analysis, probing, JS analysis, and gateway inventory.

2|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/Acczdy/MoZiSec --skill performing-api-inventory-and-discovery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performing-api-inventory-and-discovery
Source: https://github.com/Acczdy/MoZiSec/tree/main/api-security/.claude/skills/performing-api-inventory-and-discovery
Command: npx skills add https://github.com/Acczdy/MoZiSec --skill performing-api-inventory-and-discovery

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Identifies and inventories all APIs across an organization by aggregating passive traffic analysis, active endpoint probing, JavaScript source analysis, and cloud gateway inventory.

Core Features & Use Cases

  • Passive API discovery from traffic data, HAR logs, and server headers to map endpoints and authentication patterns.
  • Active endpoint discovery across domains and cloud gateways to enumerate live paths, versions, and health endpoints.
  • JavaScript source analysis to uncover API references embedded in web apps and SPAs.
  • Shadow API and zombie API detection by comparing discovered endpoints against official catalogs and version histories.
  • Use Case: Security teams perform API surface assessments, drift detection, and risk prioritization for audits.

Quick Start

Run the API inventory and discovery agent against your target domain to start enumerating endpoints.

Frequently Asked Questions about performing-api-inventory-and-discovery

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I discover shadow APIs and zombie APIs across my enterprise environments?

API inventory and discovery identifies all APIs across an organization by aggregating passive traffic analysis, active endpoint probing, JavaScript source analysis, and cloud gateway inventory. It maps endpoints, versions, and authentication patterns to produce a comprehensive catalog for security assessments.

How do I find hidden API endpoints from JavaScript source files and HAR logs?

You can find hidden API endpoints by analyzing JavaScript source files for embedded API references and parsing HAR logs for passive traffic data. This process maps live paths and authentication patterns from web apps and SPAs into a centralized inventory.

What is the best way to map an organization's API surface for a security audit?

The best way to map an API surface for a security audit is combining active probing across domains with cloud gateway inventory enumeration. Applying OpenAPI/Swagger parsing and automated risk classification produces a comprehensive inventory for drift detection and risk prioritization.

Can I use passive traffic analysis to detect API drift and undocumented endpoints?

Yes, passive traffic analysis detects API drift and undocumented endpoints by extracting server headers and traffic data. Comparing this passive traffic data against official OpenAPI/Swagger catalogs reveals live paths and version histories that have drifted from documented specifications.

Does API inventory and discovery require parsing OpenAPI and Swagger specifications?

Parsing OpenAPI and Swagger specifications is integrated into the API inventory and discovery process to establish an official catalog. Comparing actively probed endpoints and passive traffic against these parsed specifications enables accurate shadow API detection and automated risk classification.