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. Sensitive Data 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 |
Review and minimize — selected nonsecret values help the triager correlate to logs and reproduce. |
| Test-account passwords (limited use) |
Throwaway passwords on a test account (e.g., Testing@5678) |
Redact passwords before sharing, including throwaway accounts. Rotate/revoke any exposed value; do not rely on later rotation to justify disclosure. |
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
- Cookie NAMES and attributes can remain; redact all cookie values by default, including bot-management and analytics identifiers
- Analytics ID names, with values masked unless needed and approved
- 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 — Destructive redaction on a flattened copy (when capture includes cookies)
- An editable rectangle overlay may be removable. Export a new flattened raster, strip metadata, reopen it and verify pixels/OCR at full resolution; never attach the editable original.
- 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.)
- Redact a COPY of captured evidence offline; do not alter live Proxy Match and Replace rules merely to sanitize a screenshot, since they can change requests and invalidate reproduction.
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 in an attacker-session response), redact the actual PII even in private attachments.
3.1 What to mask (other-user data)
- First name, last name (full or
1---2name: evidence-hygiene3description: Evidence-capture and PoC-redaction discipline for bug-bounty submissions 4category: Document Processing5source: antigravity6tags: [markdown, api, claude, ai, workflow, template, document, image, security, rag]7url: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/evidence-hygiene8metadata:9 source: https://skillmd.com/skills/ranbot-ai/evidence-hygiene10---111213# EVIDENCE HYGIENE — PoC Capture & Redaction Discipline1415> 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.1617The 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.**1819---2021## 1. Sensitive Data Categories of Sensitive Data2223Every PoC artifact (screenshot, HAR, raw HTTP request, terminal transcript) potentially contains data that needs different treatment.2425| Category | Examples | Treatment |26|---|---|---|27| **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. |28| **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. |29| **Triager-useful metadata** | Trace IDs (`x-datadog-trace-id`), request IDs, server timestamps, your test account UID/email, GraphQL operation names, response shapes | **Review and minimize** — selected nonsecret values help the triager correlate to logs and reproduce. |30| **Test-account passwords (limited use)** | Throwaway passwords on a test account (e.g., `Testing@5678`) | Redact passwords before sharing, including throwaway accounts. Rotate/revoke any exposed value; do not rely on later rotation to justify disclosure. |3132---3334## 2. Cookie Redaction Protocol3536### 2.1 What must be masked3738The session cookie value is the highest-value secret in any PoC. Mask:3940- The session cookie (`authn`, `session`, `sid`, `__Secure-id`, etc. — name varies per target)41- `csrf-token` if it's bound to your session42- `Authorization` headers (Bearer tokens, JWT)43- `Cookie` request header values for any session-bearing cookie44- `Set-Cookie` response header values for any session-bearing cookie4546### 2.2 What's safe to leave visible4748- Cookie NAMES and attributes can remain; redact all cookie values by default, including bot-management and analytics identifiers49- Analytics ID names, with values masked unless needed and approved50- Trace correlation IDs (`x-datadog-trace-id`, `x-request-id`)51- Server / framework headers (`Server: cloudflare`, `X-Frame-Options`)52- Your test account email/UID (per Bugcrowdninja alias section in `bugcrowd-reporting`)5354### 2.3 Redaction methods (ranked by practicality)5556**Method A — Don't capture the cookies in the first place** (preferred when possible)57- 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.58- 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.5960**Method B — Destructive redaction on a flattened copy** (when capture includes cookies)61- An editable rectangle overlay may be removable. Export a new flattened raster, strip metadata, reopen it and verify pixels/OCR at full resolution; never attach the editable original.62- macOS: Open screenshot in Preview → Tools → Annotate → Rectangle → set fill color to black → drag rectangle over the cookie value → save63- Windows: Use Snip & Sketch's annotation tools or any image editor (Paint.NET, etc.)64- Redact a COPY of captured evidence offline; do not alter live Proxy Match and Replace rules merely to sanitize a screenshot, since they can change requests and invalidate reproduction.6566**Method C — Find/replace in raw text** (for HAR files, terminal transcripts)67- See §4 for the jq commands6869### 2.4 Pre-screenshot checklist7071Before clicking Capture:7273```74[ ] Network tab Headers panel is collapsed or out of frame75[ ] Burp's Request panel is hidden behind the divider drag76[ ] No "Copy as cURL" output is visible on screen77[ ] DevTools Application → Storage → Cookies tab is closed78[ ] Browser URL bar doesn't show a session token in query string (rare but possible)79```8081After capturing:8283```84[ ] Open the screenshot at full resolution before saving85[ ] Search for the session cookie name substring in any visible text — if present, redact86[ ] Search for the literal first 6 chars of your cookie value — if present, redact87[ ] Compare to the previous PoC screenshot in the same engagement — same redaction discipline88```8990---9192## 3. PII Black-Bar Protocol9394When a PoC necessarily exposes another user's data (e.g., demonstrating IDOR by showing the victim's email in an attacker-session response), redact the actual PII even in private attachments.9596### 3.1 What to mask (other-user data)9798- First name, last name (full or