Skip to content

hashgraph-online/awesome-codex-plugins / plugins/AltByteSG/personal-data-protection-skill/skills/personal-data-protection

personal-data-protection

Verified

Personal-data-protection compliance reference for engineers building applications subject to Singapore PDPA, Indonesia UU PDP, Thailand PDPA, Malaysia PDPA, Philippines DPA (RA 10173), or Vietnam PDPL (91/2025/QH15). Use when reviewing or modifying code that touches personal data — signup/auth/consent, data export, account deletion, retention/purging, admin access to personal-data stores, third-party processors, breach response, or privacy/T&C documents.

FileKindSize
SKILL.mdskill md14.5 KB
checklists/breach-response.mdmarkdown5.6 KB
checklists/new-data-field.mdmarkdown6.8 KB
checklists/new-feature.mdmarkdown11.2 KB
checklists/new-vendor.mdmarkdown7.1 KB
jurisdictions/_index.mdmarkdown12.6 KB
jurisdictions/id-pdp/README.mdmarkdown8.7 KB
jurisdictions/id-pdp/obligations/01-accountability.mdmarkdown12.4 KB
jurisdictions/id-pdp/obligations/02-consent.mdmarkdown7.5 KB
jurisdictions/id-pdp/obligations/03-purpose.mdmarkdown7.0 KB
jurisdictions/id-pdp/obligations/04-access-correction.mdmarkdown8.9 KB
jurisdictions/id-pdp/obligations/05-care.mdmarkdown7.1 KB
jurisdictions/id-pdp/obligations/06-breach-notification.mdmarkdown7.4 KB
jurisdictions/id-pdp/obligations/07-offences.mdmarkdown7.6 KB
jurisdictions/id-pdp/statute-map.mdmarkdown12.5 KB
jurisdictions/my-pdpa/README.mdmarkdown10.2 KB
jurisdictions/my-pdpa/obligations/01-accountability.mdmarkdown6.5 KB
jurisdictions/my-pdpa/obligations/02-consent.mdmarkdown10.0 KB
jurisdictions/my-pdpa/obligations/03-purpose.mdmarkdown9.1 KB
jurisdictions/my-pdpa/obligations/04-access-correction.mdmarkdown11.1 KB
jurisdictions/my-pdpa/obligations/05-care.mdmarkdown11.5 KB
jurisdictions/my-pdpa/obligations/06-breach-notification.mdmarkdown7.6 KB
jurisdictions/my-pdpa/obligations/07-offences.mdmarkdown8.1 KB
jurisdictions/my-pdpa/statute-map.mdmarkdown10.4 KB
jurisdictions/ph-dpa/README.mdmarkdown12.8 KB
jurisdictions/ph-dpa/obligations/01-accountability.mdmarkdown8.3 KB
jurisdictions/ph-dpa/obligations/02-consent.mdmarkdown12.0 KB
jurisdictions/ph-dpa/obligations/03-purpose.mdmarkdown8.7 KB
jurisdictions/ph-dpa/obligations/04-access-correction.mdmarkdown13.4 KB
jurisdictions/ph-dpa/obligations/05-care.mdmarkdown13.6 KB
jurisdictions/ph-dpa/obligations/06-breach-notification.mdmarkdown11.2 KB
jurisdictions/ph-dpa/obligations/07-offences.mdmarkdown11.3 KB
jurisdictions/ph-dpa/statute-map.mdmarkdown10.9 KB
jurisdictions/sg-pdpa/README.mdmarkdown5.4 KB
jurisdictions/sg-pdpa/obligations/01-accountability.mdmarkdown4.0 KB
jurisdictions/sg-pdpa/obligations/02-consent.mdmarkdown6.9 KB
jurisdictions/sg-pdpa/obligations/03-purpose.mdmarkdown4.4 KB
jurisdictions/sg-pdpa/obligations/04-access-correction.mdmarkdown6.5 KB
jurisdictions/sg-pdpa/obligations/05-care.mdmarkdown6.9 KB
jurisdictions/sg-pdpa/obligations/06-breach-notification.mdmarkdown10.5 KB
jurisdictions/sg-pdpa/obligations/07-offences.mdmarkdown6.6 KB
jurisdictions/sg-pdpa/statute-map.mdmarkdown8.0 KB
jurisdictions/th-pdpa/README.mdmarkdown7.3 KB
jurisdictions/th-pdpa/obligations/01-accountability.mdmarkdown7.1 KB
jurisdictions/th-pdpa/obligations/02-consent.mdmarkdown8.5 KB
jurisdictions/th-pdpa/obligations/03-purpose.mdmarkdown4.9 KB
jurisdictions/th-pdpa/obligations/04-access-correction.mdmarkdown7.0 KB
jurisdictions/th-pdpa/obligations/05-care.mdmarkdown7.3 KB
jurisdictions/th-pdpa/obligations/06-breach-notification.mdmarkdown7.0 KB
jurisdictions/th-pdpa/obligations/07-offences.mdmarkdown8.5 KB
jurisdictions/th-pdpa/statute-map.mdmarkdown8.1 KB
jurisdictions/vn-pdpl/README.mdmarkdown9.9 KB
jurisdictions/vn-pdpl/obligations/01-accountability.mdmarkdown5.0 KB
jurisdictions/vn-pdpl/obligations/02-consent.mdmarkdown5.1 KB
jurisdictions/vn-pdpl/obligations/03-purpose.mdmarkdown6.7 KB
jurisdictions/vn-pdpl/obligations/04-access-correction.mdmarkdown4.9 KB
jurisdictions/vn-pdpl/obligations/05-care.mdmarkdown5.0 KB
jurisdictions/vn-pdpl/obligations/06-breach-notification.mdmarkdown5.6 KB
jurisdictions/vn-pdpl/obligations/07-offences.mdmarkdown3.0 KB
jurisdictions/vn-pdpl/obligations/08-sector-specific.mdmarkdown4.4 KB
jurisdictions/vn-pdpl/statute-map.mdmarkdown9.5 KB
layers/01-non-technical.mdmarkdown4.9 KB
layers/02-architecture.mdmarkdown8.0 KB
layers/03-data-model.mdmarkdown8.4 KB
layers/04-controls-and-processes.mdmarkdown9.1 KB
layers/05-feature-ux.mdmarkdown9.0 KB
layers/06-disclosure.mdmarkdown6.5 KB
layers/07-operational.mdmarkdown9.5 KB
templates/INCIDENT_RESPONSE.md.templateother13.2 KB
templates/pdp-nudge.sh.templateother4.5 KB

