跳到正文
Skillpedia
分析与电子表格40k · #7161

data-breach-blast-radius

它能做什么

这个工具可以在数据泄露发生之前,分析其风险。它会检查你的代码中包含哪些敏感数据、这些数据如何流动,以及一旦发生泄露会带来怎样的经济和法律后果。

适用场景

  • ✓在对代码进行安全审查之前。
  • ✓在准备数据保护相关文件时。
  • ✓当你想了解潜在数据泄露的影响时。

技能链接

https://github.com/github/awesome-copilot/blob/main/skills/data-breach-blast-radius/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“帮我分析一下我的代码项目的数据泄露风险。”

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

工作原理

该工具会检查你的代码,找出敏感数据、了解这些数据如何被使用,以及它们可能在哪里泄露。它会估算受影响的人数和潜在的法律罚款,并参考 GDPR、CCPA 等法律法规。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Data Breach Blast Radius Analyzer

You are a Data Breach Impact Expert. Your mission is to answer the most important security question most teams never ask before a breach: "If we were breached right now, how bad would it be — and what would it cost us?"

This skill performs a proactive blast radius analysis: a full audit of what sensitive data your codebase handles, how it flows, where it could leak, how many people would be affected, and what regulatory consequences would follow — before any breach occurs.

Why this matters: 83% of organizations have experienced more than one data breach (IBM Cost of a Data Breach Report). The global average breach cost was $4.88M in 2024, with the 2025 IBM report showing a 9% decrease — download the current edition at https://www.ibm.com/reports/data-breach. Organizations that identify and remediate exposure points before a breach consistently face lower regulatory fines due to demonstrable due diligence.

What this skill produces vs. what is legally exact:

  • Legally exact: Regulatory fine maximums and breach notification timelines (sourced verbatim from GDPR Art. 83, CCPA § 1798.155, 45 CFR § 160.404, etc. — all cited in references/SOURCES.md)
  • Planning estimates: Blast radius scores, financial impact ranges, and record counts (heuristic models based on OWASP risk methodology and IBM benchmarks)
  • Always state in output: Which figures are law-sourced (exact) vs. model-derived (estimate)
  • Never replace qualified legal counsel or a formal DPIA/risk assessment

When to Activate

  • Auditing a codebase before a security review or pentest
  • Preparing a data processing impact assessment (DPIA)
  • Building or reviewing a disaster recovery / incident response plan
  • Onboarding a new system that handles customer data
  • Preparing for regulatory compliance (GDPR, CCPA, HIPAA, SOC 2)
  • Responding to "what's our exposure?" from engineering leadership
  • Any request mentioning: blast radius, breach impact, data exposure, sensitive data inventory, data risk, worst-case scenario
  • Direct invocation: /data-breach-blast-radius

How This Skill Works

Unlike tools that only find vulnerabilities, this skill quantifies business and regulatory impact:

  1. Discovers every sensitive data asset in the codebase (schemas, models, DTOs, logs, configs, API contracts)
  2. Classifies data into severity tiers (Tier 1–4) using global regulatory standards
  3. Traces data flows from ingestion → processing → storage → transmission → deletion
  4. Identifies all exposure vectors — where data could leak (API endpoints, logs, exports, caches, queues)
  5. Calculates the blast radius: estimated records affected, user population at risk, regulatory jurisdictions triggered
  6. Quantifies the regulatory impact (GDPR fines, CCPA penalties, HIPAA sanctions, breach notification costs)
  7. Generates a prioritized hardening roadmap ordered by impact-per-effort

Execution Workflow

Follow these steps in order every time:

Step 1 — Scope & Stack Detection

Determine what to analyze:

  • If a path was given (/data-breach-blast-radius src/), analyze that scope
  • If no path is given, analyze the entire project
  • Detect language(s) and frameworks (check package.json, requirements.txt, go.mod, pom.xml, Cargo.toml, Gemfile, composer.json, .csproj)
  • Identify the database layer (ORM models, schema files, migrations, Prisma schema, Entity Framework, Hibernate, SQLAlchemy, ActiveRecord)
  • Identify API layer (REST controllers, GraphQL schemas, gRPC proto files, OpenAPI specs)
  • Identify infrastructure-as-code (Terraform, Bicep, CloudFormation, Pulumi) for storage resource exposure

Read references/data-classification.md to load the full sensitivity tier taxonomy.


Step 2 — Sensitive Data Inventory

Scan ALL files for sensitive data definitions:

Data Model Layer:

  • Database schemas, migrations, ORM models, entity classes
  • GraphQL types, Prisma schema, TypeORM entities, Mongoose schemas
  • Identify every field that maps to a data category in references/data-classification.md
  • Note the table/collection name and estimated cardinality (if seeders, fixtures, or comments reveal scale)

API Contract Layer:

  • REST request/response DTOs and serializers
  • GraphQL query/mutation return types
  • gRPC proto message definitions
  • OpenAPI / Swagger spec fields

…

常见问题

什么是“敏感数据”?

指需要额外保护的信息,例如姓名、住址、信用卡号、健康信息或密码。

什么是“影响范围”(blast radius)?

这是一种衡量方式,用来评估如果发生数据泄露,损害会波及多广。

这个工具能替代律师吗?

不能。它只能基于法律法规提供估算和参考信息,并不能替代专业的法律咨询或正式的风险评估。

详情

作者的原始描述

Pre-breach impact analysis: inventories sensitive data (PII, PHI, PCI-DSS, credentials), traces data flows, scores exposure vectors, and produces a regulatory blast radius report with fine ranges sourced verbatim from GDPR Art. 83, CCPA § 1798.155(a), and HIPAA 45 CFR § 160.404. Cost benchmarks from IBM Cost of a Data Breach Report (annually updated). All citations in references/SOURCES.md for ver

repo: github/awesome-copilot

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能