MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

Data-Breach-Blast-Radius

Data-Breach-Blast-Radius是一款security方向的AI技能,核心价值是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 sour,可用于解决开发者在security领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。

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 sour

Last verified on: 2026-05-30
mkdir -p ./skills/data-breach-blast-radius && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/data-breach-blast-radius/SKILL.md -o ./skills/data-breach-blast-radius/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# 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 model

🎯 Best For

  • Claude users
  • GitHub Copilot users
  • AI users

💡 Use Cases

  • Using Data-Breach-Blast-Radius in daily workflow
  • Automating repetitive security tasks

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Data-Breach-Blast-Radius to Your Work

    Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.

  4. 4

    Review and Refine

    Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.

❓ Frequently Asked Questions

How do I install Data-Breach-Blast-Radius?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/data-breach-blast-radius/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Not reading the full skill

Skills contain important context and edge cases beyond the quick start.

🔗 Related Skills