performing-api-inventory-and-discovery

Featured

Performs API inventory and discovery to identify all API endpoints in an organization's environment including documented, undocumented, shadow, zombie, and deprecated APIs. The tester uses passive traffic analysis, active scanning, DNS enumeration, JavaScript analysis, and cloud resource inventory to build a comprehensive API catalog. Maps to OWASP API9:2023 Improper Inventory Management. Activates for requests involving API discovery, shadow API detection, API inventory audit, or attack surface mapping.

API & Backend 13,115 stars 1533 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Performing API Inventory and Discovery ## When to Use - Mapping the complete API attack surface of an organization before a security assessment - Identifying shadow APIs deployed by development teams without security review - Discovering deprecated or zombie API versions that remain accessible but unmaintained - Finding undocumented API endpoints exposed through mobile applications, SPAs, or microservices - Building an API inventory for compliance requirements (PCI-DSS, SOC2, GDPR) **Do not use** without written authorization. API discovery involves scanning network infrastructure and analyzing traffic. ## Prerequisites - Written authorization specifying the target domains and network ranges - Passive traffic capture capability (network tap, proxy, or cloud traffic mirroring) - Active scanning tools: Amass, subfinder, httpx, and nuclei - JavaScript analysis tools: LinkFinder, JS-Miner, or custom parsers - Access to cloud console (AWS, Azure, GCP) for API gateway inventory - Burp Suite Professional for passive API endpoint discovery ## Workflow ### Step 1: Passive API Discovery from Traffic Analysis ```python import re import json from collections import defaultdict # Parse HAR file from browser developer tools or proxy def analyze_har_for_apis(har_file_path): """Extract API endpoints from HTTP Archive (HAR) file.""" with open(har_file_path) as f: har = json.load(f) api_endpoints = defaultdict(lambda: { "methods": set(), "content_types":...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
3 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Solid

api-inventory-scanner

Discover and document existing API endpoints from code, logs, and traffic analysis

1,160 Updated today
a5c-ai
API & Backend Featured

detecting-shadow-api-endpoints

Discover and inventory shadow API endpoints that operate outside documented specifications using traffic analysis, code scanning, and API discovery platforms.

13,115 Updated today
mukul975
API & Backend Listed

api-breaker

Automated API security testing starting from domains. Discovers REST, GraphQL, and SOAP APIs, reconstructs schemas, and tests for BOLA/IDOR, BFLA, mass assignment, JWT attacks, rate limiting bypass, and business logic flaws. Use when user asks to "test API security", "break API", "find API vulnerabilities", "test GraphQL", "test JWT", "API pentest", or provides domains with API endpoints. For authorized testing only.

31 Updated today
KaQus
API & Backend Listed

api-discovery

Hidden API discovery and intelligence tool. Detects internal APIs, REST/GraphQL endpoints, WebSocket connections, and authentication patterns on any website. Useful for competitive intelligence, integration building, and understanding how SPA applications work under the hood. Triggers on: hidden API, discover APIs, endpoint, SPA, intercept, XHR, fetch requests, websocket, internal API, reverse engineer API, API patterns, API endpoints, API mapping.

2 Updated 3 days ago
ceoimperiumprojects
API & Backend Featured

api-fuzzing-bug-bounty

Provide comprehensive techniques for testing REST, SOAP, and GraphQL APIs during bug bounty hunting and penetration testing engagements. Covers vulnerability discovery, authentication bypass, IDOR exploitation, and API-specific attack vectors.

39,350 Updated today
sickn33