Skip to main content
Mallory
← Back to News
package-repository-poisoningcredential-stealer-activitydata-exfiltration-methodai-platform-security

Malicious npm Package Exfiltrated Claude User Files to Attacker GitHub Repo

Supply Chain Risk · 6 sources · Updated 5mo ago · First seen May 27, 2026

Malicious npm Package Exfiltrated Claude User Files to Attacker GitHub Repo

Researchers identified a malicious npm package, mouse5212-super-formatter, that posed as an internal archive deployment synchronization utility but acted as an infostealer during its postinstall phase. The package searched the /mnt/user-data directory used by Anthropic's Claude AI environment for uploads and outputs, then recursively exfiltrated files to a threat actor-controlled GitHub repository through the GitHub Contents API. To reduce suspicion, it also generated a fake network connections log that made its activity appear diagnostic.

OX Security said the package had been downloaded about 676 times on npm, although confirmed compromises were limited, and researchers observed roughly seven exfiltration instances in the attacker repository before it was removed, most believed to be operator testing. The malware authenticated with either an environment token or a hardcoded private GitHub token, and that exposed token helped investigators trace the campaign; the attacker account had been created only hours before the first malicious release and was later deleted. Researchers dubbed the activity "Malware-Slop" and warned users to revoke GitHub access tokens and treat files stored in /mnt/user-data as potentially compromised.

Why it matters

Impact assessment

This incident affects developers and AI users who installed the npm package mouse5212-super-formatter, especially environments using Anthropic Claude workflows that store uploads and outputs in /mnt/user-data. The impact is direct data exposure: files in that directory may have been exfiltrated to an attacker-controlled GitHub repository, and any GitHub tokens available in the environment may also have been abused.

The scope appears limited rather than internet-wide, but the package reportedly reached 676 downloads and all published versions were malicious. Researchers observed about seven exfiltration events before the attacker repository was removed; most were assessed as operator testing, but the package executed real theft logic and there is evidence of active exfiltration in the wild.

Supporting facts

  • Malicious package name: mouse5212-super-formatter
  • Ecosystem: npm supply-chain malware
  • Targeted user population: developers and Claude users with data in /mnt/user-data
  • Targeted data: uploaded files, outputs, work results, and other assistant-related files stored in /mnt/user-data
  • Estimated exposure: 676 downloads reported at time of analysis
  • Confirmed malicious scope: all published versions were malicious
  • Observed incidents: about seven exfiltration instances in attacker infrastructure before takedown
  • Severity drivers:
    • Potential theft of sensitive local files
    • Potential abuse of GitHub access tokens from environment variables
    • Reputational and confidentiality impact for organizations using Claude-linked workflows
  • Campaign name: Malware-Slop
  • Key entities:
    • OX Security
    • Anthropic Claude
    • npm
    • GitHub
Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

6 events · May 26, 2026 – May 27, 2026
  1. May 27, 20266mo ago

    Malicious npm package uploaded to npm registry

    A malicious npm package named "mouse5212-super-formatter" was uploaded to npm, masquerading as an internal archive deployment synchronization utility. Its postinstall behavior recursively collected files from "/mnt/user-data" and exfiltrated them to a GitHub repository.

    Malicious npm Package Stole Files From Claude AI User Directory via GitHub
  2. May 27, 20266mo ago

    Attacker deletes GitHub account after the operation

    OX Security said the GitHub account used in the campaign was later deleted after the attack. The deletion followed the repository activity used to store exfiltrated files.

    Malware-Slop: Malicious npm Package Leaks its own GitHub Token
  3. May 27, 20266mo ago

    Researchers observe exfiltration activity in attacker repository

    Using the leaked GitHub private token, OX Security traced exfiltration activity in the attacker-controlled repository and observed about seven active exfiltration instances. Most of those instances were believed to be the threat actor’s own testing rather than confirmed victim installations.

    Malware-Slop: Malicious npm Package Leaks its own GitHub Token
  4. May 27, 20266mo ago

    Threat actor creates GitHub account before npm upload

    OX Security reported that the attacker’s GitHub account was created only hours before the first malicious version of the npm package was uploaded. The account was later used to receive exfiltrated files from infected environments.

    Malware-Slop: Malicious npm Package Leaks its own GitHub Token
  5. May 27, 20266mo ago

    OX Security discloses Malware-Slop npm infostealer

    OX Security publicly disclosed the malicious npm package and dubbed the activity "Malware-Slop," describing how it targeted "/mnt/user-data" used by Anthropic's Claude AI tool for uploads and outputs. At disclosure, the package had an estimated 676 downloads and was still available on npm, though actual installations were unconfirmed.

    Malicious npm Package Stole Files From Claude AI User Directory via GitHub
  6. May 26, 20266mo ago

    npm package marked deprecated on npm

    The npm package page for "mouse5212-super-formatter" shows the package as deprecated, with an author message stating it is no longer supported and directing users to npm support for more information. This reflects a status change on the package listing after the earlier disclosure that it was still available on npm.

    mouse5212-super-formatter - npm
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Claude

Organizations

1 linked
Anthropic
Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.