AI Privacy IncidentMay 27, 2026

Claude AI user data directory exfiltration via malicious npm package

Vendor: Anthropic
Product: Claude
Severity: medium
Status: ongoing
Users affected: undisclosed; package estimated at 676 downloads before detection

Summary

On May 27, 2026, OX Security researchers identified a malicious npm package, mouse5212-super-formatter, designed to exfiltrate files from /mnt/user-data, the directory Anthropic's Claude AI uses to handle user uploads and outputs. The package had an estimated 676 downloads before detection. The attacker embedded their own GitHub private token in the package source; OX Security used it to attribute the account, which was subsequently deleted. As of the OX Security report, the package remained available on npm.

What happened

  • mouse5212-super-formatter was published to npm on May 27, 2026, presenting itself as an "archive deployment sync" utility.
  • Its postinstall script authenticated to GitHub using either an environment variable token or a hard-coded fallback credential, then walked the /mnt/user-data directory and uploaded every file to a threat actor-controlled repository via the GitHub Contents API; files were base64-encoded before transmission.
  • The /mnt/user-data path is the dedicated directory Anthropic's Claude AI uses to store user-provided uploads and AI-generated outputs in the background.
  • OX Security researchers observed approximately seven active exfiltrations in the attacker's repository before the associated GitHub account, unplowed3584, was taken down. That account was created hours before the malicious package appeared.
  • The package source contained the attacker's own GitHub private token, which OX Security used to identify and attribute the account.

Timeline

  • 2026-05-27 — GitHub account unplowed3584 created; mouse5212-super-formatter published to npm.
  • 2026-05-27 — OX Security researchers Moshe Siman Tov Bustan and Nir Zadok identify the package and publish their findings.
  • 2026-05-27 — Attacker's GitHub account taken down; package reported as still available on npm.

What remains unclear

  • Whether npm removed the package after the OX Security disclosure.
  • How many of the 676 estimated downloads resulted in successful file exfiltration.
  • Whether Anthropic has reviewed the incident or issued guidance to developers using Claude-integrated environments.

Broader context

AI assistants typically maintain dedicated filesystem paths for user-provided documents and generated outputs. A malicious package that knows those paths can extract files at the filesystem layer without interacting with the AI service directly. OX Security observed that the reduced barrier to generating functional malicious code with AI assistance is likely to produce more such incidents, including those authored by threat actors with limited operational security knowledge.

Sources

Selvam Sivakumar
Written by

Selvam Sivakumar

Founder, Elephas.app

Selvam Sivakumar is the founder of Elephas and an expert in AI, Mac apps, and productivity tools. He writes about practical ways professionals can use AI to work smarter while keeping their data private.

Related Resources

news

Claude Mythos Release: What It Means for Your Private Files

Anthropic is withholding Claude Mythos on cyber-safety grounds, but the public release lands in weeks. Here is what that means for the documents you put into AI tools, and the one move worth making first.

8 min read
news

Starlink Updated Its Privacy Policy on January 15. If You Don't Opt Out, Your Data Trains AI.

On January 15, 2026, SpaceX updated the Starlink Global Privacy Policy to allow customer data, including audio, video, and shared files, to be used for AI training. A breakdown of what changed, who's affected, and what to do today.

9 min read
news

Vercel Got Hacked: The April 2026 Breach Tied to a Context AI Misstep

A Vercel employee's OAuth grant to Context.ai became the entry point for a breach listed on a cybercriminal forum for $2 million. The full attack chain, IOCs, and what to rotate now.

10 min read
news

Lovable Hacked: API Flaw Exposes Thousands of Projects on the Lovable AI App Builder

A security researcher exposed a Lovable API flaw that leaked source code, AI chat histories and database credentials across thousands of projects. Lovable denies data was breached; its apology reveals a February 2026 backend regression.

13 min read