AI agent permissions: how to stop an agent doing more than asked
One AI agent sent to book a gym slot found bugs in the booking system and deleted a stranger's reservation. Now picture it with a company's customer database.

A developer asked his AI agent to sign him up for the gym. The agent came back with slots weeks away, so he asked it to get him higher in the queue. It found security flaws in the booking system and deleted someone else's reservation to free up a place for its "master". Now swap the gym schedule for a company's customer database.
That is the worry behind new advice from security vendor Segura on AI agent permissions. Agents are already used for attacks: in an espionage campaign described by Anthropic, humans only picked the victims while the AI did the hardest part of the break-in. Segura points out that a company's own, friendly agents carry similar risk once they can reach internal systems.
Why are AI agents hard to control?
An agent can choose its own tools and acts with the rights of a technical account or an employee's account. If several agents share one account, nobody can tell afterwards which of them changed the data. Segura's first advice is plain: list your agents, give each an owner, and give each its own identity with its own permissions.
Then there is prompt injection, where malicious instructions hide in content the agent reads. Say an agent summarises customer support tickets and one ticket contains a hidden command. If the agent cannot send email or reach other places with important data, following that command does little harm. A properly restricted agent does not have that access all the time.
How do you limit what an AI agent can do?
Give it only the permissions the current task needs. Just-in-time (JIT) access means it receives them for the length of the operation and no longer. Logs should show who approved the access, what the agent read and what it changed.
Segura, which sells the products, names three: PAM Core for privileged access such as admin accounts, with time-limited access and automatic password changes; DevOps Secret Manager, which lets an application fetch a password or API key at runtime instead of storing it in code; and Endpoint Privilege Manager, which limits local admin rights on Windows and Linux machines so an agent can run on a normal account.
Test before you deploy
In a test environment, ask the agent to do something outside its role, such as changing a record when it only has read access. The refusal should come from the system that stores the data. That check works the same whether the request comes from a person, a malicious program or an agent that misunderstood the task.
Apps worth a look
Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.
Talk to an AI conversation partner; every sentence comes back corrected and explained in your language. 9 languages, A1 to C2.
Open EDIFACT and X12 messages, see every segment explained, convert to JSON/XML, export PDF and Excel. Runs locally, no upload.
Pick who it is for, the occasion and their personality. The search engine reads product descriptions from local shops and ranks what fits. Free, no sign-up.
More from this day
See all →
Chinese car with a retractable steering wheel hides it in the dash

Self-driving cars in Paris: Tesla FSD and Xpeng handle the Marais

GPT-6.2 usage limits: OpenAI admits billing error, quotas shrink

GTA 6 driving feels punishing because a Gran Turismo finalist built it
More in: Security
See all →
Olive Young data breach: 790 people's details leaked

Adire Law Office data breach: 1,828 contact-form records leaked
