본문으로 건너뛰기
Skillpedia
보안5.4k · #14891

evidence-hygiene

하는 일

이 스킬은 보안 보고서를 위한 증거를 모을 때 비밀 값이나 다른 사람의 개인 정보를 유출하지 않는 방법을 안내합니다. 버그 바운티 제출용 증거를 준비하는 보안 연구자를 위한 것입니다.

사용하는 경우

  • ✓버그를 보고서에 첨부할 스크린샷을 찍을 때.
  • ✓네트워크 캡처 파일을 버그 보고서와 함께 내보내거나 공유해야 하는 경우.
  • ✓증거에 세션 쿠키나 개인 정보가 나오지 않도록 확인하고 싶을 때.

스킬 링크

https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/evidence-hygiene/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“이 버그 보고서를 보내기 전에, 제 스크린샷과 HAR 파일을 확인하고 쿠키와 개인 정보를 지워 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 세션 쿠키와 다른 사용자의 개인 정보처럼 가릴 세부 사항을 설명하고, 캡처 파일을 정리하는 단계를 알려 줍니다. 추적 ID 같은 유용한 세부 사항은 보이게 둡니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

EVIDENCE HYGIENE — PoC Capture & Redaction Discipline

Use this skill BEFORE capturing any screenshot, exporting any HAR, or attaching any evidence to a bug-bounty submission. It catches the most common evidence-hygiene mistakes that cause cookies to leak, PII to be shared without consent, or screenshots to be unsuitable for triage.

The core principle: Bug-bounty evidence is meant to convince a triager. Anything beyond that — live cookies, real-user PII, internal trace IDs that aren't useful — should not be in the evidence.


1. Two Categories of Sensitive Data

Every PoC artifact (screenshot, HAR, raw HTTP request, terminal transcript) potentially contains data that needs different treatment.

Category Examples Treatment
Your-account secrets Session cookies, OAuth tokens, refresh tokens, API keys Always redact. Even in private bug-bounty platform attachments. Your account, your session — protect it.
Other users' PII Real names, emails, phone numbers, addresses, profile photos, account IDs Redact unless explicitly demonstrating cross-account impact. Even then, mask faces and minimize the data you display.
Triager-useful metadata Trace IDs (x-datadog-trace-id), request IDs, server timestamps, your test account UID/email, GraphQL operation names, response shapes Leave visible — these help the triager correlate to logs and reproduce.
Test-account passwords (limited use) Throwaway passwords on a test account (e.g., Testing@5678) Acceptable in screenshots if you rotate immediately after submission so the value shown is dead. Don't leave real-use passwords in evidence.

2. Cookie Redaction Protocol

2.1 What must be masked

The session cookie value is the highest-value secret in any PoC. Mask:

  • The session cookie (authn, session, sid, __Secure-id, etc. — name varies per target)
  • csrf-token if it's bound to your session
  • Authorization headers (Bearer tokens, JWT)
  • Cookie request header values for any session-bearing cookie
  • Set-Cookie response header values for any session-bearing cookie

2.2 What's safe to leave visible

  • Cloudflare cookies (__cf_bm, _cfuvid) — these are bot-management, not session-bearing
  • Analytics cookies (ajs_anonymous_id, _ga)
  • Trace correlation IDs (x-datadog-trace-id, x-request-id)
  • Server / framework headers (Server: cloudflare, X-Frame-Options)
  • Your test account email/UID (per Bugcrowdninja alias section in bugcrowd-reporting)

2.3 Redaction methods (ranked by practicality)

Method A — Don't capture the cookies in the first place (preferred when possible)

  • For DevTools Console PoCs: use credentials: 'include' so the browser sends cookies automatically. Console output won't echo the cookie. Screenshot the Console output, never the Network tab Headers panel.
  • For Burp Repeater PoCs: drag the bottom request/response panel divider DOWN to hide the request body before screenshotting. Capture only the Results table for Intruder runs.

Method B — Black-bar in image editor (when capture inevitably includes cookies)

  • macOS: Open screenshot in Preview → Tools → Annotate → Rectangle → set fill color to black → drag rectangle over the cookie value → save
  • Windows: Use Snip & Sketch's annotation tools or any image editor (Paint.NET, etc.)
  • Burp itself: in Burp's Proxy → Match and Replace, you can pre-emptively redact cookie values to placeholder strings before screenshotting

Method C — Find/replace in raw text (for HAR files, terminal transcripts)

  • See §4 for the jq commands

2.4 Pre-screenshot checklist

Before clicking Capture:

[ ] Network tab Headers panel is collapsed or out of frame
[ ] Burp's Request panel is hidden behind the divider drag
[ ] No "Copy as cURL" output is visible on screen
[ ] DevTools Application → Storage → Cookies tab is closed
[ ] Browser URL bar doesn't show a session token in query string (rare but possible)

After capturing:

[ ] Open the screenshot at full resolution before saving
[ ] Search for the session cookie name substring in any visible text — if present, redact
[ ] Search for the literal first 6 chars of your cookie value — if present, redact
[ ] Compare to the previous PoC screenshot in the same engagement — same redaction discipline

3. PII Black-Bar Protocol

When a PoC necessarily exposes another user's data (e.g., demonstrating IDOR by showing the victim's email

자주 묻는 질문

증거의 모든 것을 가려야 하나요?

아닙니다. 스킬은 추적 ID나 요청 본문처럼 유용한 세부 사항은 검토자를 돕기 위해 보이게 둘 수 있다고 설명합니다.

HAR 파일도 다루나요?

네. 스킬은 쿠키와 인증 필드를 걸러 내는 등 HAR 파일을 정리하는 단계를 포함합니다.

왜 중요한가요?

유출된 쿠키와 개인 정보는 자신의 계정과 다른 사람에게 해를 줄 수 있어서, 스킬은 가리기를 핵심 단계로 봅니다.

상세 정보

작성자의 원본 설명

Evidence-capture and PoC-redaction discipline for bug-bounty submissions: cookie redaction protocol (which fields to mask, Preview annotation / Burp panel hiding / DevTools workflow), PII black-bar discipline (what to mask in other-user data — names, emails, phones, faces — vs what is safe to leave — usernames, trace IDs, request bodies), HAR file sanitization (jq filters for Cookie/Set-Cookie/Authorization headers), Burp Repeater/Intruder screenshot hygiene (hide request body, show only Results table for rate-limit attacks), Chrome DevTools Console PoC patterns (credentials include so cookies

repo: elementalsouls/Claude-BugHunter

인기도

GitHub 스타
5.4k
순위
#14891
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