Join our Newsletter — 33% off our NHI Course
Home› Guides› The DeepSeek Data Exposure for Beginners: How an…
Guide AI Threats & Model Security

The DeepSeek Data Exposure for Beginners: How an Open Database Leaked AI Chat Logs

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 30 November 2026 9 min read
On this page

The DeepSeek data exposure was a January 2025 incident where a DeepSeek chat log database was open to the internet.

This guide is for anyone who uses AI chat apps, and for new IT staff who want a plain account of what happened. You do not need technical knowledge. It sets out what was confirmed, by whom, and what the incident teaches about the data AI apps keep.

In short

  • In January 2025, researchers at the cloud security firm Wiz found a DeepSeek database that anyone on the internet could reach, with no sign-in [1].
  • Wiz reported over a million log entries, including chat history, API keys and back-end details [1].
  • Wiz says it told DeepSeek, which promptly secured the database [1].
  • The lesson: AI apps keep what you type, so keep secrets out of chats. Builders must lock down every data store.

What you will learn

  • Describe what was exposed and who confirmed it.
  • Explain why chat apps keep logs of what you type.
  • Name the simple mistake behind the exposure.
  • Apply two or three habits to your own AI use or systems.
Activity record (log)
a running record that software keeps of what happened.
Left open (misconfiguration)
a setting left wrong, such as no sign-in on a database.
Secret keys (API keys)
strings that let software prove who it is to another service.

What is the DeepSeek data exposure?

Think of a shop that keeps a notebook of every customer conversation in the back room. One day, someone leaves the back door unlocked and open to the street.

DeepSeek is a Chinese AI company with a popular chatbot app. On 29 January 2025, Wiz Research published a report by Gal Nagli. It said Wiz had found a publicly reachable DeepSeek database that needed no sign-in at all [1].

The database was a type called ClickHouse, used for storing and searching large amounts of data. One table of activity logs held over a million entries. Wiz said these included chat history, secret keys and back-end details [1].

Wiz also said the exposure allowed full control over database operations [1]. It stated that it ran no intrusive queries beyond listing what was there [1].

Where the comparison stops working: an open shop door is easy to spot. Open databases are found by people scanning the internet, and owners often do not know.

The facts here come from the researchers' own report. Our DeepSeek breach analysis sets out the timeline in more depth [1].

Why does it matter?

People type private things into AI chats. This incident showed those words can sit in system logs, not just in your chat window.

If you use AI chat apps

What could happen: something you typed, such as a work plan or a password, sits in logs you never see.

Check this: the app's privacy policy on what it keeps and for how long.

Next: DeepSeek for Beginners

If you build or run apps

What could happen: a log store set up in a hurry is left open, with keys and user data inside.

Check this: that every database needs a sign-in and is not reachable from the internet.

Next: Exposed Databases for Beginners

If you choose AI tools for work

What could happen: staff paste customer data into an app your firm never checked.

Check this: where the provider stores data and how it protects it.

Next: DeepSeek and High-Risk AI Vendor Assessment Guide

What does it look like?

Here is a made-up log line, showing the kind of data such a log can hold.

Example only. All values are made up.

time=0000-00-00T00:00  service=EXAMPLE-chat-api      (1)
user_text="Draft a letter to my landlord..."   (2)
api_key=FAKE-KEY-0000                          (3)
host=EXAMPLE-backend-01                        (4)
access: open to internet, no sign-in           (5)
  1. When and where the entry was made. Normal for a log.
  2. In a real file, this line would contain what a user typed. Chat text in logs is easy to forget about.
  3. In a real file, this line would contain a working secret key. Secrets should never be written to logs.
  4. In a real file, this line would contain internal system names that help an attacker map the system.
  5. In a real file, this line would contain the access rule. Here, anyone could read the log.

Why this is risky: user text and a live key sit in a store anyone can reach.

The safer way: mask secrets and personal text in logs. Keep log stores private and behind sign-in.

How does it work?

  1. Users chat. People type questions into the app.
  2. Systems keep logs. Back-end services record activity. In this case, the logs included chat text and keys [1].
  3. A store is left open. The log database answered anyone who asked, with no sign-in [1].
  4. Researchers find it. Wiz Research reported finding it [1].
  5. It is reported and fixed. Wiz says it told DeepSeek, which promptly secured it [1].
Diagram titled How chat text ended up in an open database. Five boxes in a row joined by arrows: Users chat, people type questions into the AI app; Logs written, back-end systems record activity including chats; Open database, the log store answered anyone with no sign-in, highlighted as the problem; Found and told, researchers spot it and tell the firm; Locked down, the company secured it promptly. Notes say the lesson for users is that anything typed may be stored so keep secrets out of AI chats, and the lesson for builders is to put every database behind sign-in and keep secrets out of logs.
Figure 1. The weak point was not the AI model. It was an unlocked log store.

