WTWilly Tai
Commentary · AI governance

Three disciplines, one design gate

Security by design, privacy by design and AI by design ask different questions of an AI system. They have to be answered at the same design gates, and a system built that way keeps its own evidence.

Willy Tai · Smart Cities · AI · ESG · October 2026

Three weeks before an AI assistant goes live, internal audit asks for four things: the pass marks agreed before testing began, the list of documents the assistant can retrieve from, the approval for the current system prompt, and a record of what the assistant told users last Tuesday. The pass marks were chosen after the results came in. The document list has to be rebuilt from a shared drive. Nobody approved any of the many versions of the system prompt. Last Tuesday is gone, because nobody decided to keep it.

Each gap goes back to a decision nobody made at design time. Security, privacy and AI governance each have a "by design" tradition, and each would have closed part of it. The three ask different questions of a system and have to answer them at the same design gates. Built that way, a system writes its own evidence as it runs, and assurance becomes the reading of records that already exist.

Three questions about one system

The oldest of the three is security by design. CISA and its international partners ask software makers to own their customers' security outcomes [1]. The UK NCSC and CISA, with partners including Singapore's Cyber Security Agency (CSA), carried the idea across the AI lifecycle [2], and CSA's own guidelines, written for the organisation adopting AI, run from planning to end of life [3]. The question security asks is who could make the system do something its owner never intended.

Privacy by design asks whether the data should be collected or used at all, for what purpose and for how long. Ann Cavoukian made privacy the default setting, so protection holds even if the individual does nothing [4], and Article 25 of the GDPR made that law [5]. My piece on ISO 42001 filed access to training data under confidentiality, which was incomplete: confidentiality asks who can read the data, and privacy asks whether it should be there in the first place.

AI by design is the least settled term. I use it for the controls specific to AI that neither security nor privacy supplies, designed in from the first decision: purpose and potential harm, data that represents the cases the system will meet, testing against a yardstick fixed in advance, explanation, a person able to override or stop the system, drift monitoring and a record of who decided what. The frameworks draw this boundary themselves. CSA's security guidelines put fairness, transparency and safety outside their scope [3]. NIST lists risks that are new or worse in AI, among them harmful bias and data drift, and says existing frameworks and guidance cannot adequately manage harmful bias or fully address attacks specific to machine learning [6]. Singapore's Model AI Governance Framework and AI Verify, ISO/IEC 42001 and the EU AI Act's high-risk requirements each fill that space [7][8][9][10]. The architectural half of this argument is in The trust boundary.

One assistant, followed through the gates

Take an estate operator in Singapore that wants a helpdesk assistant for staff and residents. It retrieves from maintenance records, service contracts, contractor reports and past complaint tickets, drafts an answer that cites its sources, and can draft a work order for a supervisor. The tickets hold names, unit numbers and phone numbers, and sometimes more. A resident who mentions a wheelchair in a lift complaint has disclosed something about their health.

At the idea gate, the first question is how much harm a wrong answer could do. Singapore's framework uses a probability and severity matrix to decide how closely a person stays involved [7]. The yardstick belongs here too. The EU AI Act tests high-risk systems against metrics and thresholds defined in advance [10], and MAS's guidelines, issued on 7 October 2026, expect residual risk to sit within appetite before deployment [12]. Only a threshold set now can show whether what the log later records was acceptable. Privacy needs the purpose pinned down, because the PDPC expects a deployer to keep the system away from data outside it [11], and security needs a threat model.

The data gate turns on where personal data will sit. The PDPC accepts that removing specific information from inside a model is hard today, and gives a retrieval database as a place where acting on a correction request is reasonable [11]. Poisoning can enter through embeddings as well as training, so security needs the origin of each document [13]. The AI question is whether the stores cover the whole estate the assistant will serve.

At the build gate, security for AI starts from an uncomfortable premise. The NCSC argues that a language model keeps no firm boundary between instructions and data, so prompt injection may never be fully mitigated, and OWASP's 2026 list says no reliable prevention exists [14][13]. The assistant reads contractor reports and resident emails, any of which could carry instructions, so the design limits what a manipulated model can do. Authorisation lives in application code, credentials never sit in the prompt, and the assistant drafts a work order that only the application can raise, after checking the user's own permissions [13]. Privacy asks that a development environment holding raw personal data be protected to a standard similar to any system that handles such data [16].

Before release, red teaming [2] should check whether the assistant will hand one resident's phone number to another user [13]. Accuracy is measured against the thresholds fixed at the idea gate, and the oversight is tested too. OWASP warns that a persuasive explanation can lead a person to approve a harmful action [17], so the approval screen should show the exact action being approved. Release then turns the records into a package: a hash of the model and its configuration, the test results, and a documented acceptance of the residual risk [18][3], which I would have signed by a named approver.

