Langsung ke konten
Skillpedia
Keamanan5.4k ยท #14891

evidence-hygiene

Fungsinya

Skill ini memberi panduan untuk mengumpulkan bukti bagi laporan keamanan tanpa membocorkan rahasia atau data pribadi orang lain. Skill ini ditujukan untuk peneliti keamanan yang menyiapkan bukti untuk pengiriman bug bounty.

Kapan dipakai

  • โœ“Saat Anda mengambil tangkapan layar bug untuk dilampirkan pada laporan.
  • โœ“Saat Anda perlu mengekspor atau membagikan file tangkapan jaringan bersama laporan bug.
  • โœ“Saat Anda ingin memastikan tidak ada cookie sesi atau data pribadi dalam bukti Anda.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/evidence-hygiene/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œSebelum saya mengirim laporan bug ini, bisakah Anda memeriksa tangkapan layar dan file HAR saya dan menghapus cookie serta data pribadi?โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent menjelaskan detail mana yang harus disembunyikan, seperti cookie sesi dan informasi pribadi pengguna lain, dan memberikan langkah untuk membersihkan file tangkapan. Detail yang berguna, seperti ID pelacakan, tetap terlihat.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

Pertanyaan umum

Apakah saya harus menyembunyikan semuanya di bukti saya?

Tidak. Skill ini menyebutkan detail yang berguna, seperti ID pelacakan dan isi permintaan, boleh tetap terlihat agar peninjau terbantu.

Apakah ia menangani file HAR?

Ya. Skill ini mencakup langkah untuk membersihkan file HAR, seperti menyaring field cookie dan otorisasi.

Mengapa ini penting?

Cookie dan data pribadi yang bocor bisa merugikan akun Anda sendiri dan orang lain, sehingga skill ini menjadikan penyuntingan sebagai langkah inti.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
5.4k
Peringkat
#14891
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa