In April 2026, an AI agent used by car-rental software start-up PocketOS was investigating a problem in its staging (test) environment when it suddenly deleted a cloud-hosted storage volume containing the company’s live production database.

The agent had discovered an API token in a file on the computer it was using, and used it to issue the deletion request to the cloud provider, Railway. The token was valid, the request was authenticated, and Railway’s systems carried it out. It turned out that the token allowed the agent control over the production systems, not just the staging environment it was meant to be working on.

It then transpired that PocketOS’s own backup process had stopped working three months earlier without anyone noticing, and Railway’s volume backups had been caught in a cascading deletion triggered by the AI agent’s actions. Railway was eventually able to restore the customer’s data from its disaster-recovery backups several days later. At least something was working as it should.

Railway had already taken steps towards safeguarding against accidental deletion. Through its normal web dashboard, deleting a data volume initiated a 48-hour grace period, giving the user time to reverse the decision. But an older API endpoint allowed the same operation to take effect immediately. The AI agent had found a technically permitted route to an outcome that nobody intended.

It would be easy to regard this as another example of an unreliable AI system making a dangerous mistake. But the agent had not invented the vulnerability or broken through Railway’s security. It had simply found an existing interface where the normal safeguard didn’t apply. The permissions were already available, and the difference between the dashboard and API had existed before the agent encountered it.

A human systems administrator, engineer or developer could have used exactly the same credentials to issue exactly the same request, with exactly the same consequences. But would they have? For centuries, organisations have been developing ways to make these kinds of mistakes less likely. Now, increasingly, some of those responsibilities are being handed to something that doesn’t behave quite like a person.

The problem of delegation

Every organisation depends on people exercising authority on its behalf. A bank can’t require its manager to approve every withdrawal. A retailer can’t have its owner personally supervise every transaction. A technology company can’t expect its most senior engineer to make every operational decision.

Authority has to be delegated, often to people whose decisions can’t always be checked in advance.

This creates a problem that extends well beyond security. The organisation needs its employees to exercise judgement, but it can’t guarantee that their judgement will always be correct. They may misunderstand instructions, overlook consequences, act carelessly or deliberately pursue their own interests. Yet most organisations still function well despite these limitations.

Society doesn’t function simply because everybody is honest, considerate or reliable. Nor could it function if every interaction required complete certainty about the other person’s intentions. Instead, behaviour is influenced by overlapping pressures. In his book, Liars and Outliers, Bruce Schneier identifies four broad categories: morality, reputation, institutions and security systems.

People may behave responsibly because they believe it is right. They may fear losing the respect of others. They may comply because laws and institutions impose consequences for misconduct. Or they may simply encounter physical and technical safeguards that prevent certain actions regardless of their intentions.

The pressures are imperfect. Individuals sometimes ignore their conscience, sacrifice their reputations, break laws and circumvent security systems. But in general, trust in the system of laws and norms makes it possible for people to hand cash to a shopkeeper, keep their life savings in a bank, leave their kids in a day-care centre, and invite a plumber into their home to fix a leaky pipe – even though we might not know enough about any of these people to consider them individually trustworthy.

A similar arrangement exists within an organisation. Employees are expected to exercise professional judgement and accept responsibility for their actions. Their reputations among colleagues and managers matter. Their prospects for promotion, future employment and continued membership of a profession may depend upon how they behave.

Organisations reinforce these pressures through administrative controls: policies, procedures, management supervision, formal approvals, disciplinary processes and defined responsibilities. A company might require production software changes to be documented, reviewed and approved before deployment. Employees may comply because they understand the reasons for the procedure, consider it part of their professional responsibilities, or fear the consequences of ignoring it. These are not all the same motivation, but they help produce the same result.

The organisation may also reinforce the administrative requirement with a technical control. Its deployment system might refuse to release a change until an authorised reviewer has approved it. In the first arrangement, the procedure depends partly on people choosing to follow it. In the second, the system itself enforces the approval requirement.

The distinction between administrative and technical controls may be invisible most of the time, but the differences become apparent when somebody tries to do something they were intended to prevent. A developer might possess sufficient administrative privileges to bypass the deployment system entirely, but recognise that doing so would breach company policy and decline to take that route, even if no technical control actually stopped them. Another might proceed anyway.

That is why organisational security has never depended exclusively on administrative controls or expectations of professional conduct. For centuries, businesses have developed additional mechanisms to limit what individuals can do, verify what they have done and detect mistakes or misconduct.

Banking provides some of the clearest examples. A person who initiates a payment does not necessarily have the authority to approve it. Someone who records a transaction may not be permitted to change it afterwards. Accounts can be independently reconciled, and transactions checked against records maintained by other people.

Double-entry bookkeeping contributes to financial integrity by requiring corresponding entries that can be checked for consistency. Separation of duties – such as requiring a payment to be initiated by one person and approved by another – can reduce mistakes. It can also reduce the potential for fraud: where neither person can complete the process alone, fraud may require collusion, increasing the risk for all involved.

These principles became especially important as businesses computerised their operations. In 1987, David Clark and David Wilson published A Comparison of Commercial and Military Computer Security Policies, setting out a model for preserving the integrity of commercial information.

The problem they addressed was straightforward. Giving somebody permission to perform a business transaction should not necessarily give them unrestricted control over the records that transaction changes.

