AGROADVISOR / Security

AI agents: a prompt is not an access-control system

A model can be a capable assistant and still have no business performing arbitrary company actions. Agent security is a property of the surrounding system.

Published: 2026. 11. 20.3 min readTechnical essay
Key takeawayEnforce authorisation in application code and infrastructure. A natural-language instruction is not a security boundary.

Inventory capabilities before discussing autonomy

An AI agent may call tools, modify databases, send mail, open pull requests or start business processes. Begin with an action matrix: which resource is touched, on whose behalf, in which environment, with what impact and with which accountable owner?

Separate read, draft, write, approve and administer. Most analytical tasks do not need direct production write access. Avoid treating a broad service account as a convenient default.

Why careful prompting is insufficient

An agent that reads a webpage, document or customer message encounters lower-trust input. It may contain text trying to redirect the model’s instructions: a common prompt-injection path highlighted by OWASP.

The model can extract relevant information, but execution code must independently check authorisation, data classification and the target resource. Trust boundaries cannot depend entirely on natural language.

Three progressively stronger operating levels

Observer: read-only access and recommendations. Preparer: creates changes in a sandbox, without publishing or applying them in production. Executor: performs tightly scoped actions through controlled APIs, with approvals, logs and recovery procedures.

Promotion between levels should be an explicit business decision. Installing a new plugin or sharing a token should not silently expand an agent’s authority.

Make human approval meaningful

An approver should see the action type, target, exact proposed change, affected record count, risk and rollback route—not a vague “continue?” prompt. Bulk deletion, financial activity or external communication may warrant stronger approval boundaries.

Approval fatigue is real. If an operator clicks through a hundred identical decisions a day, human oversight becomes ceremonial. Limit permitted actions and reserve review for material choices.

What an audit log should actually prove

A usable log identifies who initiated the request, which agent and version proposed the action, which tool ran, under which permissions, what changed, who approved it and what happened next. Do not copy credentials or unnecessary personal data into the audit stream; use references, redaction and retention controls.

Test the logging path for rejected, interrupted and failed actions. A log that records successes only conceals the cases most relevant to evaluation.

A concrete test case

Imagine an invoice-processing agent that classifies invoices and prepares drafts. A test document includes hostile instructions to change the beneficiary account. The successful control is not merely that the model refuses. The underlying transaction layer must block unauthorised changes and record the attempt.

Turn that scenario into a reproducible test, capture permissions evidence, fix the boundary if it fails and retest before expanding access.

Sources and further reading

These are public references, not tools certified or endorsed by Agroadvisor.

THE EVIDENCE ATLAS / CONNECTED READING

Follow the argument into practice.

See this topic's risk boundaries and a practical protocol to inspect your own workflow.

AGROADVISOR / AI EVALUATION

Need a clearer view of the risks in your own system?

Let's discuss the use case, evidence and controls. We do not offer a universal compliance badge.

Get in touch ↗