/agentic-awesome-skills:evidence-hygienefrom agentic-awesome-skills
Guides redaction of sensitive data (cookies, PII, tokens) in bug-bounty evidence before submission. Covers screenshot, HAR, and HTTP request cleanup.
Ships in agentic-awesome-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
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. |
The session cookie value is the highest-value secret in any PoC. Mask:
authn, session, sid, __Secure-id, etc. — name varies per target)csrf-token if it's bound to your sessionAuthorization headers (Bearer tokens, JWT)Cookie request header values for any session-bearing cookieSet-Cookie response header values for any session-bearing cookiex-datadog-trace-id, x-request-id)Server: cloudflare, X-Frame-Options)bugcrowd-reporting)Method A — Don't capture the cookies in the first place (preferred when possible)
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.Method B — Destructive redaction on a flattened copy (when capture includes cookies)
Method C — Find/replace in raw text (for HAR files, terminal transcripts)
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
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.
"first_name": "<REDACTED>")Bad (leaks victim's full PII):
{"data":{"contact":{"first_name":"Nadene","last_name":"Afton","email":"[email protected]","phone":"+1-555-867-5309"}}}
Good (proves the bug, masks the PII):
{"data":{"contact":{"first_name":"<REDACTED — real first name>","last_name":"<REDACTED — real last name>","email":"<REDACTED>@example.com","phone":"<REDACTED>"}}}
In screenshot form, black-bar each value with a rectangle annotation labeled "REAL PII REDACTED" if there's space.
Reference the redaction explicitly:
## Proof of Concept
The screenshot below demonstrates the IDOR. The attacker session (uid 12345678) successfully retrieves the victim's profile data (uid 99887766). **Real PII fields in the response are masked with black rectangles to limit unauthorized exposure of victim data, per responsible-disclosure hygiene.** Use controlled test-account data where possible. Additional evidence requires separate minimization and an approved secure channel.
This signals the triager that you're disciplined and gives them a clear path to the unredacted version if they need it for verification.
HAR (HTTP Archive) files are JSON dumps of network traffic with full request/response bodies and headers. They include cookies, auth tokens, and any PII that was in transit.
Chrome DevTools → Network tab → right-click anywhere in the request list → "Save all as HAR with content"
Use jq to strip sensitive headers. Save this as a shell function or one-liner you can re-use:
sanitize_har() {
local input="$1"
local output="${1%.har}.metadata-only.json"
# This is deliberately NOT a full sanitized HAR: bodies/URLs/headers are omitted.
# Treat retained MIME strings as untrusted and inspect the output before sharing.
(umask 077; set -o noclobber
jq '{entries: [.log.entries[] | {
method: .request.method,
status: .response.status,
mimeType: .response.content.mimeType
}]}' "$input" > "$output") || return 1
printf 'Created metadata-only extract; review privately before sharing: %s\n' "$output"
}
Usage:
sanitize_har /path/to/exported.har
# Output: /path/to/exported.sanitized.har
A header-only filter does not sanitize HAR: credentials/PII can occur in URLs, queryString, postData, response bodies (including base64), cookies and extensions. Prefer a minimal allowlisted extract. If a full HAR is essential, review every retained field offline with a schema-aware tool and approved redaction list; scan for known secret fingerprints without printing their values. Keep originals in an encrypted restricted store with a defined retention window and disclose only the minimum separately approved evidence. Regex replacement alone cannot certify it.
The Results window is the strongest evidence for rate-limit findings. To capture cleanly:
Request#, Payload, Status code, Response received, LengthAlmost never the right screenshot — it shows entire request/response pairs with cookies. Use Repeater for demos instead.
The Scanner tab's Issues panel may contain sensitive URLs/evidence; inspect it before screenshotting — it shows finding summaries without the underlying request bodies. Click into a specific finding before screenshotting only if you've redacted its evidence first.
fetch('/api/endpoint', {
method: 'POST',
headers: {'content-type': 'application/json'},
credentials: 'include', // sends cookies automatically — they won't appear in your code
body: JSON.stringify({ /* your payload */ })
}).then(r => r.json()).then(j => console.log("LABEL:", {hasData: !!j.data}))
Why this is clean:
credentials: 'include' means the browser sends cookies. Your code never references them. They never appear in screenshots.console.log("LABEL:", ...) produces a labeled output line you can search for in the screenshotFor a 4-step PoC (verify before / change / verify after / revert), clear the console between calls so each screenshot only shows ONE call and ONE response:
Cmd+KCtrl+LTake the screenshot immediately after the response prints — don't wait for unrelated framework warnings to appear.
If the response body is too long for a clean screenshot, log a summary instead:
fetch('/api/endpoint', { /* ... */ })
.then(r => r.json())
.then(j => {
console.log("RESPONSE SHAPE:", Object.keys(j.data || {}));
console.log("FIELD PRESENCE:", {hasEmail: typeof j.data?.email === 'string'});
// (Don't dump the full j — your screenshot becomes unreadable)
})
Do not disable or bypass self-XSS protections just for a cleaner screenshot.
Inspect the exact code, approved test account and side effects before console
execution. credentials: include omits cookie values from source code but does
not prevent secrets in response bodies, errors, logs or unrelated visible panels.
POST examples require separate authorization; this redaction workflow authorizes
no new requests or account changes.
For findings like "password change without step-up," the canonical 5-screenshot pattern is:
verify_password("current") → true. Proves you knew the starting state.update_password(...) succeeds without step-up. THE most important screenshot.verify_password("old") → false. Proves the change took effect.verify_password("new") → true. Proves the new credential is active.Numbered, descriptive, hyphen-separated:
{finding-#}-step{step-#}-{description}.png
Examples:
04-step1-verify-true-before.png
04-step2-update-password-no-stepup.png
04-step3-verify-false-after.png
04-step4-verify-true-new-pw.png
04-step5-inbox-notification-check.png
In the report body, reference each by filename:
- **Screenshot 1 (`04-step1-verify-true-before.png`)** — verify_password returns true with the current password.
- **Screenshot 2 (`04-step2-update-password-no-stepup.png`)** — update_password returns User with no StepUpRequiredError. THIS IS THE BUG.
- **Screenshot 3 (`04-step3-verify-false-after.png`)** — verify_password with old password returns false.
- **Screenshot 4 (`04-step4-verify-true-new-pw.png`)** — verify_password with new password returns true.
- **Screenshot 5 (`04-step5-inbox-notification-check.png`)** — inbox showing whether out-of-band notification was sent.
After clicking Submit on the bug-bounty platform:
1. Log out of the target
2. Explicitly revoke exposed sessions/tokens using the service controls; logging in again does not prove old sessions invalid
3. Rotate exposed passwords and independently revoke associated refresh/API tokens; verify invalidation without publishing the old value
Keep your unredacted HARs / screenshots in a local folder accessible only to you. The triager may ask for the unredacted version during verification. Never share unredacted artifacts via email — use the platform's private attachment system on the existing submission thread.
Most platforms' confidentiality applies to BOTH unresolved and resolved issues. Don't tweet, blog, or discuss the finding in any forum until the program explicitly says you can.
Quarterly, sweep your ~/security-research/ and ~/Downloads/ for stale HARs / screenshots from old engagements. Either move them to a properly-encrypted archive or delete them. Bug-bounty engagement artifacts are sensitive — they accumulate fast and become a liability.
| For this question / task | Use this skill |
|---|---|
| "Should I report this finding at all?" | triage-validation |
| "What's the report body template?" | report-writing |
| "What VRT / severity / OOS rebuttal for Bugcrowd?" | bugcrowd-reporting |
| "How do I redact / sanitize this evidence?" | This skill (evidence-hygiene) |
| "How do I demonstrate the bug actually fires?" | security-arsenal |
| "Where are the recon probes for this asset class?" | offensive-osint |
This skill is meant to be loaded together with report-writing and (for Bugcrowd) bugcrowd-reporting when preparing a submission. It does NOT cover:
triage-validation and report-writing's job — they tell you what evidence is required for the report to be accepted)security-arsenal's job — payloads to send)offensive-osint's job — recon)This skill covers ONLY the redaction / sanitization / hygiene layer that sits between "I have evidence" and "I'm attaching it to the platform."
report-writing — When evidence is redacted and ready for the report body. Workflow primitive: after redaction passes the pre-screenshot checklist, hand off to report-writing for the platform-specific report template (H1 / Bugcrowd / Intigriti / Immunefi).bugcrowd-reporting — When the redacted evidence is destined for Bugcrowd specifically. Workflow primitive: redacted screenshots + sanitized HARs become attachments referenced in bugcrowd-reporting's VRT-mapped submission body.triage-validation — When deciding which evidence is required at all. Workflow primitive: triage-validation says "you need a 5-screenshot PoC for password-change-without-step-up"; this skill says "here's how to capture and redact those 5 screenshots cleanly."security-arsenal — When the payload that produced the evidence is being documented. Workflow primitive: the payload (from security-arsenal) goes in the report verbatim; its output / response (handled by this skill) gets cookie / PII redacted before screenshotting.bb-methodology — When Phase 5 (Validate & Report) needs evidence captured. Workflow primitive: Phase 5's evidence-capture step routes through this skill before the report is drafted.Apply this skill's checklist to the current engagement notes and report gaps.
Adapted from elementalsouls/Claude-BugHunter (MIT); frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance. Docs-only import: executable helpers, commands, engine, and research assets not bundled.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sickn33/agentic-awesome-skills --plugin agentic-awesome-skills3 plugins in 2 repositories ship this exact skill · first indexed Oct 24, 2026
3,104 skills in this plugin
/007Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project./00-andruia-consultantUsar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un plan de implementación en español./10-andruia-skill-smithUsar para crear o mejorar una skill de Andru.ia: define entradas y resultados, redacta SKILL.md con ejemplos y límites, valida la estructura y prepara una PR.Other plugins' skills for the same job