Malicious npm Package Stole Files From Claude AI User Directory via GitHub
A malicious npm package was found stealing files from a directory used by the Claude AI tool to handle uploads and outputs.
Overview
Researchers found a malicious package on the npm registryA central database of system settings on a computer or a public catalog that hosts software packages that steals files from the user directory of the Claude AI tool. The package, named mouse5212-super-formatter, disguises itself as a utility for syncing archives to a GitHub repositoryA central storage place where a software project's source code, change history, and configuration files are kept. In reality, it uses a GitHub access tokenA short-lived digital pass that a server gives a logged-in user or app to upload local files to a remote account controlled by the threat actorA person or group that carries out cyberattacks, whether for money, spying, or disruption. The malware also creates fake logs to hide its true activity of collecting and transferring data. The package has been downloaded 676 times, though it is unclear how many of those resulted in actual installations. Users who installed this package may have had their files stolen and stored in randomly named folders on a remote server.
Terms in this story
- registry
- A central database of system settings on a computer or a public catalog that hosts software packages. In security news, the registry means either the operating system settings database where malware adds startup entries or a public package registry where developers download code libraries.
- repository
- A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
- token
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
- threat actor
- A person or group that carries out cyberattacks, whether for money, spying, or disruption. Security researchers use the term threat actor to refer to a criminal gang, state spy unit, or solo hacker behind a series of intrusions. Security+ objective 2.1 lists the term
- npm Package
- A reusable web code library published to the public npm registry for developers to install. Web developers pull in dozens of npm packages when building a site, and attackers frequently publish malicious packages with lookalike names to steal developer credentials during installation. Security+ objective 2.2 lists the term
- script
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- sessions
- An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
- operational security
- The practices and habits used to keep sensitive operations, tools, and personal identities hidden from adversaries. Investigators often unmask cybercriminals because of poor operational security, such as reusing an old personal gaming handle or logging into a ransom server without a VPN. Security+ objective 5.6 lists the term
- malicious code
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
- APT
- A well-funded, organized hacking group, usually backed by a government, that runs long-term spying campaigns. Security companies track each major state-sponsored group as an APT and study how it breaks into government, defense, and technology networks over many years. Security+ objective 2.1 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.
Read the full article on The Hacker News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"Cybersecurity researchers have discovered a new malicious package..." Found by reading the article; these exact words are in it - Who is affected: "...anthropics claude artificial intelligence ai tool..."
Copied word for word from the article - Security+ 2.2 Explain common threat vectors and attack surfaces.
"Malicious npm Package Stole Files From Claude AI User Directory..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"Malicious npm Package Stole Files From Claude AI User Directory via GitHub..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of malware triage.
"...the script presents itself as an internal 'archive deployment sync' utility..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Skill in analyzing malware.
"The malware also writes a fake "network connections" log..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role