IncidentData exposure
DeepSeek: open database exposed chat history and secrets
CriticalDeepSeek
Wiz Research found a DeepSeek database open to the internet with no password, holding more than a million log lines with users' chat history, API secrets and internal details.
Replay the attack step by step in the Learning Center
How it happened
- Wiz mapped DeepSeek's internet-facing hosts and looked for services on unusual ports.
- It found ClickHouse database interfaces open to anyone.
- No authentication was needed to run queries.
- A log table held chat history, API keys and backend details.
Impact
Anyone who found it had full control of the database, including users' prompts and DeepSeek's keys.
The fix
DeepSeek secured the database promptly after Wiz reported it.
Lessons
- Before adopting a fast-growing AI service, check its basic security and assume prompts could be exposed.
- Scan your own external attack surface, including unusual ports.
- Treat prompt and chat logs as sensitive data.