data-breach-blast-radius
できること
データ漏えいが起きる前に、そのリスクを分析するツールです。コードにどのような機密データがあるか、そのデータがどのように流れるか、そして漏えいした場合の金銭的・法的な影響を確認します。
使う場面
- ✓コードのセキュリティレビューを行う前。
- ✓データ保護に関する文書を準備するとき。
- ✓起こりうるデータ漏えいの影響を知りたいとき。
スキルのリンク
https://github.com/github/awesome-copilot/blob/main/skills/data-breach-blast-radius/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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:
- Discovers every sensitive data asset in the codebase (schemas, models, DTOs, logs, configs, API contracts)
- Classifies data into severity tiers (Tier 1–4) using global regulatory standards
- Traces data flows from ingestion → processing → storage → transmission → deletion
- Identifies all exposure vectors — where data could leak (API endpoints, logs, exports, caches, queues)
- Calculates the blast radius: estimated records affected, user population at risk, regulatory jurisdictions triggered
- Quantifies the regulatory impact (GDPR fines, CCPA penalties, HIPAA sanctions, breach notification costs)
- 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
コメント
- …
このリポジトリの他のスキル
acquire-codebase-knowledge
40kエージェントが、既存のコードプロジェクトを理解してドキュメント化できるよう支援します。新しく参加するメンバーのオンボーディングや、アーキテクチャの全体像の把握に役立ちます。
acreadiness-assess
40kエージェントが、プロジェクトのAI対応状況を評価してレポートを生成できるよう支援します。プロジェクトがAIツールをどの程度活用できる状態にあるかを把握するのに役立ちます。
acreadiness-generate-instructions
40kエージェントが、評価結果をもとにAIツール向けの指示文を作成できるよう支援します。AIがコードとどのようにやり取りするかを改善し、特定された不足点を解消するのに役立ちます。
acreadiness-policy
40kエージェントが、AIプロジェクトの評価ポリシーの策定や適用を支援できるようにします。プロジェクトの評価方法を標準化し、コンプライアンスを確保するのに役立ちます。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。