Shadow AI: When Staff Paste Secrets Into a Chatbot
The fastest way data leaks through AI is not a hack. It is a helpful employee pasting the wrong thing into the wrong tool.
2 min readBeginner Aug 20, 2026
Explain Like I'm Not a Hacker
It is like reading out your company's private plans on a public train because you needed quick advice.
The 30-second explanation
Someone wants to summarise a contract or debug some code and pastes it into a public chatbot. The data has now left the company, without anyone meaning any harm.
How it works
- 1
1. Need
Someone wants help with a task.
- 2
2. Paste
Data is entered into an unapproved tool.
- 3
3. Leave
The content is now outside company control.
- 4
4. Consequence
Exposure, compliance or contractual issues.
People adopt AI tools because they are useful. If the approved option is missing or awkward, they use whatever works. The risk is not the tool itself, but what is submitted: customer data, source code, credentials, incident details. Once entered into an external service, the organisation may not control how it is stored or used. The fix is a mix of approved tools that are easy to use, clear rules on what may be shared, and technical controls for the most sensitive data.
Real-world example
A developer pastes a chunk of code containing an access key into a public chatbot to debug it. The key is now in a system the company does not control and has to be rotated.
How to spot it
Traffic to unapproved AI sites
Frequent use of consumer chatbots from work devices.
Data pasted without review
Files or logs copied into prompts.
No approved alternative
Staff have nothing sanctioned that does the job.
Unclear rules
People unsure what they may share.
What to do
- 1Provide an approved AI tool that is easy to use, so people do not go looking for others.
- 2Publish simple rules: never paste credentials, personal data or confidential incident details.
- 3Use data-loss controls for the most sensitive categories, and rotate any secret that has been exposed.
Stay curious. Stay safer.
This is one piece of a bigger picture. Explore more real-world examples, concepts and tips to build your cybersecurity awareness.
Keep reading
- LLM Threats
LLM Data Leakage: What an AI Might Reveal by Accident
2 min read - AI Tools
Choosing an AI Assistant for Security Work: What Actually Matters
2 min read - AI Security
Securing AI Systems: The Attack Surface Nobody Draws
2 min read - Security Basics
MFA: The Second Lock That Hackers Can Still Pick
3 min read