A bank employee authorised to transfer money between accounts should be able to request that transfer through an approved operation. The system can then check the necessary conditions, debit one account, credit the other and preserve the integrity of the records. The employee should not need permission to open the database and edit the two balances directly.

This is the essential attraction of controlled transactions. The rules governing an operation are implemented by the system rather than left entirely to the judgement of the person requesting it. A well-designed API can provide exactly this kind of interface.

Railway’s experience illustrates the difference. The company had recognised the potential consequences of deleting a volume and provided a recovery window through its dashboard. But that protection had not been applied consistently to every interface capable of initiating the operation.

Trusting the system

Ross Anderson identified four interconnected elements of dependable security: policy, mechanism, assurance and incentives.

Consider again a company’s requirement that production changes receive independent approval. The policy might be perfectly clear. The deployment platform might enforce approval before releasing a change. But if an administrator can use a privileged API to modify production directly, the mechanism does not enforce the policy across every relevant route.

Assurance requires more than demonstrating that the normal deployment process works. It requires examining whether the restriction can be circumvented, intentionally or accidentally.

Meanwhile, incentives affect whether the organisation maintains those controls. Managers may want rapid releases. Developers may find approvals inconvenient. Operations teams may need emergency access when services fail. A company might weaken restrictions just to get things done, particularly if their costs are immediate while the consequences of inadequate protection are uncertain.

The arrival of AI agents adds another participant to this already complicated arrangement.

Unlike a conventional program that follows a tightly specified procedure, a capable agent may be given an objective and allowed to determine the steps required to achieve it. It can inspect information, select tools, evaluate results and revise its approach when an attempt fails.

Computer systems have long made decisions without human intervention, and some conventional automation systems can be highly sophisticated, but modern AI agents can respond in uniquely unpredictable ways.

An agent asked to investigate a failing service might examine configuration files, check documentation, inspect logs and perhaps try running a few different commands. Despite the huge range of applications available on any given system, we might have a fair idea of which tools the agent might try to use. What we don’t know is how it might try to use them.

An agent can also be instructed to follow policies and seek approval where appropriate. It may have been trained to recognise risky behaviour and can be configured to reject certain actions. But it does not personally experience the professional embarrassment, fear of dismissal, loyalty to colleagues or reputational consequences that influence human employees.

Those pressures still apply to the people and organisations responsible for deploying the agent. A company can face legal liability, commercial losses and reputational harm if its systems cause damage. But the consequences experienced by the organisation do not necessarily constrain each decision made by the agent.

The absence of human social incentives does not mean an agent will necessarily behave irresponsibly. A carefully designed system may obey procedural requirements more consistently than a human employee. But it does mean that organisations cannot simply assume that assigning an agent an employee’s responsibilities reproduces all the influences that previously helped govern that employee’s conduct.

An organisation can acquire new risks without granting any new permissions. Changing the capabilities and behaviour of the operator might be enough.

What the controls actually control

None of this means that autonomous AI requires an entirely new set of security principles. Established principles remain valuable precisely because they anticipate operators behaving in ways we might not want them to.

Least privilege limits the authority available to an individual. Separation of duties prevents one person from exercising unchecked control over consequential processes. Controlled transactions ensure that business rules are applied when operations are executed. Auditing and monitoring help detect failures, while recovery mechanisms help to reverse some of their consequences.

These controls can also make autonomy safer without eliminating its advantages.

An agent may be permitted to investigate a problem and recommend a solution without being allowed to deploy changes directly. It may initiate a transaction through an interface that checks authorisation independently. It may perform routine maintenance while more consequential operations require additional approval.

But restricting individual operations cannot guarantee that every permitted course of action will be appropriate. An agent might be authorised to restart a service, modify certain settings and initiate recovery procedures. Each operation could be legitimate in isolation, while an unfortunate sequence of repeated changes causes a wider disruption.

The system therefore has to consider not only whether an individual operation is authorised, but whether the overall activity remains within the scope of what the organisation wanted from the agent.

Human oversight remains part of the answer, but it should not be mistaken for a guarantee. An employee who routinely approves an agent’s requests without understanding their consequences may provide little additional protection. A manager formally responsible for an agent’s actions may have no meaningful opportunity to intervene if the system executes consequential decisions too quickly or without adequate visibility.

It would be a mistake to insist that every action must therefore receive human approval. It would be equally mistaken to assume that a sufficiently intelligent agent can safely exercise all the authority of a human employee simply because it can perform the employee’s tasks.

Capability establishes what an agent might be able to accomplish. It doesn’t establish what authority it should possess, or whether the arrangements governing that authority are dependable.

Railway’s response to its April incident is helpful: The company didn’t try to solve the problem simply by telling AI agents to be more careful. It changed the underlying API so that a deletion request encountered the same grace period regardless of the interface used to submit it. The independent backups had already provided another layer of protection by allowing the deleted data to be restored.

None of these principles is new. Organisations have spent centuries making delegated authority workable through a combination of expectations, incentives and enforceable controls. Some of these arrangements influence the decisions people are likely to make. Others limit what they can do, regardless of their intentions.

An AI agent may be given the same authority as a human employee without being influenced by the same expectations or incentives. Making the agent better at following instructions is useful, but it doesn’t establish that the organisation’s existing safeguards remain effective.

A system may appear secure because its protections are effective. Or it may appear secure because nobody has yet tried to do something that would expose their weaknesses.

Changing the operator might reveal the difference.

Image credit: BunsenLabs Community via Wikimedia Commons