Claimed Bug Bounty Hunter Likely Used LLM to Build PhantomRaven npm Stealer
A threat actor likely used an AI model to create a JavaScript stealer distributed through malicious packages on the npm registry.
Overview
A financially motivated threat actorA person or group that carries out cyberattacks, whether for money, spying, or disruption distributed a JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers information stealerMalware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device called PhantomRaven through the npm packageA reusable web code library published to the public npm registry for developers to install registryA central database of system settings on a computer or a public catalog that hosts software packages. The malwareSoftware built to steal data, spy on users, lock files, or take control of a computer was likely written using a large language modelAn AI system trained on huge amounts of text to generate, summarize, translate, or write code, as indicated by verbose comments and placeholder code. More than 100 malicious packages were uploaded to steal authentication tokensA short-lived digital pass that a server gives a logged-in user or app, CI/CDThe automated pipeline that tests, builds, and deploys software whenever developers push new code secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys, and GitHub credentialsThe login details, such as a username and password or key, that prove who an account belongs to from developers' machines. These packages acted as cover to retrieve a remote dynamic dependency from an external server, allowing the malware to bypass security tools. Once installed, the software scans the developer environment for email addresses, system fingerprints, and CI/CD environment variables before sending the data to an attacker-controlled server. The operator, who claims to be a bug bounty hunter, has been active since November 2022 and has collected bounties from at least nine entities.
Terms in this story
- 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
- JavaScript
- The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
- 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.
- information stealer
- Malware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device. Victims often download an infostealer through a fake game crack or malicious ad, and the stolen login cookies are then sold to ransomware crews on criminal markets. Security+ objective 2.4 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
- 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.
- malware
- 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
- large language model
- An AI system trained on huge amounts of text to generate, summarize, translate, or write code. Security news covers large language models both when defenders use them to review code and when attackers try to trick chatbots into leaking private company documents.
- authentication tokens
- 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
- CI/CD
- The automated pipeline that tests, builds, and deploys software whenever developers push new code. Attackers love to compromise a company's CI/CD pipeline because that build server holds cloud keys and can inject malicious code directly into official software releases. Security+ objective 4.7 lists the term
- secrets
- Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
- credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 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
"...developer likely wrote the malware using a large language model (LLM..." Found by reading the article; these exact words are in it - Security+ 2.1 Compare and contrast common threat actors and motivations.
"A financially motivated threat actor has been linked to the development and..." Found in the opening sentences - Security+ 2.2 Explain common threat vectors and attack surfaces.
"......information stealer known as PhantomRaven via the npm package registry. "The developer likely wrote the malware..." Found in the opening sentences - Security+ 2.3 Explain various types of vulnerabilities.
"Claimed Bug Bounty Hunter Likely Used LLM to Build..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......Likely Used LLM to Build PhantomRaven npm Stealer..." Found in the headline - Security+ 4.3 Explain various activities associated with vulnerability management.
"Claimed Bug Bounty Hunter Likely Used LLM to Build PhantomRaven..." Found in the headline - CYBR 101 week 11: penetration testing, OSINT, MITRE ATT&CK and hacking back
"Claimed Bug Bounty Hunter Likely Used LLM to Build PhantomRaven..." Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"A financially motivated threat actor has been linked to the development and..." Found in the opening sentences - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"Claimed Bug Bounty Hunter Likely Used LLM to Build PhantomRaven npm Stealer..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"......Likely Used LLM to Build PhantomRaven npm Stealer..." Found in the headline
How a story is connected to the course, and every objective, week and job role