In operation, CSA asks owners to log inputs such as prompts, because third-party providers may not keep them, and to monitor outputs for anomalies and drift [3]. The joint guidance on deploying AI securely adds logs of outputs and errors [18]. CSA's agentic addendum adds trace IDs that link each input, output and tool call, so a decision path can be rebuilt from tamper-evident logs [15].

Here are the records each gate should leave behind.

GateSecurity asksPrivacy asksAI asksRecord left behind
IdeaWhat can it reach and change?What is it for, and which personal data does that need?How much harm could a wrong answer do, and what is good enough?Inventory entry with a named owner, threat model, impact assessment, thresholds dated before testing
DataWhere did each source come from?Retrieval store or model weights?Does the data cover the cases it will meet?Lineage record
BuildWhat stops a manipulated model?Is raw personal data in the build environment protected?Does every answer cite its records?Versioned prompts and retrieval settings, a log of prompt changes
Test and releaseDid red teaming pass?Can one user's data reach another?Were the thresholds met, and does the oversight work?Test reports tied to the version; release record with hash, residual-risk acceptance and approver
OperateDid every action stay within its permissions?Who owns the prompt log, and when is it deleted?Is performance drifting, and are overrides rising?Trace-linked action log, drift and override reports
RetireWere model and data disposed of securely?Were retention limits met?Is the decision record archived?Disposal record: what was deleted, what was kept, for how long and why

Where the three pull apart

A shared gate earns its keep where the disciplines disagree, and the helpdesk has three such points.

The wheelchair is the first. Minimisation argues for stripping it out of the tickets, while fair prioritisation of lift repairs may depend on knowing it. The EU AI Act, as amended in July 2026, allows sensitive data for bias detection only where strictly necessary, with the reason written into the processing record [19]. The PDPC wants the reasons for using identifiable data in place of anonymised data documented and decided at an appropriately senior level [16].

Second is the log. The record that answers the security question is itself personal data, and the PDPC treats prompts, outputs and agent activity as data sources a deployer must track, assign to an owner and protect [11].

Retirement brings the third. CSA asks for secure disposal of data and models [3] and Cavoukian for secure destruction on time [4], but assurance still needs some records kept: for high-risk systems the EU Act sets a six-month floor for logs [10].

Privacy-enhancing technology has a price too. NIST says differential privacy in model training usually lowers accuracy, sometimes significantly [20], so Cavoukian's hope of full privacy with full function does not always hold for AI. The design gate is where an accountable owner makes each trade and writes down why.

What an auditor should be able to read

Singapore's Model AI Governance Framework asked for this in 2020, suggesting an audit trail of model training and AI-assisted decisions, and a central process log that helps show the design was responsible and the outcomes justifiable [7]. Those records usually belong to the adopting organisation: CSA writes for system owners [3], and the PDPC makes the deployer primarily responsible for ensuring that a system it buys meets the PDPA [11]. For Singapore firms whose AI output is used in the EU, the Act's high-risk duties apply from 2 December 2027 for stand-alone systems [19][10].

A system built this way lets the three lines of defence work without reconstruction, much as I set out in the control framework. The first line builds the system and keeps its records. The second sets the thresholds and permission limits and attests to them. Internal audit re-performs, replaying a sample of decisions from the log and checking that the model in production is the one the release record approved.

In 2018 and 2019 I delivered audits and risk advisory at Protiviti for financial-services clients, work that starts after a system is built, with a request for evidence that someone then has to assemble. Two synthetic demos on this site show the difference. Work Order Miner reads a maintenance system that reports 93.8% SLA compliance and finds that its own event log supports 73.4%. Snap to Work Order writes its evidence as it runs. Its trail tags every step as system, AI or human, logs the model's confidence against a 0.75 threshold, and records the named approver and any override with its reason. A review of the second starts from the record.

What this is, honestly. This is commentary on published guidance, not legal advice. The CSA and IMDA documents cited are voluntary, and the PDPC's guidelines are advisory. My demos run on synthetic data and show an evidence trail and a human gate; none of them shows privacy by design from end to end. I have not audited a production AI system. I trained as a Chartered Accountant and Certified Internal Auditor, and my security experience is delivery under MAS Technology Risk Management at two Singapore financial institutions, which is different from security specialism.

