Skills for Real Engineers. Straight from my .agents directory.
js-secrets-extraction
Agent skill fromuphiago/recon-skills
Analyze JS bundles and source maps for hardcoded secrets, API keys, JWTs, and internal endpoints
How to install js-secrets-extraction
npx skills add uphiago/recon-skills# or add only this skill to Claude Code: copy the folder
recon/js-secrets-extraction/
# into
~/.claude/skills/js-secrets-extraction/ (all projects)
.claude/skills/js-secrets-extraction/ (one project)
1# JS Bundle & Source Map Analysis -- Secret Extraction23## When to Use45- **ALWAYS** after initial web enumeration6- When you find modern SPA (React, Angular, Vue)7- When target uses Firebase, Supabase, Auth08- Higher yield than directory scanning on many targets910## Prerequisites1112- Explicit authorization, target boundaries, and rate limits for the target.13- Tooling: `curl`, `python3`, `waybackurls`.14- A writable evidence directory: `export OUTPUT_DIR="${OUTPUT_DIR:-./output}" && mkdir -p "$OUTPUT_DIR"`.15- For any state-changing step (writes, uploads, credential attempts), obtain explicit confirmation immediately before the command.1617## How to Run1819```bash20curl --max-time 30 --connect-timeout 10 -s "https://target.com" > index.html21grep -Eo 'src="[^"]*\.js"' index.html | cut -d'"' -f2 | while read js; do22 curl --max-time 30 --connect-timeout 10 -s "https://target.com$js" > "$(basename $js)"23done2425# Search for secrets in bundles26grep -rEn "(apiKey|api_key|API_KEY|token|secret|password|clientId|client_id|auth0|firebase|supabase)[\"'\"]?[[:space:]]*[:=][[:space:]]*[\"'\'][^\"'\']{8,}" *.js27```2829## Procedure3031The phases below are the procedure. Keep each probe bounded (`--max-time`), record evidence beneath `OUTPUT_DIR`, and stop at the stop-conditions listed in Pitfalls.3233## Why Analyze JS Bundles3435Modern JavaScript bundles (Webpack, Vite, esbuild) often contain:36- Hardcoded API keys and tokens37- Internal API URLs38- Firebase, Auth0, Supabase configurations39…
Excerpt shown under the repository's MIT license.
More skills in recon-skills
Similar skill repositories
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The open-source app everyone uses to manage agents at work
