recon-04-js-analysis

Installation
SKILL.md

Recon 04 Js Analysis — Offensive Methodology

Shortcut

  1. Gather all JS files from target (subdomain + paths)
  2. Extract endpoints: grep for paths, URLs, routes
  3. Extract secrets: API keys, tokens, internal URLs
  4. Check source maps (.js.map) for full source code

Detection

# Extract all JS URLs
katana -u https://target.com -jc | grep '\.js' | sort -u > js_files

# Extract endpoints
cat *.js | grep -oP '["''']/[a-zA-Z0-9_/{}.-]+["''']' | sort -u

# Source maps
curl -s https://target.com/app.js.map | python3 -c "import sys,json; d=json.load(sys.stdin); print('\n'.join(d.get('sources',[])))"
Installs
1
GitHub Stars
6
First Seen
Nov 16, 2026