Skip to main content
Linda Bujitu
Menu
Back to blog

Blog

Your AI agent does not get trust for free

AI & Security28 October 2026 · 6 min read
Black server racks in a data center.

An agent investigates a failed data pipeline, proposes a fix and deploys it immediately. That sounds like a productive day. Until you ask yourself: whose identity is the agent using? And what else can it do with that access?

That question deserves extra attention this week. New publications on AI and security show why permissions and execution boundaries matter. My conclusion as an architect: the more work you delegate, the more precisely you need to design what an agent can do.

What was published this week

On 21 October, Microsoft described Storm-0940 using the ARTEX AI framework to accelerate attacks. The campaign included abuse of existing application access to customer environments. Microsoft attributes the ConnectWise compromise to this actor as an assessment and cautions that observed access does not automatically establish data theft. The reported activity started in September; the publication is from this week. [1]

On 23 October, OpenAI described stronger containment for training and evaluation environments. One trigger was an internal research model gaining limited internet access through a DNS misconfiguration on 20 September. This concerned research models, not an established attack originating in an ordinary customer chat. [2]

These are different situations: an attacker uses AI as a tool, while a research model crosses the boundaries of its environment. The design question I take from both is the same: what consequences can behaviour have outside the task you intended?

Start with one specific task

Imagine you are building an agent to investigate a failed daily data processing job. This is a design example, not a customer incident. The task sounds straightforward: read the error, inspect the relevant code and propose a recovery action.

I would first turn that into a bounded working agreement. Which pipeline? Which environment? Which log entries? What counts as a finished result? A proposal with test evidence is a different deliverable from a production restart. Make that distinction visible before connecting tools.

Define when the task ends too. Otherwise an agent may continue investigating, retrying and proposing new actions after the original problem has been understood. Attempt limits and a time or cost budget make execution more manageable. Choose those boundaries for the task rather than picking an arbitrary round number.

Give each step its own access

Investigating an error usually does not require permission to change access policies. Proposing code does not require a permanent production credential. I would therefore design investigation and execution as separate components with different privileges.

An initial version could read only the relevant logs and a selected repository. A subsequent step could record a proposed change on a separate branch. The existing release process would handle testing and any deployment. This keeps responsibility visible at each stage.

For supported Azure workloads, managed identities can remove application credential management. Access to the target resource must still be granted separately. A managed identity does not automatically make an overly broad role assignment appropriate. The distinction between authentication and authorisation remains essential. [4]

Enforce the boundary outside the model

An instruction such as ‘change nothing outside this pipeline’ describes intent. I also want that restriction in the tool and the underlying service. Can the tool address only that pipeline? Is the environment checked server-side? Is a different resource ID actually rejected?

This aligns with OWASP guidance: restrict tools and permissions to the task and treat external information as untrusted. [3] In the pipeline example, log text is investigation material. An instruction appearing inside a log entry does not acquire authority to execute an action.

A useful design test is a plausible recovery action outside the permitted scope. For example, the agent decides it also needs to change a role assignment. The expected result is a denied action and a clear explanation. A more persuasive request should encounter the same boundary.

Make approval a real decision

Not every step needs to wait for a person. Much of an agreed investigation can be automated. For a production change, I want to assess exactly what will happen: its target, the change itself, test evidence and the rollback approach.

A button labelled only ‘approve’ offers little context. Show the difference between the current and proposed state. Bind permission to that specific change. If the target or content changes after review, the earlier decision should not silently apply.

Consider who is authorised to approve it. A technically correct fix can still run at an inconvenient time, affect a dependent process or fall outside the reviewer’s responsibility. That discussion belongs in architecture and ownership decisions before an incident occurs.

Look beyond the chat response

An agent can produce a convincing summary even when a tool action was denied or a test never ran. For this design I would therefore record actual execution: the identity, resource, action, result and approval.

Those records need to be useful without retaining unnecessary sensitive content. A reference to test output or a change proposal may be enough; copying complete customer records into an agent log should not be an automatic step. Agree who reviews these records and how long they are needed.

Before production, also try the uncomfortable outcomes: missing permissions, unavailable sources, an incorrect proposal and interrupted execution. Can the agent stop clearly? Is a partial change recognisable? Can you revoke its authority without first rebuilding the whole application?

Working efficiently requires sharper decisions

The appeal of agents remains: preparing an investigation, comparing changes and drafting a recovery proposal can take substantial work off your hands. I would assess the result across the complete process, including review, rework and operations. More executed actions are not a better outcome by themselves.

This is valuable work for architects and engineers. Turn ‘the agent can handle it’ into a design you can explain, test and constrain. Start small enough to understand what happens, then expand based on demonstrated behaviour.

The question for your next agent design: if the agent produces a convincing but incorrect plan tomorrow, which boundary will still hold?

Linda Bujitu

Partner Solution Architect · Microsoft

Keep reading

Want to know more about my work and the choices behind data and AI platforms?

Join the conversation

Share your experience or ask a question. Keep it respectful and relevant.

Your name and comment will be public on this article. Do not share private information. We do not ask for an email address. Links are not allowed.

Your comment stays with this article until you request removal or it is removed for spam or abuse. Stored with Vercel. For removal: contact me.

Your AI agent does not get trust for free | Linda Bujitu