Day 11 of 1260 minCipher CadetHands-on lab
Day 11: ASI09: Approval Prompts a Human Can Check
Taught by Mr Elite Updated
By the end of today you can
- Explain ASI09 and why people approve what agents tell them
- Spot a misleading summary and approval fatigue in a sample prompt
- Decide which agent actions need a human to confirm and which do not
- Sketch a one-screen approval prompt showing real action, risk and target
Warm-up
Answer from memory first, then tap to check. Recalling yesterday is what makes it stick.
In ASI07, why is an agent card on its own not proof of identity?
It is only a claim. A verified badge means nothing unless it is checked outside the card.
Name two defences that slow or stop a cascading failure (ASI08).
Any two of: gates, rate limits, isolation, circuit breakers.
Picture an assistant agent that asks you, politely, "I am about to tidy up your old files. Approve?" You are busy. You click yes. What it actually ran was a command that deleted a shared folder and emailed a copy of its contents to an outside address. The summary said tidy. The action said something else.
That gap between what the agent says and what the agent does is today's risk. It is called ASI09, Human-Agent Trust Exploitation. A person in the loop is meant to be the safety net. Today you learn how that net gets quietly cut, and how to build an approval step that a person can genuinely check.
The idea: the human is part of the attack surface
For ten days we have treated the agent as the thing under attack. ASI09 turns the camera around. The weak point is the person who approves the agent's work. Agents sound confident, fluent and helpful. People tend to trust that tone, especially when they are tired or busy.
An attacker does not need to break any technical control if they can get a human to press the button for them. A poisoned document might make the agent write a calm, friendly summary that hides what is really about to happen. The human approval is real. The informed part is missing.
Here is how it plays out in practice. A document the agent reads contains hidden text telling it to describe its next step as routine maintenance. The agent obeys, because it cannot tell instructions from data. The person sees a harmless sentence, clicks Approve, and the real action runs with their name on the log.
Notice that the approval step did exactly what it was designed to do. A human said yes. The failure is that the yes was based on a description, not on facts. Every control we add around the agent is worth less if the final check depends on the agent's own words.
- ASI09 Human-Agent Trust Exploitation
- Abusing a person's trust in an agent so they approve something harmful.
- Human in the loop
- A person must confirm an action before the agent carries it out.
- Approval fatigue
- Clicking yes without reading because you have been asked too many times.
- Rubber stamp
- An approval given without real checking, so it adds no safety.
Why people approve what agents tell them
Three habits make this work for an attacker. First, authority: the agent seems to know the system better than we do. Second, speed: we want the task finished. Third, trust built over time: the last forty approvals were fine, so the forty-first gets a glance.
Misleading summaries are the sharpest tool. The agent describes an action in its own words, and those words can be steered by injected content. Compare these two prompts for the same action:
PROMPT A (summary only)
I will clean up temporary files to free space. Approve? [Yes] [No]
PROMPT B (real action)
Action: DELETE recursively
Target: /shared/finance/ (2,114 files)
Risk: HIGH - cannot be undone
Also: sends archive to external address ops-backup@example.net
[Approve] [Deny] [Show full command]Prompt A asks for trust. Prompt B gives evidence. The difference is the whole lesson.
Weak prompts share a few tells. They use soft verbs such as tidy, sync or optimise instead of delete, send or share. They use group words such as team, everyone or old files instead of a list or a count. They never name a destination. Learn to spot those three and you can judge most prompts in seconds.
Soft verb tidy, clean up, sync, optimise, refresh
Group word the team, old files, relevant people
Missing detail no count, no path, no recipient, no destinationQuick check
What makes Prompt A dangerous?
A summary written by the agent can be wrong or manipulated, and it hides the target and the side effects.
Approval fatigue: too many prompts is also a vulnerability
You might think the answer is to ask about everything. It is not. If an agent asks permission to read a calendar entry, then to open a file, then to draft an email, the person starts clicking yes on reflex. The one dangerous request then hides among thirty harmless ones.
Good design sorts actions by consequence. Reading your own calendar can run freely. Sending money, deleting data, sharing files outside the company, or changing permissions needs a person. The skill is choosing where to put the gate.
Here is a quick sort so you can see the pattern. I ask two questions of each action: can it be undone, and does it leave the building. One yes to the wrong question is enough to need a human.
Action Undone? Leaves? Gate?
Read own calendar n/a no no
Draft email (not sent) yes no no
Move file to a trash folder yes no no
Send email to outside address no yes YES
Delete shared folder no no YES
Change who can access a file hard maybe YES- Reversible
- You can undo it easily, such as saving a draft.
- Irreversible
- You cannot undo it, such as sending an email or deleting without backup.
- Blast radius
- How much damage one action can do if it goes wrong.
Quick check
An agent can move a file into a recoverable trash folder inside your own account. What is the best approval design?
It can be undone and does not leave the company, so a prompt would only add fatigue.
Watch me do it: turn a vague prompt into a checkable one
I will take a weak approval message and rebuild it. You can follow in your notes app. Everything here is paper design, so nothing touches a real system. The key idea is that the facts come from the real tool call, not from the agent's wording.
{
"tool": "send_email",
"to": ["a@corp.example", "b@corp.example", "x@gmail.example"],
"attachments": ["q3-report.xlsx"]
}WEAK:
I will send the report to the team. Approve?
REBUILT:
Action: SEND EMAIL (with attachment q3-report.xlsx)
Target: 3 recipients: a@corp.example, b@corp.example, x@gmail.example
Risk: MEDIUM - one recipient is outside the company
Side effects: none
[Approve] [Deny] [Show full command]Notice what happened. The word team felt safe. The real list showed an outside address. A human spots that in seconds, but only because the prompt was built from the actual action. Also notice the Risk line: trusted code can work it out by checking each recipient domain against your company's domain, so the agent never gets to say it is fine.
Quick check
Where should the Target and Risk fields get their values from?
If the agent writes these fields, an attacker who steers the agent can steer the prompt too.
Your turn: the approvals lab
Now you decide where the gates go in a real scenario. The lab is called Who Approved That? and is a SecurityElites practice lab, so you can experiment freely. It puts the gating table we just built into practice, using an office assistant with eight possible actions.
Your turn
Who Approved That?
An office assistant agent can take eight actions for an employee, and right now it runs all of them without asking. Your job is to decide which ones need a person to confirm first, without gating everything and making the agent useless. This is approval design in practice, using the two questions from earlier.
What to try
What to notice
- How quickly the agent feels annoying when too many actions need approval.
- Which actions looked harmless by name but had a real external effect.
- Whether your choices follow a rule you could explain to a colleague.
If it did not work
Letting the agent write the approval text
Generate Action, Target and Risk from the actual tool call in trusted code. The agent may add a note, but never owns the facts.
Gating every action
Sort by reversibility and blast radius. Free-run the safe ones so that real prompts stay rare and get read.
Showing only a description such as tidy up or send report
Show the verb, the exact target, the count and the side effects, with the full command one click away.
Treating a past approval as permission for later ones
Approve one specific action. Ask again when the target or scope changes.
Recap
- ASI09 exploits the person who approves, not just the agent.
- An approval is only a control if the human can see enough to refuse.
- Agent-written summaries can be steered, so never rely on them alone.
- Too many prompts cause approval fatigue and hide the dangerous one.
- Gate by reversibility, external reach and blast radius.
- A good prompt shows action, target, risk and side effects on one screen.
Cheat sheet
ASI09- Human-Agent Trust Exploitation
Approval fatigue- Reflex clicking caused by too many prompts
Four fields- Action, Target, Risk, Side effects
Gate rule- Irreversible or leaves the building means a human confirms
Source of truth- The real tool call, not the agent's words
Show full command- One click to the exact thing that will run
Before the next day
Mission: Sketch the one-screen approval
Finish the approvals lab, then design a single approval prompt for one risky action from it. The goal is a screen a tired person could judge correctly in ten seconds. Use paper, a notes app or any free drawing tool.
About 35 min
You are done when: day11-approval.txt containing your sketch or text mock-up, your two-sentence explanation and one lab screenshot.
Want more? Write a second version of the same prompt that is deliberately misleading, then list three details a careful reviewer would use to catch it.
Quiz
4 questions. Your score is saved with your progress.
1. Which best describes ASI09?
ASI09 targets the human in the loop by exploiting trust in the agent's words.
2. An approval prompt says Archive old files. Approve? What is the main weakness?
Without the real verb, target and effects, the human cannot verify anything.
3. Why can asking permission for every action make security worse?
Frequent low-value prompts train people to click yes without reading.
4. Which action most clearly deserves a human confirmation?
Sharing externally is hard to undo and leaves the organisation, so it has a large blast radius.
Finish the day
Mark the day complete to save your progress.
Next: Day 12 is the capstone. You will pull together everything from the past eleven days and threat model a company agent across all ten OWASP agentic risks, including the approval step you designed today.
Your notes
Private to this device. Write what you want to remember from today.