Logo: Lgpd Incident Response

Lgpd Incident Response

Communautéit
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.

Add to TypingMind

Iwwersiicht

Editeurgoul4rt
Repositorylgpd-skills
Skill-Nummlgpd-incident-response
Stären
107
Forks
15
Matgeliwwert Dateien
2
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    goul4rt huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Lgpd Incident Response an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/goul4rt/lgpd-skills/tree/main/skills/lgpd-incident-response
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Lgpd Incident Response an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Lgpd Incident Response automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Lgpd Incident Response net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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)

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Lgpd Incident Response op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Lgpd Incident Response besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Lgpd Incident Response an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/goul4rt/lgpd-skills/tree/main/skills/lgpd-incident-response an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Lgpd Incident Response benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Lgpd Incident Response benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Lgpd Incident Response domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Lgpd Incident Response gratis?

Jo. goul4rt huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