Audits or builds data handling against Singapore Government IM8 Data Protection controls DP-1..DP-8: residency, encryption, sanitisation, DLP, classification.
Ships in cybersecurity. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are building or auditing how a system stores, moves, and disposes of government data against the ICT&SS Policy Reform Data Protection family (DP-1..DP-8): where data may reside, encryption at rest and in transit, the cloud tenancy it lives in, sanitising and destroying the media it touched, preventing loss in flight, and telling users what classification they may put in.
Two points apply throughout:
Control text in this skill and references/dp-controls.md is embedded from
info.standards.tech.gov.sg as of 2026-07-23; the DP family page was last updated 24
March 2026. The standards iterate. For any compliance-critical decision, verify against
the live page:
references/dp-controls.md — full text of DP-1..DP-8 (statement, recommendations,
risk, the four parameters), the classification background, and cross-family notes. Read
it when you need exact wording for an audit response or SSP documentation.references/implementation-recipes.md — concrete config and artifacts per control:
region-pinning SCPs and replication checks, at-rest/in-transit encryption verification,
landing-zone notes, the sanitisation-and-witness SOP, DLP setup, and the DP-8 input
disclosure. Read it when building.Confirm the maximum data classification and sensitivity tier with the data owner, and get these parameter values from the System Security Plan. If the SSP is missing or the values are blank, flag that as its own finding (the sibling skill sg-gov-ssp-navigator determines levels):
| Control | Parameter | What the SSP defines |
|---|---|---|
| DP-1 | dp-1_prm_1 | The country the data must reside in (Singapore for government data) |
| DP-1 | dp-1_prm_2 | The type/classification of data requiring enforced residency |
| DP-4 | dp-4_prm_1 | The systems to be hosted on a central tenant |
| DP-4 | dp-4_prm_2 | The central tenant management structure |
DP-1 is Level 0 in every SSP; the rest of the family commonly sits at Level 1. The project's own SSP is authoritative for which level applies.
Work in this order. For setup, produce each configuration/artifact. For audit,
verify each and record pass / fail / not-applicable-per-SSP with evidence (the SCP and
region config, the encryption settings, the org structure, the witness records, the DLP
policy, the UI screenshot). Recipes for every step are in
references/implementation-recipes.md.
1a. Enforce residency with technical guardrails (DP-1). All in-scope data (dp-1_prm_2)
resides in dp-1_prm_1 (Singapore). Deny non-SG regions via SCP/policy, pin resources to
ap-southeast-1 (or the SG region of your CSP), then check for the less obvious leaks:
cross-region replication, overseas backup/DR targets,
managed services that process or fail over in another region, global CDN/edge caches
holding response data, and SaaS whose processing region isn't contractual. Support
access from overseas and third-party subprocessors count as residency questions too; ask
the provider, don't assume.
1b. Central tenant management (DP-4). Host the in-scope systems (dp-4_prm_1) under the central structure (dp-4_prm_2): AWS Organizations / Azure Management Groups / GCP Organizations with a landing zone, consistent guardrails, centralised logging, and tagging. GCC tenancies provide this by default. Look for standalone accounts outside the agency's organisation.
2a. At rest (DP-2). Every store (block volumes, object storage, databases, queues, caches, snapshots) is encrypted at rest. CSPs encrypt much of this by default, but confirm and validate per service; defaults vary by service and era, and a pre-encryption-era volume or an exempted cache is a typical miss.
2b. In transit (DP-3). TLS on every hop, including service-to-service traffic inside the VPC. Network-layer encryption by the CSP does not excuse plaintext HTTP at the application layer. Internal load balancers, queues, and database connections all count.
For both: which algorithms, where keys live, and rotation are CK; pair with sg-gov-secure-coding-as; here the question is coverage, not cipher choice.
Sanitise all hardware that stored data at rest; shred or incinerate storage meant for retirement, using recognised standards (Gutmann, Schneier, DoD 5220.22-M). An agency staff member must witness the sanitisation/destruction, under a documented SOP, with a witness record per device. A vendor certificate alone is not a witnessed destruction. In cloud, physical media sanitisation is the CSP's responsibility under its certifications; the agency-witnessed process applies to media the agency controls (on-prem disks, office equipment, USB media, devices returned at contract end). Selling or e-waste-binning an old NAS without this fails DP-5 and DP-6.
Implement DLP that monitors data flows, detects sensitive-data transfers, and blocks unauthorised sharing. Use built-in solutions first (Microsoft Purview, Google Workspace DLP rules), tuned to the classifications in play, with policies reviewed on a schedule. For GenAI features, the upload-specific DLP requirement is GA-6 (sg-gov-gen-ai-security); DP-7 is the general mechanism across email, storage, and endpoints.
For internal applications serving public officers, state the highest permitted security/sensitivity classification for input data (text, audio, uploads) in the UI (at or near the input field) and in the user guides. Keep the message in sync with what the system is authorised to hold; a disclosure that overstates the ceiling is worse than none.
Verify each row; record evidence. "Param" marks controls whose pass criteria come from the SSP; ask for the values rather than inventing them.
| ID | Check | Where | Param |
|---|---|---|---|
| DP-1 | All in-scope data pinned to Singapore; no cross-region replication/backup/DR/processing leaks; guardrail enforced (SCP/policy), not just convention | Region config + SCP + service docs | ✓ |
| DP-2 | Every store encrypted at rest, validated per service (volumes, objects, DBs, caches, snapshots) | Storage config | |
| DP-3 | TLS on every hop including internal service-to-service, LBs, queues, DB connections | Network/app config | |
| DP-4 | Systems under the central tenant structure with landing-zone guardrails; no orphan accounts | Org / tenancy structure | ✓ |
| DP-5 | Retired storage sanitised to a recognised standard; shred/incinerate for disposal | Decommissioning records | |
| DP-6 | Agency staff witnessed sanitisation/destruction under a documented SOP, per-device records | SOP + witness records | |
| DP-7 | DLP monitoring flows, detecting sensitive transfers, blocking unauthorised sharing; policies reviewed | DLP config + policy | |
| DP-8 | Internal officer-facing inputs show the max permitted classification at/near the field and in guides | UI + user guide |
Report per control ID with pass / fail / not-applicable-per-SSP, the evidence found, and
for failures the fix from references/implementation-recipes.md. Attribute
algorithm/key findings to CK, not DP; and correct, don't accept, any "PDPA doesn't apply
so this doesn't matter" reasoning.
evals/evals.json (opens in a new tab)evals/files/DATA-HANDLING.md (opens in a new tab)evals/files/main.tf (opens in a new tab)evals/files/templates/case_form.html (opens in a new tab)evals/trigger-evals.json (opens in a new tab)references/dp-controls.md (opens in a new tab)references/implementation-recipes.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/cybersecurity:sg-gov-data-protectionfrom cybersecurity
npx claudepluginhub kyleoliveiro/sg-gov-skills --plugin cybersecurity10 skills in this plugin
/sg-gov-access-controlSet up or audit identity and access management against the Singapore Government's ICT&SS Policy Reform (IM8 successor) Access Control controls (AC-1..AC-16): account inventory and deny-by-default least privilege, MFA for privileged accounts, Singpass/Corppass for public users vs government SSO (WOG AAD) for internal users, inactive/expired account handling, access reviews, automated account lifecycle, static credential rotation, endpoint hardening/MDM, identity- and device-based access, and separation of duties. Use whenever designing IAM policies or roles, authentication flows, admin or privileged access, account provisioning and deprovisioning, credential/API-key management, or when auditing who can access an agency system. Triggers: "access control", IM8/ICT&SS AC controls, least privilege, MFA, Singpass/Corppass login, SSO, dormant/orphaned accounts, access review, credential rotation, endpoint compliance, zero trust on a government project./sg-gov-container-securityBuild, scan, distribute, and run containers that satisfy the Singapore Government's ICT&SS Policy Reform (IM8 successor) Container Security (CS-1..CS-11) controls. Use whenever writing or reviewing a Dockerfile, a Kubernetes manifest or Helm chart, a container build pipeline, or registry/runtime configuration for a Singapore government agency project, or when preparing for a security audit or VAPT of a containerised workload. Triggers: "ICT&SS container requirements", IM8 container security, Dockerfile hardening, minimal/distroless/alpine/scratch base image, digest-pinned FROM, non-root container user, read-only root filesystem, runtime secrets, Hadolint, image scanning (Trivy, Grype, Amazon Inspector), private container registry, Kubernetes API private endpoint, namespace/workload segmentation, NetworkPolicy, Falco / runtime protection, container security audit, GCC container workload, CS control catalog./sg-gov-gen-ai-securityBuild or audit a Generative AI feature so it satisfies the Singapore Government's ICT&SS Policy Reform (IM8 successor) Gen-AI SSP overlay: the 8 GA controls (GA-1..GA-8) plus DP-8. Use whenever writing, reviewing, or hardening code that calls a GenAI/LLM API, builds a RAG or agent or chatbot feature, self-hosts open-weights models, or handles user prompts/uploads for a Singapore government agency project, or when preparing for a security audit or VAPT of a GenAI application. Triggers: "ICT&SS Gen-AI requirements", IM8 GenAI controls, GA controls, LLM/chatbot/RAG/agent for a government service, GenAI data classification limits, overseas vs Singapore-hosted GenAI API, GCC 2.0 GenAI API, no-log no-train agreement, safetensors / approved model loaders, open-weights model hosting, GenAI file upload safeguards, LLM output evaluation / safety testing, prompt injection testing, hallucination acknowledgement, GenAI security audit, data classification disclosure for AI inputs./sg-gov-logging-monitoringSet up or audit logging and monitoring against the Singapore Government's ICT&SS Policy Reform (IM8 successor) Logging and Monitoring controls (LM-1..LM-21): capturing the five security log sources, off-box tamper-resistant storage, retention, structured formats and log sanitisation, central security log management (GCSOC), security monitoring and detection, and service-health/SLO/DORA/WOGAA monitoring. Use whenever configuring logs, CloudTrail/VPC Flow Logs/WAF or database logging, GuardDuty-class detection, SIEM or UEBA, log retention or lifecycle policies, alerting, observability, or when auditing an agency system's detection posture. Triggers: "logging requirements", IM8/ICT&SS LM controls, GCSOC, central log management, security monitoring, log retention, log sanitisation, SLOs / golden signals, DORA metrics, web defacement monitoring, WOGAA on a government project./sg-gov-network-securityDesign or audit a system's network boundaries against the Singapore Government's ICT&SS Policy Reform (IM8 successor) Network Security controls (NS-1..NS-11): VPC/VNet segmentation and tiered subnets, access restrictions on CSP resources outside the virtual network, deny-by-default security groups and egress allowlisting, private inter-network connectivity (PrivateLink, peering, Transit Gateway), WAF/DDoS/CDN filtering, valid auto-renewed TLS certificates, authenticated and encrypted service-to-service traffic (mTLS, service mesh), secure cloud-to-on-premises connectivity, IPS/IDS, hardened remote admin access, and firewall-change alerting. Triggers: "network segmentation", security group rules, 0.0.0.0/0 ingress, deny by default, egress allowlist, VPC endpoints, WAF in front of an agency service, certificate expiry, mTLS between microservices, site-to-site VPN / Direct Connect, IDS/IPS, bastion or VPN access to private networks, firewall rule change alerts, IM8 network requirements, GCC network architecture./sg-gov-resiliency-recoveryBuild or audit availability and recoverability for a Singapore government system against the ICT&SS Policy Reform (IM8 successor) Resiliency (RS-1..RS-3) and Backup & Recovery (BR-1..BR-6) controls: multi-AZ deployment with health checks and failover, load balancing and auto-scaling, periodic load testing, backups stored encrypted in a separate location, immutable backup retention (S3 Object Lock), recovery testing against RTO/RPO, and the disaster recovery plan, business continuity plan, and continuity exercises. Use when deploying or reviewing agency infrastructure for high availability, configuring AWS Backup/Azure Backup, setting backup frequency or retention, planning DR failover, or preparing RTO/RPO commitments. Triggers: multi-AZ or availability zones, auto-scaling, load testing, backup policy or schedule, immutable/ ransomware-proof backups, restore or recovery testing, RTO/RPO, disaster recovery plan, business continuity exercise, single point of failure, IM8 resiliency or backup requirements.Other plugins' skills for the same job