Lgpd Incident Response logo

Lgpd Incident Response

Community
goul4rt
lgpd-incident-response

Execute the LGPD security incident response runbook (Art. 48 LGPD + Resolução CD/ANPD nº 15/2024). Use when user says "tivemos um incidente", "vazamento de dados", "data breach", "preciso comunicar a ANPD", "incident response LGPD", or as part of an audit pipeline preparing the runbook in advance. Encodes the 3-business-day deadline to notify ANPD and data subjects, the 12 mandatory items for ANPD notification, the 7 items for subject notification, and the 5-year retention requirement for ALL incident records (notified or not). Cite Resolution 15/2024 explicitly in outputs.

Overview

Publishergoul4rt
Repositorylgpd-skills
Skill namelgpd-incident-response
Stars
107
Forks
15
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by goul4rt on GitHub. Read the source before you install it.

Installation

Install the Lgpd Incident Response AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/goul4rt/lgpd-skills/tree/main/skills/lgpd-incident-response
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/goul4rt/lgpd-skills.git /tmp/lgpd-skills
mkdir -p .claude/skills
cp -r /tmp/lgpd-skills/skills/lgpd-incident-response .claude/skills/lgpd-incident-response
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Lgpd Incident Response in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Lgpd Incident Response on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Lgpd Incident Response is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Incident Response LGPD

Runbook aderente à Resolução CD/ANPD nº 15/2024 (RCIS) + Art. 48 LGPD.

⚠️ Esta skill tem dois modos:

  1. Preparatório — quando invocada no pipeline de auditoria, gera runbook + tabletop exercise para uso futuro.
  2. Emergencial — quando invocada após incidente detectado, executa o fluxo em modo crítico.

Critério de notificação (Res. 15/2024, Art. 5º — cumulativo)

Notificar ANPD se e somente se ambos:

A. Risco/dano relevante — pode afetar significativamente interesses e direitos fundamentais. B. Pelo menos uma das 6 categorias envolvidas:

  • I. Dados pessoais sensíveis
  • II. Dados de crianças, adolescentes ou idosos
  • III. Dados financeiros
  • IV. Dados de autenticação em sistemas
  • V. Dados protegidos por sigilo legal, judicial ou profissional
  • VI. Dados tratados em larga escala

Se A e B → notificar. Se só A → documentar internamente. Se nenhum → registrar mesmo assim (Art. 10 — registro obrigatório por 5 anos de TODOS os incidentes).

Prazos

AçãoPrazo
Notificar ANPD3 dias úteis desde o conhecimento de afetação a dados pessoais
Notificar titulares3 dias úteis (mesmo gatilho)
Complementar comunicaçãoaté 20 dias úteis após comunicação inicial
Manter registro do incidente5 anos mínimo
ATPPprazos em dobro (6 dias úteis), salvo risco à integridade física/moral

Runbook — Hora 0 a Hora 72+

T+0h: Detecção

  • Quem detectou? Sistema (SIEM, DLP, antivirus)? Pessoa (funcionário, titular, pesquisador)?
  • Registrar timestamp exato do conhecimento da afetação a dados pessoais — este é o marco do prazo.
  • Acionar Encarregado imediatamente.

T+0h a T+4h: Contenção e triagem

  • Isolar sistemas comprometidos
  • Preservar evidências (snapshots, logs, dumps)
  • Suspender propagação (revogar tokens, fechar buckets, bloquear rotas)
  • Não destruir nada — perícia precisa
  • Comunicação interna restrita (need-to-know)
  • Acionar provedores de cloud / operadores se relevante

T+4h a T+24h: Avaliação

  • Categorias de dados afetadas
  • Número estimado de titulares afetados
  • Categorias de titulares (crianças? idosos? destacar)
  • Vetor de ataque ou causa raiz (preliminar)
  • Aplicar teste do Art. 5º Res. 15/2024:
    • Risco relevante? (sim/não — justificar)
    • Categoria do Art. 5º? (qual)
  • Decisão: notificar ANPD? notificar titulares? Documentar decisão por escrito (Encarregado + jurídico).

T+24h a T+72h (3 dias úteis): Comunicação

À ANPD — 12 itens obrigatórios (Art. 6º, § 2º Res. 15/2024):

  1. Natureza e categoria dos dados pessoais afetados
  2. Número de titulares afetados, discriminando crianças, adolescentes e idosos
  3. Medidas técnicas e de segurança adotadas antes e depois do incidente
  4. Riscos e possíveis impactos aos titulares
  5. Motivos da demora, se houve
  6. Medidas para reverter ou mitigar
  7. Data do incidente e data do conhecimento
  8. Dados do encarregado ou representante
  9. Identificação do controlador (declaração de ATPP se for o caso)
  10. Identificação do operador
  11. Descrição do incidente com causa principal
  12. Total de titulares cujos dados são tratados nas atividades afetadas