Wiz has not reported misuse by others. How long the database was open, and whether anyone else found it, has not been confirmed.

The wider point is about what AI apps keep. DeepSeek's own privacy policy, last updated 10 February 2026, says it may collect text input, prompts, uploaded files and chat history [2]. It says it stores personal data in the People's Republic of China and keeps account data for as long as you have an account [2].

A worked example

This story is made up to show the idea.

Tomas Whitlock is a developer at a small firm that runs its own customer chatbot. After reading about the DeepSeek exposure, he asks: could the same thing happen to us?

He checks with Marek Rinaldi, who looks after the firm's servers. Together they list every place chat data ends up. They find three: the main database, a backup and a log store set up for a test last year.

The log store is the worry. It was built quickly and still has the default settings. Marek checks it from outside the office network and finds it answers without any sign-in.

They close it to the internet that afternoon. They add a sign-in and change the one API key they find in the logs.

Tomas then changes the chatbot so it masks keys and email addresses before anything is logged. They also set old logs to delete after 30 days.

Finally, they add the log store to the firm's list of systems to check each month. Tomas writes a short note for the team. "A log store is still a database. Treat it like one."

Myths and mistakes

What people thinkWhat is true
The AI was hacked.Wiz described an open database, not an attack on the AI model[1].
If I delete a chat, it is gone everywhere.Copies may remain in logs and backups. Check the provider's retention terms.
Only my chat window holds my messages.Apps may keep chat history and log activity on their systems[2].
This only matters for one company.Any app can leave a log store open. The same checks apply everywhere.
Logs are boring, so they are not sensitive.Logs can hold user text and secret keys, as this case showed[1].

What can I do this week?

  • If you use AI chat apps, read what each one keeps and for how long.
  • Stop pasting passwords, keys or customer records into any AI chat.
  • Check your organisation's list of approved AI tools.
  • If you run systems, list every database and log store, and check each needs a sign-in.
  • Search your logs for secret keys, and change any you find.

Checklist

  • I know what was exposed and who confirmed it.
  • I assume anything I type into an AI app may be stored.
  • I keep secrets and personal data out of AI chats.
  • I know where my main AI app stores data and for how long.
  • Every database and log store I run needs a sign-in.
  • No data store I run is open to the internet without reason.
  • Our logs mask secrets and personal text.

Common questions

What was exposed in the DeepSeek leak?

Wiz Research reported a database with over a million log entries. It said these included chat history, API keys and secrets, back-end details and other operational data. The database needed no sign-in.

Was my DeepSeek chat history leaked?

Nobody can say for one person. Wiz found chat history in the logs and says DeepSeek promptly secured them. Wiz did not report misuse by others. If you shared anything sensitive, such as a password, change it.

Who found the DeepSeek database?

Wiz Research, the research team of the cloud security company Wiz. Its report, by Gal Nagli, was published on 29 January 2025. It says the team disclosed the issue to DeepSeek straight away.

Is it safe to use DeepSeek now?

It depends on your needs and your organisation's rules. Read the privacy policy, which explains what is collected and where it is stored. At work, use only AI tools your organisation has approved, and keep sensitive data out.

Could this happen with other AI apps?

Yes. An open database is a common mistake, not one unique to AI. Any app that logs chats could expose them the same way. That is why keeping secrets out of chats is a good habit with every tool.

Where next?

Ready for the detail? Read the practitioner analysis: DeepSeek Database Exposure 2025. It covers the timeline, the exposed data and the controls that would have prevented it [1].

Also useful:

Related NHI Mgmt Group resources: AI and Privacy for Beginners, Accidental Data Leaks for Beginners and DeepSeek and High-Risk AI Vendor Assessment Guide.

Key terms

Database
An organised store of data that software can search and update.
ClickHouse
An open-source database built to store and search very large amounts of data quickly.
Misconfiguration
A setting left wrong or unsafe, such as a database with no sign-in.
Data exposure
Data left where people who should not see it can reach it.
API key
A secret string that lets software prove who it is to another service.
Chat history
The stored record of your past conversations with a chatbot.
Data retention
How long a provider keeps a copy of the data you sent.

Sources and further reading

  1. Gal Nagli, Wiz Research, "Wiz Research Uncovers Exposed DeepSeek Database Leaking Sensitive Information, Including Chat History", Wiz blog, 29 January 2025. https://www.wiz.io/blog/wiz-research-uncovers-exposed-deepseek-database-leak (accessed 30 Nov 2026).
  2. DeepSeek, "DeepSeek Privacy Policy", last updated 10 February 2026. https://cdn.deepseek.com/policies/en-US/deepseek-privacy-policy.html (accessed 30 Nov 2026).

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.