Topic 3 of 5 · 4 min read
Safe self-service actions for agents
Goal: Design the identity checks and approvals for three help-desk actions an AI agent may perform.
An AI agent may carry out a help-desk action only after a strong identity check, and the higher the risk of the action, the more checks and human approvals it needs.
Check yourself · 1 of 3
Which help-desk action should an AI agent never complete on its own?
Why it matters
Answering a question is one thing. Doing something is another. A help-desk agent connected to your systems can reset a password, grant access to a folder or install software. If it can be talked into the wrong action, the result is a real breach, not a wrong answer.
Language models follow instructions, including false ones. OWASP lists "excessive agency" among its risks for applications built on language models: an agent with more power than its task needs. A polite request with a made-up story can be enough to push an agent over a line.
How to do it
- List the actions and rate each by risk. Resetting a password for a locked account is lower risk than granting access to payroll.
- Verify identity outside the chat. Do not accept answers that an attacker could find, such as an employee number or manager's name. Use a prompt in the company's authenticator app, or a call-back to the number on file.
- Match the approval to the risk.
- Low risk, such as installing approved software from a catalogue: the agent acts after identity is checked.
- Medium risk, such as access to a team folder: the agent files the request and the folder owner approves.
- High risk, such as admin rights, payroll or removing multi-factor authentication: a human on the help desk handles it.
- Give the agent the least power it needs. Its account should be able to do only these actions, nothing more.
- Log everything. Record who asked, how identity was checked, who approved, what ran and when.
- Make every action reversible and visible. Notify the user and their manager of what changed, and keep a quick way to undo it.
Before and after
Before: an agent resets any password when the caller gives the employee number and date of birth. Both are easy to find.
After: the agent sends a push approval to the employee's registered phone. If the user does not confirm within five minutes, the request is passed to a human, and the attempt is logged.
What goes wrong
- Identity by knowledge. Facts that appear in social media or old breaches are not proof.
- Agent with admin rights. If the agent's account is powerful, anyone who manipulates it inherits that power.
- No log. Without an audit trail, nobody can tell what was changed or who asked.
Treat the agent like a new help-desk hire on day one: limited rights, clear rules, and everything written down.
Examples
Three actions, three paths
Install an approved app: push approval from the user, then automatic install, logged.
Access to the finance share: push approval, then the share owner approves in the ticket, then the agent grants access for 90 days.
Reset multi-factor authentication: the agent stops and hands over to a human who verifies identity by video call with a manager.
A weak rule and its fix
Weak: "The agent resets a password if the caller knows the employee ID."
Fixed: "The agent resets a password only after the employee approves a prompt in the authenticator app. If they cannot, a human takes over."
Key points
- Actions are riskier than answers, so every action an agent can take needs a rule for identity and approval.
- Verify identity through a channel the attacker does not control, such as an authenticator prompt or a call-back.
- Match approval to risk: low-risk steps can be automatic, medium-risk steps need an owner, high-risk steps go to a human.
- Give the agent an account that can do only its listed actions.
- Log who asked, how identity was checked, who approved and what changed, and make changes reversible.
Common mistakes
- Using questions with findable answers, such as birthday or employee number, as the identity check.
- Giving the agent a broad admin account because it is easier to set up.
- Letting the agent grant high-risk access on its own to save the help desk time.
- Keeping no audit log of the agent's actions.
Check yourself · 2 of 3
An agent resets passwords after the caller states their employee number and birth date. What is the weakness?
Check yourself · 3 of 3
Which record best helps after an agent grants folder access by mistake?
Practice items, not counted towards your mastery.
Start here
- Microsoft 365 Copilot privacy and data protection (opens in a new tab)DocsFree
Explains that Copilot shows only data the user can already access, and which controls apply.
- Microsoft Copilot Studio documentation (opens in a new tab)DocsFree
How to build a company bot on chosen knowledge sources and test it.
- OWASP Top 10 for LLM Applications (opens in a new tab)DocsFree
Names the main risks of assistants that read data and take actions, such as excessive agency.
Where to go in your country
- NIST Digital Identity Guidelines (SP 800-63-4) (opens in a new tab)StandardFreeUS
The standard that explains identity proofing and authentication strength.
- Recognize and report phishing (CISA) (opens in a new tab)ArticleFreeUS
Plain guide to the signs of social engineering, such as urgency and pressure.