본문으로 건너뛰기
Skillpedia
보안5.5k · #14786

client-reverse

하는 일

이 스킬은 공식 앱이 만든 서명이나 토큰이 있는 요청을 다시 보내는 방법을 에이전트에게 가르칩니다. 먼저 캡처한 요청이 아무것도 바꾸지 않고 작동하는지 확인하고, 그 다음에야 서명 코드를 살펴봅니다.

사용하는 경우

  • ✓테스터의 재전송 요청이 잘못된 서명 오류를 받는데 실제 앱은 작동할 때.
  • ✓클라이언트 코드를 살피기 전에 캡처한 요청을 반복할 수 있는지 알아야 할 때.
  • ✓타임스탬프, 논스, 서명 헤더로 보호된 요청을 찾았을 때.

스킬 링크

https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/client-reverse/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/client-reverse/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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 sign into the body/header/query/cookie/WS frame
  • builder — the transform: HMAC, MD5, AES, sort-then-concat, JSON.stringify ordering
  • 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

repo: awarexone/Agentic-Bug-Hunter

인기도

GitHub 스타
5.5k
순위
#14786
라이선스
MIT
업데이트
2026. 10. 28.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