ASI02Tool Misuse and Exploitation
ASI02 Tool Misuse and Exploitation
The agent uses tools it is allowed to use, in ways nobody intended, and chains them into something harmful.
- Where it breaks
- Between the agent's plan and the tools it calls
- The setup
- Lumi Agent has three ordinary tools: fetch a web page, search trip records and send email. Each one was approved on its own. Nobody looked at what they can do together.
Jump to risk
The fix
The tools can be perfectly legitimate. The risk is how the agent uses and combines them, so give each tool a narrow profile and check every call before it runs.
- Give each tool a least-privilege profile: what data it can reach, how often it can run and where it can send things.
- Put a policy check in front of tool calls that treats the agent's plan as untrusted and validates purpose and arguments.
- Allow outbound email and web requests only to approved destinations, and deny everything else.
- Ask a person to confirm high-impact actions, with a preview of exactly what will happen.
- Keep immutable logs of every tool call, and watch for unusual chains like a records search followed by an outside send.
How to use this page
- Use Next and Back, or the arrow keys, to move through the story.
- Flip the switch, or press M, to see the same step with safeguards on.
- Click a marker on the track to jump to that step.
- Present goes full screen for a talk. Press Escape to leave.
- Red marker: the attack is in play here
- Green shield: the fix
- In the diagram, red is attacker controlled
- Amber is data that should not be leaving
- Blue is stopped by a safeguard
- Green is the safe outcome
- Cyan is ordinary traffic
Safeguards off: the attack goes through.
rememberhand offmove moneybook and sendfetch pagesearch
TravellerAsks for a whole trip
Lumi AgentPlans and acts on its own
Agent memoryPreferences and past trips
Tools and MCP serversSearch, book, email, code
Payments agentCharges and refunds
Real-world actionsBookings, money, messages
Tour operator siteRun by an attacker
Trip recordsEvery traveller's bookings
add this day tripfetch the page
Maya shares a brochure
No harm yetMaya found a day trip she likes and asks Lumi Agent to fit it into her Lisbon week. The agent fetches the operator's brochure page to get the details.
Conversation
Maya shares a brochure
Maya
Can you add this day trip to my Lisbon week? serra-daytours.example/brochure