Part II · Foundations
Security & Governance
Agents read untrusted content, hold credentials and act on their own, so governance comes first. Someone must own each agent, know what it may reach and be able to show what it did. Control sits in every layer, backed by open standards.
How the threat changed
MCP, the Model Context Protocol, is a standard way to offer data and tools to a model. An agent reads content from outside, and that content can carry prompt injection, text hidden in it that tries to give the agent new instructions. Attackers use AI too, and defence moves to continuous red teaming, the deliberate attacking of your own systems to find weaknesses.
| Yesterday | Today and tomorrow | |
|---|---|---|
| Attack surface | ||
| Yesterday: A few APIs that rarely change | Today and tomorrow: Thousands of APIs, MCP servers and agent tools that change every week | |
| Yesterday: Sensitive data behind a few well-known systems | Today and tomorrow: Agents that read sensitive data, keep memory and hold credentials | |
| Yesterday: Callers are people and known applications | Today and tomorrow: A fast-growing number of agents and other non-human identities | |
| Attacks | ||
| Yesterday: Known attacks such as SQL injection and cross-site scripting | Today and tomorrow: Business-logic abuse, and prompt injection hidden in content the agent reads | |
| Yesterday: One and done: a single API call | Today and tomorrow: Low and slow: a sequence of calls, chained across tools and agents | |
| Yesterday: Short attacks, over in minutes | Today and tomorrow: Patient campaigns over days or weeks, with AI automating the reconnaissance | |
| Yesterday: Exploits written mostly by hand | Today and tomorrow: Attackers use AI to find flaws and write exploits at machine speed | |
| Defence | ||
| Yesterday: A perimeter and known signatures | Today and tomorrow: Discovery, posture management and real-time protection for every API, agent and tool | |
| Yesterday: A yearly penetration test | Today and tomorrow: Continuous red teaming, evaluation and monitoring | |
| Yesterday: Access granted once, kept for years | Today and tomorrow: An identity per agent, short-lived scoped credentials and approval for high impact | |
ImpactDiscover everything, harden by design, protect in real time, and treat every agent as a new identity.
What is new to AI
AI TRiSM, short for AI trust, risk and security management, sorts threats into four vectors, two of them new to AI. Data can be poisoned, meaning corrupted on purpose, or can drift, meaning it changes over time and the results slowly get worse.
Keep the traditional controls
People still make mistakes and systems still fail. Enterprise risk management and traditional security stay the base.
Explored in Controls by design
- Risk management
- Security
Add two new ones
AI adds attacks on the model, app or agent itself and on its data. That needs integrity of AI entities and protection of AI data against poisoning and drift.
Explored in Govern by design · When context goes wrong
- AI TRiSM
- Data poisoning
Fair outcomes
An agent can fail without any attacker involved. A service that works well on average may still fail a group of customers, and a customer who is failed needs a way to say so.
Compare groups, not averages
An agent can serve routine requests well and fail people who write in another language, need an accessible channel or have an unusual history. Test with cases like theirs before release, and keep measuring after it.
- Representative tests
- Outcomes by group
Review can repeat the bias
Reviewers tend to accept what an agent suggests, a habit known as automation bias, so they can repeat its mistakes. Give them the evidence, time and authority to challenge its output, and test in controlled exercises whether they catch known errors.
Explored in Who stays in the loop
- Automation bias
- Evidence
Make challenge and remedy easy
People can question an outcome and reach someone who can change it. Fix the cause as well as the case.
Explored in GDPR
- Challenge
- Remedy
Govern the agents
Governing agents starts with knowing which ones exist. A gateway is a single controlled entry point that all traffic of one kind passes through, and observability is being able to see from the outside what a system did and why. The rest follows in the order a new colleague would meet it.
Know your agents
A registry lists every agent with its owner, purpose, status and review date. Each one is registered, changed, suspended and retired, and when an agent retires its access and open tasks are handed over.
- Agent registry
- Clear ownership
- Lifecycle
Give each its own identity
Every person, agent and service gets its own identity and least-privilege rights, which means only the access the task needs. Identity proves who is calling, and a mandate proves what the agent may do. The mandate stays scoped, traceable and revocable while the agent works.
- Non-human identities
- Least privilege
- Short-lived credentials
Control what they reach
A catalogue and gateway decide which data and tools an agent may use.
- Data & tool catalogue
- Gateway
- Policies
Set its bounds
Decide per agent what it may do alone, what needs approval and when it must stop and escalate. Only its owner can widen the bounds.
- Autonomy bounds
- Approval
- Escalation
Watch and account
Observability shows what agents do, and cost attribution shows what they cost.
- Observability
- Audit trail
- Cost attribution
Seven control pillars
Control belongs in the runtime, at the moment the agent acts. Two terms come back often. A guardrail is a check that runs around the model and blocks or changes what is not allowed. A circuit breaker is a control that automatically stops an unsafe action.
- 1Agent identityNon-human identity framework
Every agent a distinct identity, with an owner and temporary, least-privilege access.
- 2Runtime guardrailsCircuit breakers
Agents propose actions; a separate control layer checks them before they run.
- 3ObservabilityAlgorithmic auditing
Reasoning, actions and decisions kept in immutable records.
- 4Agentic FinOpsIntelligence tiering
Dynamic budgets, the right model per task, and a stop when limits are hit.
- 5Autonomy tiersBoundaries and escalation
Low risk runs on its own; high-impact and irreversible actions need a person.
- 6Prospective gatingIncident containment
Check actions before execution, and isolate rogue behaviour fast.
- 7Data perimetersMetadata firebreaks
Governed context layers and zero-trust validation limit what an agent can see.
Policies cannot stop an agent
Written policies cannot physically stop an agent from making a destructive error. Control has to sit in the runtime, where the agent acts.
Explored in Control from day one
- Runtime control
Separate reasoning from execution
The agent proposes, and a separate control layer evaluates the proposal and executes it. Unsafe actions are blocked before they reach production.
Explored in Where the logic lives · The agent loop
- Circuit breakers
- Guardrails
Incidents are expected
By 2029, at least 70% of organisations with production agentic AI in infrastructure and operations are expected to have a material service, security or cost incident linked in part to insufficient runtime controls.
Explored in Who stays in the loop · Errors that cascade
- Incident containment
- Cascading errors
Controls by design
The four layers of the strategy, set out in Layers, give every control a place, which makes it easier to see what is missing. A guardrail on the model, for example, says nothing about what its tools are allowed to touch, so that control belongs in the layer below.
Business layer
Who may decide and approve?
- Human approval for high-impact actions
- An owner per agent
- Consent & delegated authority
- Transaction limits
Agentic layer
How does the agent behave?
- Treat all input as untrusted
- Input & output guardrails
- Isolated memory
- Step, cost & retry limits
- Red teaming before release
Data & integration layer
What may it reach, and as whom?
- Own identity per agent
- Least-privilege, scoped tools
- Short-lived credentials
- Gateway & policy enforcement
- Signed agent-to-agent messages
Platform layer
Where does it run, and can we stop it?
- Sandboxed execution
- Secrets management
- Logging & tracing
- Agent inventory (AgBOM)
- Kill switch
Measures drawn from OWASP's agent security guidance.
Regulation in one view
Several rule sets already shape how agents, data and APIs work in European finance, and one agent can fall under several of them at once. This is a map of which rules to look at and is no legal advice.
AI Act
Obligations follow the risk: some uses are banned, high-risk systems need risk management, data governance, logging and human oversight, and people must know when they deal with AI.
- Risk-based
- Human oversight
- Transparency
GDPR
Personal data needs a lawful basis and a clear purpose, only what is needed, and people can contest decisions made solely by automated means.
Explored in Govern by design
- Lawful basis
- Data minimisation
- Automated decisions
DORA
Financial firms manage ICT risk, report major incidents, test their resilience and keep control of critical third-party providers, exit plans included.
Explored in Platform & Operations
- ICT risk
- Incident reporting
- Third-party risk
PSD2, PSR and PSD3
These rules cover strong customer authentication, which is a check with at least two independent factors, open access to payment accounts and shared responsibility for fraud.
Explored in Open Finance
- Strong customer authentication
- Account access
- Fraud
eIDAS 2
European Digital Identity Wallets, which regulated services such as banks must accept where they require strong user authentication.
Explored in Authenticate
- EUDI Wallet
- Verified attributes
- Strong authentication
Open standards
Most of this does not have to be invented. Open standards already describe the risks, the safe designs and the ways to test them. Most of the guidance listed here comes from OWASP, the open community that publishes application security guidance.
Know the risks
What can go wrong?
Design it safely
How do we build agents securely?
Verify and control
How do we prove it holds?
Govern
Who decides and who is accountable?
Public standards & regulation
What do standards and law expect?
Let’s talk about the agentic enterprise.
Message me on LinkedIn with your challenge, audience and timing to explore a talk, workshop or advisory engagement.
Discuss your challenge on LinkedIn