client-reverse
하는 일
이 스킬은 공식 앱이 만든 서명이나 토큰이 있는 요청을 다시 보내는 방법을 에이전트에게 가르칩니다. 먼저 캡처한 요청이 아무것도 바꾸지 않고 작동하는지 확인하고, 그 다음에야 서명 코드를 살펴봅니다.
사용하는 경우
- ✓테스터의 재전송 요청이 잘못된 서명 오류를 받는데 실제 앱은 작동할 때.
- ✓클라이언트 코드를 살피기 전에 캡처한 요청을 반복할 수 있는지 알아야 할 때.
- ✓타임스탬프, 논스, 서명 헤더로 보호된 요청을 찾았을 때.
스킬 링크
https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/client-reverse/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Burp에서 재전송한 API 요청이 잘못된 서명 오류를 받는데 앱은 작동합니다. 원인을 찾도록 도와주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 실제 요청을 캡처하고 먼저 재전송을 테스트합니다. 재전송이 실패할 때만 서명 단계를 찾고, 요청을 재현할 만큼만 그 단계를 다시 만듭니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
CLIENT-SIDE REQUEST-SIGNING / ANTI-BOT TOKEN REVERSAL
You hit a request you cannot replay. Burp Repeater returns 401 invalid signature or 403 bot detected even though the browser/app does it fine. There is a sign, sig, X-Signature, _token, nonce, X-Acf-Sensor-Data, or encrypted body the client computes. This skill recovers just enough of that signer to reproduce the request outside the client.
Why a bug bounty hunter cares: the signature is not the bug. The signature is the lock on the door. Behind it is an API the program assumed only their own client would ever reach — so that API is often under-tested for IDOR, BOLA, mass assignment, and business logic. Reversing the signer is the cost of admission; the payout comes from what you fuzz once you're inside. Never report "I reversed your sign algorithm" as a finding on its own — that is N/A. Report the IDOR/auth bug you reached through it.
THE CORE PRINCIPLE: PACKET-FIRST
Reverse engineering is a blocker-resolution step, not the default entrypoint. Capture the real request first. Prove whether it already replays. Only reverse the signer if replay actually fails.
Most hunters waste hours decompiling JS for a "signature" that turns out to be replayable as-is, or gated by a timestamp that's valid for 5 minutes. Run this gate before opening DevTools Sources:
1. Capture the real request (Burp/mitmproxy proxy, or DevTools → Network → Copy as cURL)
2. Replay it UNCHANGED (paste cURL into terminal, or Burp Repeater)
→ 200 / works? → IT'S NOT SIGNED. Skip all reversing. Go fuzz it.
3. Replay it again 5 min later → still 200? → no freshness check (replay window is wide/infinite)
4. Mutate ONE non-signed field (e.g. change an `id` in the body, keep sign as-is)
→ 200? → the sign does NOT cover that field → tamper freely, no reversing needed
→ 401? → the sign covers it → NOW you reverse (continue to STAGES below)
Steps 2–4 alone kill ~half of "I need to reverse this" assumptions. A signature that omits the payload or endpoint, or never expires, is itself the bug — see the CoinMate pattern in Real Paid Examples.
STAGE SPINE: locate → recover → runtime → validation → replay
Pick the stage from engineering state, not from clue words. "I see the word sign" does not mean you're in recover. You are in locate until you can point at the exact line that writes the signature.
intake → evidence → locate → recover → runtime → validation → replay
| Stage | Enter when... | Goal | Exit when... |
|---|---|---|---|
| locate | the signing function / write boundary is unproven | find where the sign field is written and what feeds it | you can point at writer ← builder ← entry ← source |
| recover | boundary is real but the code is obfuscated/opaque | de-shell only the layer blocking you (webpack/wasm/JSVMP) | you have a readable or callable signer contract |
| runtime | code is clear but browser-exec ≠ your-exec diverge | find the first divergence (missing object/state/anti-debug) | local run reproduces browser sign output |
| validation | remaining work is equivalence proof | match checkpoints, not just final output | sign(input) == observed for fresh inputs |
| replay | sign reproduces outside the client | Burp/Python baseline request you can fuzz | a stable request you can mutate for IDOR/auth |
Carry a one-line handoff between stages. Do not promote a guess to a fact:
--- Stage Handoff ---
From: locate To: recover
Proven: sign written at app.min.js:1, line ~4021; inputs = ts, nonce, JSON body, deviceId
Open: builder is inside webpack module 5f3 behind a string-table — need to de-shell that one module
Invalid: assumption that deviceId was constant (it rotates per session)
STAGE 1 — LOCATE: trace backward from the signature field
You know the output (the sign value on the wire). Walk backward to the source. Keep each layer distinct:
writer <- builder <- entry <- source
- writer — the line that finally puts
signinto the body/header/query/cookie/WS frame - builder — the transform:
HMAC,MD5,AES, sort-then-concat,JSON.stringifyordering - entry — the UI action / callback / response that kicks off the chain
- source — what feeds the inputs: upstream response, localStorage, cookie,
Date.now(),crypto.getRandomValues, user input
Browser: find the writer i
자주 묻는 질문
서명을 깨뜨리는 것 자체가 발견 사항인가요?
아닙니다. 스킬은 서명을 잠금장치로 보고, 보고할 버그는 그 뒤에 있는 결함, 예를 들어 권한 문제라고 설명합니다.
왜 재전송을 먼저 테스트하나요?
스킬은 많은 서명이 그대로 재전송될 수 있어서, 항상 리버스 엔지니어링이 필요하지는 않다고 설명합니다.
어떤 필드를 언급하나요?
sign, signature, nonce, timestamp, sensor data 같은 헤더와 필드를 언급합니다.
상세 정보
작성자의 원본 설명
Client-side request-signing and anti-bot token reversal for bug bounty — when a request carries a sign/sig/hmac/token/nonce/timestamp/X-Sensor header that Burp Repeater cannot replay, recover the signer just enough to reproduce the request outside the client. Packet-first staging (capture real request → prove replay works → only reverse if replay fails) across the locate→recover→runtime→validation→replay spine. Covers tracing backward from the signature field (writer→builder→entry→source), isolating user-mutable sign inputs (timestamp/nonce/deviceId/body) vs constants (secret key), hooking fet
인기도
- GitHub 스타
- 5.5k
- 순위
- #14786
- 라이선스
- MIT
- 업데이트
- 2026. 10. 28.
댓글
- …
이 저장소의 다른 스킬
bug-bounty
5.5k에이전트가 범위 확인, 자산 매핑, 취약점 테스트, 영향 검증, 보고서 작성까지 버그 바운티 점검을 단계별로 계획하도록 돕습니다.
agentic-app-audit
5.5k에이전트가 운영 중인 AI 어시스턴트를 외부에서 점검해 도구 호출 탈취, 메모리 오염, 과도한 권한 사용 같은 위험을 찾도록 돕습니다.
argus
5.5k에이전트가 웹 앱과 API의 흔한 취약점을 찾는 여섯 가지 자동 스캐너를 실행하도록 돕습니다.
bb-methodology
5.5k에이전트가 버그 바운티 세션을 단계별로 계획하고, 다음 단계와 적절한 점검을 고르며, 실제 피해를 낼 수 없는 아이디어는 버리도록 돕습니다.