hunt-spa-api
Discovers a single-page app's hidden backend API by mining its JavaScript bundles for routes and hosts, then tests those endpoints unauthenticated to find missing authentication and broken access cont
What it does
Discover a single-page-app's hidden backend API from its public JS bundle, then test that API for broken access control / missing authentication. One of the highest-yield web plays in modern recon — SPAs ship their entire backend route map to the browser, and the API behind them is frequently missing the auth middleware the login page implies. Built from an authorized engagement where this play found an unauthenticated financial API that an ASM scan reporting hundreds of "Criticals" completely missed. Use whenever a target serves a JS-heavy SPA (React/Vue/Angular/Next), an "app"/"console"/"dashboard"/"portal" subdomain, or any `*api*` host shows up in recon. Leaked build artifacts (source maps / .env / .git / asset-manifest) are owned by hunt-source-leak; API version-inventory and behavioral diffing by hunt-shadow-api; this skill owns mapping a live SPA's backend routes from its JS bundle and testing them for broken access control / missing auth.
Quality judgment
This is an exceptionally thorough and practical skill document. It provides clear triggers, a detailed 5-step playbook with concrete commands, and critical anti-pattern warnings. The distinction between frontend auth and backend auth is clearly explained. The only reason it doesn't score a 10 is the somewhat dense technical detail in the harvesting section, which might overwhelm a complete beginner, but for its intended audience it is near-perfect.