hunt-client-reverse

Reverse-engineer first-party JavaScript bundles to recover routes, parameters, and token flows.

10|3|Updated Aug 10, 2026
One-click install
npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill hunt-client-reverse-baiqigo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-client-reverse
Source: https://github.com/baiqigo/baiqi-redteam-lab/tree/main/.agents/skills/hunt-client-reverse
Command: npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill hunt-client-reverse-baiqigo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Web security testers often face minified production frontends where API endpoints, parameter encoding, signing logic, and token storage are hidden inside JavaScript bundles and source maps. This Skill turns that runtime evidence into a verifiable client attack surface without mistaking documentation examples or third-party scripts for real findings. ## Core Features & Use Cases - Client Surface Reconstruction: Recovers routes, URL/query/body constructors, encoding and signature hints, and token storage locations from first-party HTML, JS chunks, and source maps. - Source-to-Sink Tracing: Maps call chains from runtime entry points to DOM sinks or API endpoints, with confidence levels and evidence paths for each chain. - Disciplined Handoff Routing: Routes confirmed findings to downstream API, auth, IDOR, SQLi, DOM/XSS, or business-logic hunting workflows, and stops on WAF/429 signals instead of hammering the target. - Use Case: Given a saved SPA bundle and its source map, identify which functions build authenticated requests, how parameters are signed, and where tokens are read from storage, then hand the confirmed endpoint to API reverse-engineering. ## Quick Start Analyze the saved first-party JavaScript bundle and source map from the target scope to reconstruct its routes, parameter encoding, and token storage flow with evidence.

Frequently Asked Questions about hunt-client-reverse

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reverse engineer a minified JavaScript bundle to find API endpoints?

Start from saved first-party bundles and source maps, then locate functions that construct URLs, query strings, bodies, and headers. Trace each call chain to its runtime entry point and record the endpoint, parameters, encoding, and evidence path rather than guessing from static strings.

How to find token storage and signing logic in a web app frontend?

Identify where tokens are read from storage, when they refresh, and which endpoints receive them, then look for hashing or signature construction around request parameters. Record storage names and signature hints but never treat static key-like strings as real credentials.

Can source maps be used for client-side security analysis?

Yes, source maps restore original file structure and symbol names, making it far easier to trace route selectors, parameter serialization, and feature flags. The skill prefers offline analysis of saved source maps over sending new requests to the target.

What are common false positives when analyzing frontend JavaScript for vulnerabilities?

Static key or secret strings, documentation examples, comments, third-party domains, and routes never referenced at runtime are not valid findings. Confirmed conclusions require runtime evidence linking an asset to an actual call chain.

What should I do when WAF or rate limiting blocks frontend reconnaissance?

Stop triggering repeated scripted requests and switch to offline parsing of newly captured first-party assets or existing browser network records. If no new signal is available, return WAIT_FOR_SIGNAL and list the assets needed.