Skip to content
Back to skills

Recon Js Analysis

ASecurity

Mine JavaScript for endpoints, params, secrets, and hidden functionality. Load on SPAs, heavy JS apps, after crawling, or "analyze the JS". Signals: bundled JS (webpack/main.*.js), API calls in JS, source maps, /static/js, front-end frameworks.

  • 24 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added October 11, 2026
ai-agentsjavascriptgojavaapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add NoorQureshi/security-skills --skill recon-js-analysis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Recon Js Analysis?

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

Security grade badge for Recon Js Analysis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/noorqureshi-recon-js-analysis-security-skills/badge)](https://www.skillsdirectory.com/skills/noorqureshi-recon-js-analysis-security-skills)

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: recon-js-analysis
description: >
  Mine JavaScript for endpoints, params, secrets, and hidden functionality. Load on SPAs, heavy
  JS apps, after crawling, or "analyze the JS". Signals: bundled JS (webpack/main.*.js), API
  calls in JS, source maps, /static/js, front-end frameworks.
domain: recon
type: technique
stability: learning
modes: [bugbounty]
severity: medium
mitre: [T1592.002]
tools: [katana, linkfinder, jsluice, subjs, source-map-explorer]
schema_version: 1
---

# JavaScript analysis

## When it applies
The app is JS-heavy (SPA). The front-end bundle is a map of the backend: it references API
endpoints, parameters, feature flags, roles, and sometimes secrets — much of it not linked in the UI.

## Why it works
Client code must know how to call the server, so endpoints/params are embedded in JS. Bundlers
also occasionally ship source maps (full original source) and developers leave keys/comments.

## Method
1. **Collect all JS**: `katana -jc`, `subjs`, or crawl; grab every `.js` (incl. lazy-loaded chunks).
2. **Extract endpoints/params**: `linkfinder`/`jsluice` pull URLs, paths, and param names from bundles.
3. **Hunt secrets & flags**: grep for `apiKey|token|secret|internal|admin|debug`, feature flags,
   and role checks done client-side (server may not enforce them → BOLA/BFLA leads).
4. **Source maps**: if `.map` files ship, reconstruct original source (`source-map` tools) → full whitebox-ish view.
5. **Feed results**: new endpoints → `api-*`; client-only auth checks → `api-bola`; secrets → validate.

## Gotchas
- Client-side "admin" gating usually isn't enforced server-side — test the endpoints directly.
- De-obfuscate/beautify minified bundles before grepping (`js-beautify`).
- Lazy-loaded chunks hide the juicy routes — enumerate all chunk files, not just `main.js`.

## Verify success
Endpoints/params/secrets extracted from JS that weren't in the UI — new, testable surface.

## References
LinkFinder/jsluice; katana; "JS recon" bug-bounty methodology.

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 ai-agents →

Comments

Loading comments…

Newsletter

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