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/new-vendor.md

View on GitHub
# Checklist — Adding a New Sub-processor / Third-Party Vendor

> ⚠ **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.

Use when wiring up a new external service that will receive, process, or store user personal data (push notifications, email delivery, analytics, error tracking, payments, identity, etc.).

## 1. Is it actually a sub-processor?

A **sub-processor** processes user personal data on your behalf. It is NOT:

- Pure transit infrastructure (CDN, edge cache) where data passes through but isn't stored
- Source-code hosting / CI / developer tooling that never sees production user data
- Vendors that only see aggregate / anonymised metrics with no re-identification path

**Inclusion test:** does the vendor receive a value that maps to an individual user (UUID, email, name, IP, device ID, etc.)?

If yes → sub-processor → continue this checklist.
If no → not a sub-processor → no privacy-policy disclosure needed (but still document in your internal vendor register).

## 2. Contract / DPA

- [ ] Signed / accepted Data Processing Agreement (DPA) is in place.
- [ ] DPA covers the active jurisdictions explicitly OR provides "comparable protection" sufficient for the active jurisdictions' transfer obligations.
- [ ] Sub-sub-processors that the vendor uses are acceptable / disclosed by them.
- [ ] DPA includes a breach-notification flow-down clause requiring the vendor to notify you with enough lead time for you to hit the strictest active clock — typically **≤24 hours from the vendor's discovery** so you can still file the MY 72h s12B(1) Commissioner notification, the TH/ID 72h authority notification, or the SG 3-day post-assessment notification (s26C(3)).
- [ ] DPA covers the data residency you need.

## 3. Architecture ([layer 02](../layers/02-architecture.md))

- [ ] Vendor's data residency confirmed and documented.
- [ ] Authentication credentials stored in your secret manager or platform vault — never in source.
- [ ] Credential rotation procedure documented in your incident-response runbook.
- [ ] No client-side credential exposure (the app does not ship the API key).

## 4. Disclosure ([layer 06](../layers/06-disclosure.md))

- [ ] Privacy policy sub-processor table has a new row (or an existing row updated) with:
  - Provider name (use the legal entity name where it differs from the brand)
  - Specific purpose (what they do for you)
  - Data categories processed
  - Region (or "global infrastructure" with a note about contractual binding)
- [ ] If the new vendor is the same legal entity as an existing row (e.g. another Google service), update the existing row instead of adding a new one.
- [ ] Closing paragraph "Sub-processor list updated: …" date is bumped.
- [ ] Privacy policy "Last updated" date bumped.
- [ ] If material change, decide on user notification (in-app banner / email).

## 5. Cross-border transfer basis

For each active jurisdiction:

- [ ] **Singapore PDPA s26** — vendor's DPA contains binding clauses comparable to PDPA Transfer Limitation Obligation (PDP Reg 10).
- [ ] **Indonesia UU PDP** — Pasal 56 3-tier hierarchy: adequacy → adequate-and-binding safeguards → consent. No published adequacy list — most realistic basis is Tier 2 vendor DPA with binding clauses.
- [ ] **Thailand PDPA** — verify the cross-border basis (adequacy / explicit consent / contractual safeguards) is satisfied.
- [ ] **Malaysia PDPA s129** — post-A1727 (1 April 2025) the Ministerial whitelist regime is **deleted**. Realistic basis is **s129(3)(f) due diligence**: vendor DPA + cert audits (ISO 27001 / SOC 2) + a documented assessment that the destination won't process the data in a manner that would contravene the Act if it were Malaysia. Burden of proof is on you as controller.

## 6. Logging hygiene ([layer 04](../layers/04-controls-and-processes.md))

- [ ] Server-side code calling the vendor uses sanitised logging helpers (`safeError` / `redactPII`) at every `console.*` / `print` / equivalent.
- [ ] Vendor's error responses run through `redactPII` (vendors notoriously echo submitted PII back in errors — emails, tokens, IDs).
- [ ] If the vendor returns rich JSON errors, parse and log only the error code / type, not the full body.

## 7. Activation gating

If the vendor is wired but not yet actively sending data:

- [ ] Add to the project's "wired but inactive" parking-lot list.
- [ ] Privacy policy update is NOT required until activation (no data has actually flowed).
- [ ] When activating, the privacy policy update lands in the same PR as the activation switch.

## 8. Incident-response coverage

Update `docs/INCIDENT_RESPONSE.md`:

- [ ] Add a containment row for the new credential (rotate where, update where).
- [ ] Add a row for vendor-reported breach scenarios (how do they notify you?).

## 9. Vendor renewal / review

- [ ] Add to the quarterly vendor review schedule.
- [ ] Note the DPA renewal date if it has one.

## 10. Jurisdiction-specific notes

| Jurisdiction | Particular considerations |
|---|---|
| **Singapore PDPA** | s26 transfer + s11(2) responsibility for processor. Most vendor DPAs cover this with standard contractual clauses. |
| **Indonesia UU PDP** | Cross-border requires adequacy OR explicit consent OR safeguards. Vendor DPA usually provides safeguards. Pasal 51–52 also imposes processor obligations parallel to controller — confirm vendor's RoPA practice. |
| **Thailand PDPA** | Similar to Indonesia. Note PDPC Thailand has not formally designated adequate jurisdictions — rely on contractual safeguards. |
| **Malaysia PDPA** | Post-A1727 (1 April 2025) the processor is **directly bound** by the Security Principle (s9) under s5(1A) and must appoint its own DPO under s12A(2). Confirm the vendor has appointed and registered a DPO with JPDP — the vendor's DPO appointment is now an evidence item, not just contractual. Cross-border whitelist is gone — rely on s129(3)(f) due diligence. |
| **Philippines DPA** | § 21 keeps the PIC accountable for data transferred to a PIP — there is no whitelist and no SCC regime, so the basis is "contractual or other reasonable means" plus documented due diligence. § 14 requires the outsourcing agreement to be in writing and to bind the PIP to the PIC's security obligations. For private-sector data sharing see NPC Circular 2020-03. The vendor must be able to support **72-hour** breach notice to NPC *and* subjects (NPC Circular 16-03). |
| **Vietnam PDPL** | No adequacy list and no SCC regime. Any vendor processing Vietnamese personal data outside Vietnam is a **cross-border transfer** under Điều 20(1), requiring a transfer impact assessment **filed within 60 days of first transfer** (Điều 20(2)) and refreshed 6-monthly (Điều 22) — so vendor onboarding changes a filed regulatory document, not just a DPA. The authority may inspect yearly and **order transfers suspended** (Điều 20(4)–(5)). Điều 37(1)(đ) makes selecting an appropriate processor a named controller duty, and the vendor's breach notice must reach you fast enough to meet a **72-hour clock that runs from detection**. |
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