跳到正文
Skillpedia
安全48k · #4560

evidence-hygiene

它能做什么

这个工具可以帮你在提交缺陷报告时保护个人信息和会话信息。它能确保密码或其他用户的详细信息等敏感数据,不会在截图或文件中被意外泄露。

适用场景

  • ✓为缺陷报告截图之前。
  • ✓导出浏览数据(HAR 文件)用于报告时。
  • ✓为漏洞赏金提交附上任何证据之前。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/evidence-hygiene/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/evidence-hygiene/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请在我保存这些证据之前,检查并隐藏所有会话 Cookie、令牌或其他用户的个人信息。”

每周 5 个新技能,1 分钟读完。

工作原理

它会自动检查你的证据中是否包含会话 Cookie、其他用户的个人数据等敏感信息,并将其隐藏。这样就能避免机密细节被意外分享出去。

技术内容(原始 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

…

常见问题

什么是“会话 Cookie”?

这是网站用来在你访问期间记住你身份的一小段数据。它对于保持登录状态很重要,但如果泄露,就可能带来风险。

什么是 PII(个人身份信息)?

指可以用来识别某个人的数据,比如姓名、邮箱、电话号码或住址。保护这些信息可以防止身份盗用或隐私侵犯。

哪些信息可以保留可见?

对缺陷审核人员有帮助的信息,比如追踪 ID 或请求 ID,以及你自己测试账号的邮箱或 ID,通常可以保留可见。

详情

作者的原始描述

Evidence-capture and PoC-redaction discipline for bug-bounty submissions

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4560
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能