checklists/breach-response.md

View on GitHub
# Checklist — Responding to a Suspected Security Incident

> ⚠ **Reference material only — not legal advice.** See [DISCLAIMER.md](https://github.com/AltByteSG/personal-data-protection-skill/blob/main/DISCLAIMER.md). Verify against the official statute and consult a qualified DPO / lawyer.

**This checklist is a pointer, not the runbook.** The authoritative incident-response document is your project's `docs/INCIDENT_RESPONSE.md` (built from `templates/INCIDENT_RESPONSE.md.template`). Open it now.

## Why this checklist is separate from the runbook

The runbook lives in your project's `docs/` so non-Claude tools and on-call humans can reach it without going through the skill directory. This checklist is the bridge from a Claude session into that runbook.

## When to open the runbook

Open it the moment you suspect any of:

- A secret leaked (database credentials, API keys, OAuth keys, encryption keys, vault contents)
- An access-control rule was discovered to return data the caller shouldn't see (RLS bypass, IAM misconfig, privileged-function leak)
- An admin / developer accessed user data outside their role (potential s48D / s48E offence)
- A device with admin session / production credentials was lost
- An email with PII was sent to the wrong recipient
- Anomalous traffic (mass downloads, scraping, unusual auth-failure spikes)
- A user reports their account was accessed by someone else
- A vendor notifies you of an incident on their side
- Storage or database was exposed publicly (misconfiguration)

**Doubt = open the runbook.** Cheap to log + assess; expensive to miss the regulatory clock.

## Critical timer (jurisdiction-specific)

Once you assess an incident as "notifiable" per your active jurisdiction's threshold:

| Jurisdiction | Notification deadline to authority | Subject notification |
|---|---|---|
| Singapore PDPA | **3 calendar days** (s26D(1)) — clock starts at **assessment** | On or after authority notification, where significant harm |
| Indonesia UU PDP | **72 hours** from awareness (Pasal 46(1)) | All breaches notify subject; "certain circumstances" trigger public notification |
| Thailand PDPA | **72 hours** from awareness (s37(4)) | If "high risk to rights and freedoms" |
| Malaysia PDPA | **72 hours** from discovery (s12B(1) + JPDP Guideline 25 Feb 2025) | **Within 7 days** of Commissioner notification, where significant harm (s12B(2)) |
| Philippines DPA | **72 hours** from knowledge / reasonable belief (NPC Circular 16-03 § 12(a)) — **to NPC *and* subjects in parallel**; plus an **annual** Security Incident Report by 31 March | **Same 72 hours**, not sequential (§ 20(f) RA 10173). **§ 30 makes concealment its own offence** (1.5–5y + ₱500k–₱1M) |
| Vietnam PDPL | **72 hours** from **detection of the act** (Điều 23(1)) — no assessment buffer. Trigger is **harm-based**, incl. honour and dignity; no scale threshold. **Form No. 08** via the authority or the national portal (Decree Điều 28(2)) | Not a fixed statutory clock; Điều 23(3) separately makes **purpose-creep and broken rights paths** notifiable in their own right |

For SG the clock starts at **assessment**; for TH / ID / MY / PH it starts at **awareness / discovery / knowledge** — so in a multi-jurisdiction incident one of those, not SG, is the binding deadline. PH is the only regime here where *failing to notify* is itself a criminal offence (§ 30). **VN is tighter still**: the clock runs from *detection of the violating act*, with no assessment step in between. Your runbook has the full assessment matrix per active jurisdiction.

## Do not use Claude to:

- Submit the regulatory notification (use the official portal — DPO submits manually)
- Send the user notification email (templates in the runbook — DPO sends from your privacy contact address)
- Make legal calls about whether something is "significant harm" or whether a particular breach is notifiable

## Do use Claude to:

- Triage the technical surface (what files, what tables, what users affected)
- Draft containment migrations (revoke access, tighten access-control rules, rotate credentials)
- Search application and platform logs for related events
- Draft the post-mortem
- Cross-reference the incident against the obligation files for the active jurisdiction

## After the incident

- [ ] Post-mortem in `docs/incidents/INCIDENT_YYYY-MM-DD_<slug>.md` per the runbook's section 6.
- [ ] If the incident revealed a structural gap, file a tracking issue and update the project's "Open compliance gaps" list.
- [ ] Update the runbook itself if anything was unclear during the incident — the next responder benefits.
- [ ] Update any layer file in this skill (or your project's overlay of it) if the lesson generalises beyond this project.

## Threshold reference (for the assessment phase)

The runbook contains the per-jurisdiction notifiability matrix. As a starting reference (verify against the active jurisdiction's actual rules):

| Trigger | Notifiable? |
|---|---|
| ≥ 500 affected individuals (Singapore threshold) | Yes |
| Sensitive category leaked at any scale (auth credentials, health, financial, location-with-identity, children's data, private chat content) | Yes |
| Internal-only access (curious admin) without external disclosure | **Jurisdiction-dependent — do not assume it is exempt.** SG carves it out (s26B(4)); **TH does not** (s37(1) — still a breach, notifiability per risk assessment); ID / MY / PH have no explicit carve-out. Always a personal offence under individual-criminal-liability provisions |
| Loss of device / medium without confirmed access | Notifiable if access is "likely to occur" |

The actual threshold is in the active jurisdiction's `obligations/06-breach-notification.md`.
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall