When an AI Assistant Turns Against You: Prompt Injection Privacy Risks
An AI assistant can be turned against you through prompt injection: hidden instructions inside an email, web page, calendar invite or document that the assistant reads and then follows as if you had asked. OWASP ranks prompt injection first (LLM01) in its 2025 Top 10 for LLM applications. The privacy risk grows with access.
Topic: AI Security & Governance in AI & Data · Explainer
Also covers: Generative AI & LLMs, Cyber Threats, Scams & Online Safety
Quick answer: An AI assistant can be turned against you through prompt injection: hidden instructions inside an email, web page, calendar invite or document that the assistant reads and then follows as if you had asked. OWASP ranks prompt injection first (LLM01) in its 2025 Top 10 for LLM applications. The privacy risk grows with access. An assistant that can read your inbox, files and contacts, and can send messages or open links, could be steered into leaking that data. Protect yourself by granting the least access needed, keeping a human approval step for sending or sharing, and treating anything the assistant reads from outside as untrusted.
Key takeaways
- Language models cannot reliably separate your instructions from text they read.
- Indirect injection hides commands in content such as emails or web pages.
- Risk equals access: data the assistant can read plus actions it can take.
- Human approval for sending, sharing and purchases is the strongest safeguard.
- The scenario below is fictional and used only to explain the risk.
Table of Contents
- What Could a Prompt Injection Attack on an Assistant Look Like?
- Why Do AI Assistants Follow Hidden Instructions?
- Which Personal Data Is at Risk?
- What Are the Warning Signs?
- How Can Individual Users Protect Themselves?
- What Should Companies Building Assistants Do?
- Does India’s DPDP Act Apply?
- References
What Could a Prompt Injection Attack on an Assistant Look Like?
Imagine Priya, a fictional manager, connects an AI assistant to her email and cloud drive. She asks it to summarise unread mail. One message from an unknown sender contains white text on a white background telling the assistant to search the drive for files named salary or passport and include their contents in a reply. If the assistant has permission to send mail without asking, the data leaves silently. No password was stolen and no malware ran. The assistant simply did what the text told it.
Researchers and vendors have demonstrated this pattern in many forms, which is why OWASP lists it as LLM01:2025.
Why Do AI Assistants Follow Hidden Instructions?
A model receives your request and the content it reads as one stream of text. It has no built-in, reliable boundary between data and commands. NIST AI 100-2 classes this as an attack on generative AI and notes there is no complete fix today. Filters such as Microsoft Prompt Shields reduce the risk but do not remove it.
Which Personal Data Is at Risk?
| Assistant access | What could leak or go wrong |
|---|---|
| Messages, contacts, one-time codes, invoices | |
| Cloud files | ID scans, payslips, contracts |
| Calendar | Meeting links, locations, travel plans |
| Browser or web search | Data sent to an attacker URL inside a link or image request |
| Chat memory | Earlier personal details you shared |
OWASP covers the leak side as LLM02 Sensitive Information Disclosure.
What Are the Warning Signs?
- Summaries that mention instructions or links you never asked about.
- Sent items or shared files you do not remember approving.
- The assistant urging you to visit a link or log in again.
- Answers that suddenly change tone after reading one document.
How Can Individual Users Protect Themselves?
- Connect only the accounts the task needs, and remove unused connections.
- Turn on confirmation before the assistant sends, shares, deletes or buys.
- Do not point an agent with inbox access at untrusted web pages.
- Avoid storing ID documents and passwords in drives the assistant can read.
- Review the activity log of connected apps every few weeks.
What Should Companies Building Assistants Do?
| Control | Purpose |
|---|---|
| Least privilege for tools and data | Limits what an injected instruction can reach |
| Human approval for high-impact actions | Stops silent exfiltration |
| Mark and isolate untrusted content | Reduces confusion between data and commands |
| Block rendering of external images and links in output | Closes common data leak channels |
| Logging and red teaming with MITRE ATLAS | Finds weaknesses before attackers do |
The joint CISA guidance on deploying AI systems securely gives wider operational advice. Testing must happen only on systems you own or have written permission to test.
Does India’s DPDP Act Apply?
Yes, if personal data of people in India is processed. A company whose assistant leaks customer data may face obligations under the Digital Personal Data Protection Act 2023, including breach notification and reasonable security safeguards. For the basics, read our prompt injection explainer and the case study on the Amazon AI coding agent incident. WebAsha offers AI security and ethical hacking training.
References
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0