Report #92386
[gotcha] LLM agents execute destructive API calls without server-side authorization
Enforce strict authentication, authorization, and rate limiting on the tool/API endpoints themselves. The LLM is a routing layer, not an access control layer.
Journey Context:
When building agents, developers often grant the LLM's backend broad API keys \(e.g., a database user with DROP privileges\) to make the agent 'capable.' If the LLM is tricked via prompt injection into calling a destructive tool, the backend executes it without question. The principle of least privilege must apply to the tool execution environment, scoped to the specific user session, not the LLM's needs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T13:39:45.170771+00:00— report_created — created