Questions for the next design review

  1. Which thresholds did we fix before testing, and where is the dated record?
  2. Could an auditor rebuild one decision, from prompt to action, using only records the system wrote itself?
  3. If the model follows an instruction hidden in a document, what is the most it can do, and which piece of ordinary code stops it there?
  4. Does personal data sit in a retrieval store or in model weights, and could we honour a correction request next month?
  5. Who owns the prompt and output logs, who can read them, and when are they deleted?
  6. What exactly does an approver see, and is that screen saved with the approval?
  7. Can we show, by hash or version, that the model in production is the one that passed testing?
  8. Where did security, privacy and fairness pull apart, who decided, and where is the reason written down?

A design review that can answer these has already done most of the audit.

Sources

  1. CISA and international partners, Shifting the Balance of Cybersecurity Risk: Principles and Approaches for Secure by Design Software, Principle 1. www.cisa.gov (25 Oct 2023)
  2. UK NCSC, US CISA and partner agencies, Guidelines for secure AI system development, sections 1 to 4. www.ncsc.gov.uk (27 Nov 2023)
  3. Cyber Security Agency of Singapore, Guidelines on Securing AI Systems, s1.1 Scope, s3.1 lifecycle, s3.2 Step 4, Guidelines 4.1, 4.2 and 5.1. www.csa.gov.sg (15 Oct 2024)
  4. Ann Cavoukian, Information and Privacy Commissioner of Ontario, Privacy by Design: The 7 Foundational Principles, principles 2, 4 and 5. www.ipc.on.ca (Aug 2009, revised Jan 2011)
  5. Regulation (EU) 2016/679 (GDPR), Article 25(1) and 25(2). eur-lex.europa.eu (4 May 2016)
  6. NIST AI 100-1, Artificial Intelligence Risk Management Framework (AI RMF 1.0), Appendix B. nvlpubs.nist.gov (Jan 2023)
  7. PDPC and IMDA, Model Artificial Intelligence Governance Framework, Second Edition, probability-severity matrix and paras 3.37 and 3.44. www.pdpc.gov.sg (21 Jan 2020)
  8. AI Verify Foundation, What is AI Verify. aiverifyfoundation.sg (accessed 28 Sep 2026)
  9. ISO/IEC 42001:2023, Artificial intelligence: Management system. www.iso.org (Dec 2023)
  10. Regulation (EU) 2024/1689 (AI Act), Articles 2(1)(c), 9(8), 12(1), 14(4), 19(1) and 26(6), via the European Commission AI Act Service Desk. ai-act-service-desk.ec.europa.eu (13 Jun 2024)
  11. PDPC Singapore, Advisory Guidelines on Use of Personal Data in Generative AI, paras 9.1 to 9.3, 10.4 and 10.5. www.pdpc.gov.sg (20 Jul 2026)
  12. Monetary Authority of Singapore, Guidelines on Artificial Intelligence Risk Management, para 4.11. www.mas.gov.sg (7 Oct 2026; in effect from 7 Oct 2027)
  13. OWASP GenAI Security Project, OWASP GenAI LLM Top 10 2026: LLM01, LLM02, LLM03, LLM05 and LLM08. genai.owasp.org (3 Aug 2026)
  14. UK NCSC, Prompt injection is not SQL injection (it may be worse). www.ncsc.gov.uk (8 Dec 2025)
  15. Cyber Security Agency of Singapore, Securing Agentic AI: An Addendum to the Guidelines and Companion Guide on Securing AI Systems, controls 4.3 and 4.4. www.csa.gov.sg (17 Jun 2026)
  16. PDPC Singapore, Advisory Guidelines on Use of Personal Data in AI Recommendation and Decision Systems, paras 7.3 and 7.9. www.pdpc.gov.sg (1 Mar 2024)
  17. OWASP GenAI Security Project, OWASP Top 10 for Agentic Applications, ASI09 Human-Agent Trust Exploitation. genai.owasp.org (9 Dec 2025)
  18. NSA AI Security Center, CISA, FBI and partners, Deploying AI Systems Securely. www.ncsc.govt.nz (Apr 2024)
  19. Regulation (EU) 2026/1744 (Digital Omnibus on AI), including new Article 4a of the AI Act; see also the European Commission notice AI Omnibus enters into force. eur-lex.europa.eu (8 Jul 2026; in force 27 Jul 2026)
  20. NIST SP 800-226, Guidelines for Evaluating Differential Privacy Guarantees, section 3.5. nvlpubs.nist.gov (Mar 2025)
RELATED · The trust boundary · What ISO 42001 certification does and does not cover · A control framework for agentic AI under MAS rules · Snap to Work Order · Work Order Miner
Guidance positions as of 28 September 2026, with the MAS guidelines updated to their final text of 7 October 2026. Verify dates before relying on them.
Views are my own, not my employer's.