Policy · POL-16

Secure Agent Engineering Policy

Sets secure engineering for agents: threat modelling, breaking the lethal trifecta, handling untrusted content, sandboxes, default-deny egress, authenticated agent traffic, safe writes and output validation.

DRAFTDRAFT for review by Felix and legal counsel. This is the CoE's own working draft, not legal advice. Framework references are indicative and must be checked against the current text before use.

Version 0.1 draft · 30 November 2026

Download Word (.docx) Control register (.xlsx)

Document control

Document IDPOL-16
TypePolicy
Version0.1 draft
StatusDraft, not approved
OwnerAI security (CISO office) (the CoE lead acts as owner until this role is staffed)
ApproverDesign authority
Effective dateOn approval
ReviewEvery 12 months, and on trigger events

1. Purpose

Agents turn text into actions, so any text they read can become an attack. This policy sets the engineering controls that keep that risk bounded.

2. Scope

The design, build and runtime of every agent, including sandboxes, networks, tool integrations and agent-to-agent communication.

3. Definitions

TermMeaning
MAESTROA layered threat-modelling approach for agentic AI from the Cloud Security Alliance.
Plan-then-executeA pattern where the plan is fixed before untrusted content is read, so that content cannot change which tools are called.
Quarantined readerA model with no tools that reads untrusted content and returns only constrained output to the acting agent.

4. Roles and responsibilities

ActivityOWNARCENGEVLOPSSEC
Threat-model the agentIRCA
Break the lethal trifectaARC
Configure sandboxes and egressCRA
Validate outputsAC

R responsible · A accountable · C consulted · I informed. OWN Agent owner (business) · ARC Agentic solution architect · ENG Agent engineer · EVL Evaluation engineer · OPS AgentOps / SRE · SEC AI security (CISO office)

5. Policy statements

  1. POL-16.1Every Tier 2 and 3 agent must be threat-modelled before build and at major change through PRC-03.
  2. POL-16.2No agent may combine access to private data, exposure to untrusted content and a way to send data out, unless a recognised pattern breaks the chain or the board grants an exception.
  3. POL-16.3Content from outside the trust boundary must be tagged with its provenance, stripped of hidden text and screened before it reaches a model that can act.
  4. POL-16.4Code execution and browsing must run in sandboxes with default-deny file system and network access and no route to internal networks. Permission-bypass modes must be disabled on managed devices and runners.
  5. POL-16.5Agent networks must have no direct internet route. Egress must go through a proxy with allow-lists keyed to agent identity or tier, with private endpoints for model, data, identity and secrets services, and DLP on outputs and tool arguments.
  6. POL-16.6Messages between agents must be authenticated, schema-validated and scoped down at each hop. Remote agent cards must be signed and verified.
  7. POL-16.7Development, test and production must be separate. Agents get no destructive rights by default, and snapshots, soft delete and a tested restore must exist before any write access to systems of record.
  8. POL-16.8Model outputs used by tools or downstream systems must be validated against a schema and treated as untrusted. Rendering of links and markup must be restricted.

6. Controls and framework mappings

Each control has an owner, a test and evidence in the control register. The full crosswalk, including ISO/IEC 27001, SOC 2, DORA, MITRE ATLAS and sector guidance, is on the crosswalk page.

IDControlType · mode · frequencyMain mappings
SEC-01Threat model before build. Every Tier 2 and 3 agent is threat-modelled before build and at major change, using MAESTRO layers with OWASP agentic threats mapped to ATLAS techniques.Preventive · Manual · Before G1 and on major changeNIST AI RMFMAP 5.1; MEASURE 2.7
OWASPASI01 to ASI10
CoE planCtrl 3
SEC-02Lethal trifecta broken by design. No agent combines private data, untrusted content and a way to send data out unless an architectural pattern breaks the chain (for example plan-then-execute, a quarantined reader, or capability tracking) or the board grants an exception.Preventive · Manual · At G1OWASPLLM01 Prompt injection; ASI01 Agent goal hijack
CoE planCtrl 2; Ctrl 4
SEC-03Untrusted content handled as data. Content from outside the trust boundary is tagged with its provenance, stripped of hidden text and screened before it reaches a model that can act.Preventive · Automated · ContinuousOWASPLLM01 Prompt injection; LLM05 Improper output handling
CoE planCtrl 13
SEC-04Sandboxed execution, no bypass modes. Code execution and browsing run in sandboxes with default-deny file system and network and no route to internal networks. Permission-bypass modes are disabled on managed devices and runners.Preventive · Automated · ContinuousOWASPASI05 Unexpected code execution (RCE)
CoE planCtrl 9; Ctrl 10; NET-5
SEC-05Egress default deny. Agent networks have no direct internet route. Egress goes through a proxy with allow-lists keyed to agent identity or tier, re-validated on a schedule, with private endpoints for model, data, identity and secrets services and DLP on outputs and tool arguments.Preventive · Automated · Continuous; allow-list review quarterlyOWASPLLM02 Sensitive information disclosure; LLM05 Improper output handling
CoE planCtrl 14; NET-1; NET-2; NET-3; NET-4
SEC-06Authenticated agent-to-agent traffic. Messages between agents are authenticated, schema-validated and scoped down at each hop; remote agent cards are signed and verified.Preventive · Automated · ContinuousOWASPASI07 Insecure inter-agent communication
CoE planCtrl 16; NET-4
SEC-07Segregated environments and safe writes. Development, test and production are separate; agents get no destructive rights by default; snapshots, soft delete and a tested restore exist before any write access to systems of record.Preventive · Hybrid · Before write access; restore tested quarterlyOWASPASI05 Unexpected code execution (RCE); LLM06 Excessive agency
CoE planCtrl 17
SEC-08Outputs validated before use. Model outputs used by tools or downstream systems are validated against a schema and treated as untrusted input; rendering of links and markup is restricted.Preventive · Automated · ContinuousOWASPLLM05 Improper output handling
CoE planCtrl 14 (restricted markdown rendering)

7. Exceptions

Exceptions are requested, assessed and recorded through PRC-19. Each exception names the statement or control it departs from, the compensating controls, the residual risk, an owner and an expiry date of no more than 12 months. Tier 3 exceptions need the AI governance board; others need the CoE lead and the AI risk and compliance lead.

No exception may be granted for a prohibited use, for a legal obligation, or for the requirement that agent bounds are enforced outside the model.

8. Compliance and enforcement

Compliance is measured through the controls above and tested by the second line each year and by internal audit on its own plan. An agent that does not meet this policy loses its production credentials until it does, through the registry gate in POL-01. Breaches by people are handled under the organisation's existing disciplinary and contract terms.

9. Review

The owner reviews this policy at least every 12 months through PRC-20, and sooner when a trigger event occurs: a significant incident, a new or amended law or standard in the crosswalk, a material change to the agent estate, or an audit finding.

↑