Canal: portal eletrônico da ANPD (https://www.gov.br/anpd).

Aos titulares — 7 itens (Art. 9º Res. 15/2024):

  1. Natureza e categoria dos dados afetados
  2. Medidas de segurança técnicas
  3. Riscos
  4. Motivos da demora, se houve
  5. Medidas reversivas/mitigatórias
  6. Data do conhecimento
  7. Contato do encarregado

Em linguagem simples. Comunicação individualizada (e-mail/SMS/carta/mensagem in-app). Se inviável (volume + falta de contato), comunicação coletiva via site + imprensa por mínimo 3 meses.

Templates em assets/notification-anpd.md e assets/notification-subject.md.

T+72h+: Pós-incidente

  • Continuar mitigando
  • Forense completa
  • Análise de causa raiz (5 whys, fishbone, post-mortem)
  • Atualizar .lgpd/incidents/log.md
  • Plano de remediação com prazos e responsáveis
  • Lições aprendidas → atualizar runbook
  • Considerar pipeline lgpd-audit modo legacy para correções estruturais

Complemento à ANPD (até 20 dias úteis)

Após investigação completa, complementar a comunicação inicial com informações mais precisas se algo mudou.

Registro permanente (Art. 10 Res. 15/2024)

.lgpd/incidents/log.md — TODOS os incidentes, mesmo não notificados:

markdown
# Registro de Incidentes — {projeto}

## INC-2026-001

- **Detecção**: 2026-05-15T14:30:00-03:00
- **Conhecimento de afetação a dados pessoais**: 2026-05-15T15:45:00-03:00
- **Tipo**: vazamento de e-mails
- **Categoria afetada** (Art. 5º Res. 15/2024): VI — larga escala (sim, ≥ 100k titulares)
- **Titulares afetados**: ~120.000
- **Decisão**: notificar
- **Notificação ANPD**: 2026-05-16T18:00:00-03:00 (protocolo nº ...)
- **Notificação titulares**: 2026-05-16 a 2026-05-17 (e-mail individualizado)
- **Justificativa da notificação**: risco relevante + larga escala (> 2 milhões? não, mas ANPD considera larga escala em outras métricas) — Art. 5º, VI
- **Medidas adotadas**: rotação de credenciais, revogação de tokens, patch
- **Causa raiz**: bug em endpoint que retornava lista de e-mails sem auth
- **Plano de remediação**: ADR-2026-08 (auth obrigatória em todos endpoints /api/users/*)
- **Retenção do registro**: até 2031-05-15 (5 anos)

Tabletop exercise (preparatório)

Executar 1x por ano no mínimo. Cenários sugeridos:

  1. Vazamento de e-mails via endpoint mal configurado (probabilidade alta)
  2. Acesso indevido por funcionário com privilégios excessivos (insider)
  3. Comprometimento de cloud provider (operador)
  4. Ransomware com exfiltração
  5. Bug em pipeline de analytics que envia PII para Datadog
  6. Vazamento via SDK mobile (token leak no app store)

Para cada cenário: simular a triagem, decisão de notificar, e tempo até comunicação. Cronometrar. Se > 3 dias úteis, processo está quebrado.

Status update

markdown
## F9 — Incident response ✓
- Runbook publicado em `.lgpd/incidents/runbook.md`
- Templates de notificação em `.lgpd/incidents/templates/`
- Registro inicializado em `.lgpd/incidents/log.md`
- Tabletop agendado para {data}
- Encarregado e jurídico cientes do fluxo
- Próximo: lgpd-ropa (greenfield) ou lgpd-privacy-policy (legacy)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Lgpd Incident Response AI skill do?

Execute the LGPD security incident response runbook (Art. 48 LGPD + Resolução CD/ANPD nº 15/2024). Use when user says "tivemos um incidente", "vazamento de dados", "data breach", "preciso comunicar a ANPD", "incident response LGPD", or as part of an audit pipeline preparing the runbook in advance. Encodes the 3-business-day deadline to notify ANPD and data subjects, the 12 mandatory items for ANPD notification, the 7 items for subject notification, and the 5-year retention requirement for ALL incident records (notified or not). Cite Resolution 15/2024 explicitly in outputs.

Why use Lgpd Incident Response on TypingMind?

Because you install it once and use it with any model. Lgpd Incident Response is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Lgpd Incident Response in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/goul4rt/lgpd-skills/tree/main/skills/lgpd-incident-response. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Lgpd Incident Response?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Lgpd Incident Response?

As many as you like. As long as a model supports skills, you can use Lgpd Incident Response with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Lgpd Incident Response AI skill free?

Yes. It is published on GitHub by goul4rt under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