Audit or build GenAI features against Singapore Government ICT&SS Gen-AI SSP controls GA-1..GA-8 and DP-8, covering data classification, provider agreements, and model hosting.
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 a Generative AI feature against the ICT&SS Policy Reform Gen-AI SSP overlay: the 8 GA controls (GA-1..GA-8) plus DP-8, nine controls in total. The family's scope is securing the use of GenAI models and applications: where the model runs, what data may reach it, the provenance of self-hosted weights, input safeguards, output evaluation, and user awareness. Most of these are design decisions made at the start, and an audit or VAPT of a GenAI service checks them.
The maximum data classification the feature handles determines which model/provider you may call. Settle that first; the other controls depend on it.
The GA controls are about data-classification governance, provider agreements, weight provenance, input safeguards, output evaluation, and user awareness, not primarily prompt-engineering defenses. Two things people wrongly expect here:
Control text in this skill and references/ga-controls.md is embedded from
info.standards.tech.gov.sg as of 2026-07-22; the pages were last updated 24 March
2026. The standards iterate actively. For any compliance-critical decision, verify
against the live pages:
references/ga-controls.md — full text of all 8 GA controls + DP-8 (statement,
recommendations, risk, the two GA-5 parameters), data-classification background, and
cross-family notes. Read it when you need exact wording, e.g. for an audit response or
SSP documentation.references/implementation-recipes.md — concrete, framework-neutral code and config per
control: provider-routing by classification, the GA-3 agreement checklist, safetensors /
approved-loader loading, file-upload safeguards, DP-8 input disclosure, the GA-7 eval
harness, and the GA-8 acknowledgment gate. Read it when building.You need two inputs before writing code; if either is missing, flag it first rather than guessing.
1. The maximum data classification the feature will process (confirm with the data owner). This sets the GA-1/GA-2 routing ceiling. Don't assume "it's just a chatbot, it's low-risk": a public assistant that can be fed CONFIDENTIAL case data is a CONFIDENTIAL system.
2. The System Security Plan (SSP) selects which controls apply at which level and sets parameter values. GA-5 carries two agency-defined parameters the catalog leaves blank:
| Control | Parameter | What the SSP defines |
|---|---|---|
| GA-5 | ga-5_prm_1 | The approved model formats for open-weights models (e.g. safetensors) |
| GA-5 | ga-5_prm_2 | The approved model loaders for open-weights models |
Ask for the SSP's values; do not invent an approved-format or approved-loader list. If no SSP exists yet, flag that; the sibling skill sg-gov-ssp-navigator determines whether the Gen-AI overlay applies and at which level each GA control sits for this system. GA-5's parameters only matter if you self-host open-weights models; a pure API integration can mark GA-5 not-applicable (and should say why).
Work in this order. For setup, apply each step. For audit, verify each and record
pass / fail / not-applicable-per-SSP with evidence (the route config, the signed agreement,
the loader version, the eval report, the UI screenshot). Recipes for every step are in
references/implementation-recipes.md.
1a. Route by data classification (GA-1/GA-2). Overseas-hosted GenAI APIs may process only up to RESTRICTED / SENSITIVE NORMAL; Singapore-hosted only up to CONFIDENTIAL / SENSITIVE HIGH. Make this a code invariant: tag each call site with the max classification it can carry and refuse to dispatch above the route's ceiling. Don't leave it to a comment or a wiki page. Watch for cross-region processing: an "SG region" endpoint that can fail over or infer overseas counts as overseas (GA-1) for classification.
1b. Get the no-log/no-train agreement (GA-3). You need a legally-binding provider commitment: no logging, storage, or retention of inputs/outputs, and no training on them, covering all endpoints, parameters, outputs, and models you call. Prompt caching is allowed only if TTL ≤ 24 hours. GCC 2.0 GenAI API services satisfy GA-3; prefer them to avoid a bespoke agreement; for any other provider, the signed agreement is the audit evidence.
1c. Clear the environment for self-hosted models (GA-4). If you self-host, the serving environment must be authorized for the highest data classification in the system it serves (per the relevant IM8 SSP for that classification). Self-hosting in a container brings the Container Security family in for the image and cluster; pair with the sg-gov-container-security skill.
Open-weights only. The risk is arbitrary code execution at load time. Use an approved
format (ga-5_prm_1; commonly safetensors, a non-executable tensor container) and
never torch.load an untrusted pickle checkpoint (.bin/.pt/.ckpt), which executes
code while deserializing. Load via an approved, frequently updated loader (ga-5_prm_2);
loader CVEs are the attack path, so pin by version/digest and take reviewed bumps. Pull weights
from a trusted, access-controlled source and verify checksums.
3a. File-upload safeguards (GA-6), only if uploads are enabled. Disable bulk/batch uploads, require per-file classification confirmation (rejecting anything above the route ceiling), run DLP on extracted text before it reaches the prompt, and validate type/size. Treat extracted document text as untrusted (indirect prompt injection; test under GA-7).
3b. Classification disclosure at input fields (DP-8). Show the maximum permitted classification at or near every input field that reaches the model (and in the user guide), kept in sync with the actual route. It must be visible, not buried in help.
Build an evaluation harness with defined metrics, test scenarios, and criteria across three axes: accuracy (task correctness, RAG groundedness), safety (refusals, PII leakage, and prompt-injection/jailbreak resistance, direct and indirect), and quality (format, tone, no fabricated citations). Run it as a gate that re-runs after every model or prompt change, document the approach, and store results per model version to catch regressions. This is where prompt injection gets tested; it has no separate control.
Require an explicit acknowledgment of hallucination risk (a checkbox or "I Agree") before the app can be used. Gate on it server-side, not just in the UI. Add a risk clause in the Terms of Use, a prominent persistent indicator that outputs are AI-generated, and educational material on responsible use.
Verify each row; record evidence. "Param" marks the control whose pass criteria come from the SSP. GA-4/GA-5 apply only when self-hosting open-weights models; mark not-applicable-per-SSP with a reason otherwise.
| ID | Check | Where | Param |
|---|---|---|---|
| GA-1 | Overseas GenAI API only sends ≤ RESTRICTED/SENSITIVE NORMAL; enforced in code, not prose | Routing/dispatch code | |
| GA-2 | SG-hosted GenAI API only sends ≤ CONFIDENTIAL/SENSITIVE HIGH; cross-region processing checked | Routing/dispatch code | |
| GA-3 | Legally-binding no-log/no-train agreement covering all endpoints; cache TTL ≤ 24h; or GCC 2.0 | Contract / provider config | |
| GA-4 | Self-hosted model environment authorized for the system's highest data classification | Hosting env / SSP | |
| GA-5 | Open-weights loaded from an approved format (safetensors) via an approved, updated loader; no pickle | Model-loading code | ✓ |
| GA-6 | Bulk uploads disabled; per-file classification confirm; DLP on extracted text; type/size validation | Upload handler | |
| DP-8 | Max permitted classification shown at/near every model input field and in the guide | UI + user guide | |
| GA-7 | Defined accuracy/safety/quality metrics + scenarios; safety incl. prompt-injection; gates on model change | Eval harness / CI | |
| GA-8 | Explicit hallucination acknowledgment before access (server-enforced); ToU clause; prominent AI indicator | UI + ToU |
Report per control ID with pass / fail / not-applicable-per-SSP, the evidence found, and
for failures the fix from references/implementation-recipes.md. Where a pass depends on
the SSP (GA-5 formats/loaders), ask for the SSP value rather than inventing one.
evals/evals.json (opens in a new tab)evals/files/INFRA-SETUP.md (opens in a new tab)evals/files/app.py (opens in a new tab)evals/files/templates/index.html (opens in a new tab)evals/trigger-evals.json (opens in a new tab)references/ga-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
10 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-data-protectionBuild or audit a system's data handling against the Singapore Government's ICT&SS Policy Reform (IM8 successor) Data Protection controls (DP-1..DP-8): Singapore data residency, encryption at rest and in transit, central cloud tenant management, storage sanitisation and witnessed destruction, data loss prevention, and classification disclosure in the UI. Use whenever handling government data classifications, pinning cloud regions or checking cross-region replication, configuring encryption (including the CK key-management work behind it: algorithms, rotation, HSM; pair with sg-gov-secure-coding-as), decommissioning storage, setting up DLP, or when PDPA questions come up on an agency project. Triggers: "data residency", IM8 data protection requirements, DP controls, ap-southeast-1 pinning, encryption at rest / in transit or key management for government data, AWS Organizations / landing zone / GCC tenancy, media sanitisation or disposal, DLP, PDPA or PSGA obligations, maximum classification for input fields./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./cybersecurity:sg-gov-gen-ai-securityfrom cybersecurity
npx claudepluginhub kyleoliveiro/sg-gov-skills --plugin cybersecurityOther plugins' skills for the same job