evidence-hygiene

Redact cookies, PII, and tokens from bug-bounty PoC screenshots and HAR files.

10|3|Updated Aug 10, 2026
One-click install
npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill evidence-hygiene-baiqigo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: evidence-hygiene
Source: https://github.com/baiqigo/baiqi-redteam-lab/tree/main/.agents/skills/evidence-hygiene
Command: npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill evidence-hygiene-baiqigo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Bug-bounty evidence often leaks live session cookies, authorization tokens, or other users' PII when screenshots and HAR files are attached to submissions, creating security and responsible-disclosure risks. This Skill defines the redaction and sanitization discipline to apply before any evidence leaves your machine. ## Core Features & Use Cases - Cookie and Token Redaction Protocol: Specifies which headers and cookie values must be masked (session cookies, Authorization, CSRF tokens) versus what is safe to leave visible (trace IDs, Cloudflare cookies), with Preview black-bar, Burp panel-hiding, and DevTools workflows. - HAR Sanitization with jq: Provides a reusable jq filter that strips Cookie, Set-Cookie, and Authorization values from exported HAR files, plus verification grep commands to confirm nothing leaked. - PII Black-Bar Discipline: Defines what to mask in cross-account data (names, emails, phones, faces) versus what proves the bug (field names, response shapes, attacker UID), with a worked IDOR example. - Use Case: Before submitting a rate-limit finding, you capture a Burp Intruder Results table with the request panel hidden, sanitize the exported HAR with the jq filter, and follow the 5-step screenshot naming convention so the triager receives clean, leak-free evidence. ## Quick Start Before attaching any PoC screenshot or HAR to my bug-bounty report, review the evidence and tell me exactly what to redact and how.

Frequently Asked Questions about evidence-hygiene

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sanitize a HAR file before attaching it to a bug report?

Use the provided jq filter to replace Cookie, Authorization, and X-CSRF-Token request headers, Set-Cookie response headers, and all cookie values with <REDACTED>. Then verify with grep for your cookie name and the first characters of its value to confirm nothing leaked.

What should I redact in a bug bounty PoC screenshot?

Always mask session cookie values, Bearer tokens, JWTs, and CSRF tokens. When demonstrating cross-account access, also black-bar victim names, emails, phone numbers, and faces. Leave trace IDs, request IDs, and your own test-account identifiers visible so triagers can correlate logs.

How do I take a clean Burp Intruder screenshot for a rate-limit finding?

Drag the divider between the Results table and the Request/Response panels down until only the Results table is visible. Capture only the Request#, Payload, Status code, Response received, and Length columns, since the request panel contains your session cookie.

Can I show another user's data in an IDOR proof of concept?

Yes, but mask the actual PII values with black rectangles or <REDACTED> placeholders while keeping the JSON field names and response shape visible. Note the redaction in the report body and offer the unredacted version privately through the platform if the triager needs it.

Why use credentials include in Chrome DevTools fetch PoCs?

The credentials: 'include' option makes the browser attach cookies automatically, so your code never references them and they never appear in Console screenshots. Combined with labeled console.log output, this produces clean evidence without exposing session secrets.

What should I do with test account credentials after submitting a report?

Log out and back in to rotate the session cookie, then change the password to a fresh value so any credentials visible in your screenshots become dead. Keep unredacted artifacts in a private local folder and never share them outside the platform's attachment system.