294 incidents on record · 2026HeadlightsIncident reports by Ellie Harris · Melbourne
10 new this weekLibrary last updated 24 November 2026
← The incident library
HD-INC-089
Technology · China · 2025 · Data exposure & egress

DeepSeek left a database open on the internet with more than a million log lines, including users' chat history and secret keys

By Ellie Harris · Filed Identified by Wiz Research, 29 January 2025

Alleged: DeepSeek; Wiz (disclosing researchers) developed or deployed the AI system implicated in this incident. Details are drawn from public reports; parties are presumed innocent of any wrongdoing not established by an official finding.

DeepSeek left a database open on the internet with more than a million log lines, including users' chat history and secret keys

What happened

It was reported that in late January 2025, as DeepSeek’s assistant rose sharply in use, researchers at the security firm Wiz found a database belonging to the company exposed on the public internet. The store, a ClickHouse database, was reachable through two open ports with no password, and access to it allowed full control over the database’s operations. It held more than a million lines of log data in plain text, including users’ chat history, API keys, backend details and other operational metadata, with entries dating back to 6 January 2025.

It was then reported that Wiz disclosed the exposure to DeepSeek privately, and that DeepSeek closed it in under an hour of being notified. Wiz did not report evidence that anyone else had reached the data, and the speed of the fix once the company knew is not in question. The log entries ran back to 6 January, though how long the database itself had been open is not something the reporting establishes. What is clear is that the company did not find it, but an outside researcher did, in a database holding the plaintext conversations of a service then being adopted by millions.

Where the gap was

Wiz reported finding a database containing readable chat logs and secret keys that was accessible from the public internet without a password.

The company needed to identify databases containing sensitive information and regularly check who could access them. An exposed database of user conversations should have triggered an immediate alert.

Records of those checks would also have helped establish how long the database remained accessible and when the problem was discovered.

Headlights identifies a rules-behaviour gap between basic database security practice and a production database left reachable on open ports with no password, holding users’ chat histories and API keys in plain text.

What could have helped

Whether a database full of user chats and secret keys can be reached from the open internet is something a system can keep testing on its own, and record. An auditable version tags each store by what is in it and checks, against a simple rule, whether it is reachable: a database of plaintext chat logs should never be open to anyone without a password. Cross that line and it writes a signed record. A check like that trips whenever the store first becomes reachable, whenever that was, rather than waiting for the day an outside researcher happens to look.

What governance should have looked like

The fix took under an hour once DeepSeek knew; the hard part was knowing the store was open in the first place. A database left open to the internet is something a system can be built to spot as it happens, rather than something that waits for an outside researcher to trip over it. Best practice would be for a company holding user data to tag its stores, keep checking whether they are reachable, and write a signed record when one is exposed, so it is the first to know rather than the last.

Failure Pattern: a data store holding user chat logs and secret keys was reachable from the public internet with no authentication.

Governance Principle: a store holding sensitive or user data must be closed to the public internet by default, and its reachability checked continuously, not assumed.

Sources

The mailing list

Fresh incident reports every week. One email to match.

We add new incidents to the library regularly, and send a single short email each week with what's new. The library stays free and open; this is just how you keep up with it.

Sent through Substack. Unsubscribe in one click.

Headlights summarises publicly reported AI incidents. All summaries are independently written, attributed to their original sources, and intended for research and educational purposes. Allegations are identified as such until established through official findings.

This report is based on the sources listed above and reflects information available at the time of review; later developments may not be captured. Where a person is described as charged with or alleged to have done something, that allegation is unproven unless a conviction or a court or regulatory finding is stated. Headlights publishes journalism and commentary, not legal advice.

Want to write back?

Direct to my inbox.

ellie@useheadlights.com →