GovCompass

Pillar 04 of seven

Security & robustness

Security and robustness mean the system resists attack, manipulation, and adversarial input, and holds its behavior under conditions it was not trained for.

What it means

Security and robustness is the property that an AI system resists deliberate attempts to manipulate, degrade, extract from, or subvert it, and continues to operate correctly under adversarial conditions. The EU AI Act addresses this in Art. 15, which places cybersecurity and robustness alongside accuracy as a requirement for high-risk systems. This pillar is distinct from general information security because AI systems present an attack surface that conventional systems do not: the model itself, and the data it was trained on, become targets.

The threat catalogue is specific to AI. Adversarial examples are inputs crafted to cause misclassification while appearing normal to a human. Data poisoning corrupts the training data so the model learns an attacker-chosen behavior. Model inversion and membership inference extract information about the training data from the model's outputs. Model extraction reconstructs a proprietary model by querying it. Prompt injection, for systems built on language models, subverts the system's instructions through crafted input. Each of these has a corresponding defensive posture, and the control set has to cover the ones relevant to the deployment.

Why it matters

Security and robustness is the pillar that underpins all the others, which is why its failure is so consequential. A model that can be manipulated through adversarial input cannot be relied upon to be fair, safe, or transparent, because an attacker can defeat each of those properties on demand. A poisoned training set undermines every downstream control, because the model's behavior has been compromised at its foundation. A successful extraction attack turns a proprietary asset into a competitor's starting point.

Governing security and robustness

The controls extend conventional security engineering to cover the model and its data as first-class assets, and they treat adversarial conditions as expected rather than exceptional.

Control layerControl
PreventiveThreat-model the AI system specifically, covering adversarial input, poisoning, extraction, and inversion as relevant to the architecture. Validate and sanitise inputs to constrain the attack surface. Control and verify the provenance of training data to resist poisoning. Apply access controls to the model, its weights, and its training data as sensitive assets. For systems built on language models, isolate untrusted input from system instructions to resist prompt injection.
DetectiveLog and monitor inference requests for patterns consistent with extraction or adversarial probing, such as anomalous query volume or systematic input perturbation. Conduct adversarial testing and red-teaming on a defined schedule. Monitor for unexpected shifts in model behavior that could indicate a compromise.
CorrectiveMaintain an incident-response capability that covers AI-specific attacks, including the ability to roll back to a known-good model version. Define the response to a confirmed poisoning, which requires retraining from verified data. Report security incidents that meet the Art. 73 threshold to the provider under Art. 26(5), and feed the attack pattern back into the threat model and the preventive controls.
From principle to evidence
  • PrincipleIntegrity under attack and stress
  • HarmCompromise, data theft, or manipulated behavior
  • RiskLikelihood of attack, combined with its blast radius
  • ControlThreat modeling, hardening, and adversarial testing
  • EvidencePen-test results and a maintained threat model
Legal anchors*
Art. 15Art. 73

* Article references are verified against the consolidated text of Regulation (EU) 2024/1689 and, where cited, Regulation (EU) 2016/679. The pillar itself is a general responsible-AI principle; these articles are where it anchors in EU law.

In practice
How this principle is governed and executed

Security is controlled by modeling how the system can be attacked and hardening against it, and proven through adversarial testing and a live threat model.

Governance design

Require a threat model per system and set the cybersecurity standard it must meet.

Execution

Test against adversarial input before and during operation, and keep an incident-response path ready.

With agentic AI
What changes when the system acts, not just decides

With an agent the attack surface widens from the model to the whole action loop. A prompt injection is no longer just a bad answer, it can become an unauthorised action on a connected system.

Governance design

Require an action allow-list per agent and a rule that untrusted content can never authorize a privileged action.

Execution

Sandbox tool calls, test against injection payloads, and keep an immutable action log so any exploited step is traceable.

Across all seven pillarsAgentic AI is not an eighth principle. When security & robustness has to hold while the system acts on its own, not just decides, every control runs over a chain of autonomous steps. See Agentic AI, the condition that runs across all seven.
Go deeper

See how the pillars connect