The ticket that gave orders
Your is connected to your database so it can triage support tickets. One ticket is not quite a question.
This answers: What is prompt injection in AI coding agents? No coding needed. 2 quick decisions.
- Supervising your AI
- Keys and secrets
- Who may see what
Checking your access…
What is prompt injection in AI coding agents?
is when text the AI reads, such as a support ticket, email or web page, contains instructions the AI then follows as if they came from you. If the agent can read private data and send messages, it can leak that data. Limit its access with permissions, not prompts.
Breaks at AI agent: Ticket text obeyed as orders
Why AI tools write this bug
Agents are often connected to databases with admin keys for convenience, then pointed at user-submitted content to triage or summarise.
How to fix it
- Give agents read-only access to only the data they need.
3 more steps, and a prompt that checks your own app for this bug. Part of Pro.
UnlockCommon questions
- Can I fix prompt injection with a better system prompt?
- Not reliably. Prompts reduce it; only removing access or the ability to send data out prevents the leak.