Contents may be malicious. [Research Saturday]
· Summarized
Key takeaways
- Phantom Raven is a JavaScript information stealer distributed through malicious, typosquatted npm packages; its operator uses compromised systems to support claims submitted to bug-bounty programs.
- The operator is better characterized as someone gaming bug bounties than as a legitimate bug bounty researcher performing responsible disclosure.
- The stealer collects operating-system and host details, processes, usernames, Node.js information, command-line arguments, and CI/CD environment data such as project paths, versions, and GitHub Actions information.
- CrowdStrike assessed that an LLM likely generated the malware because of its unusually verbose comments, improved error handling, and statistical code patterns associated with LLM output.
- Whether malware is technically sophisticated matters less than whether it reliably executes, obtains valuable information, and enables the threat actor to monetize access.
- Organizations should consider a three-day cool-off period before newly published packages can be deployed, maintain approved-package checks, and defend against typosquatting across npm, Python, and other repositories.
- CI/CD automation can automatically pull malicious code into an environment, so organizations need dependency monitoring, package-installation controls, private registries where appropriate, and visibility into runtime behavior.
- Supply-chain attacks are active and scalable: Myers cited Altered Spider infecting more than 300 repositories in one day and warned that malicious code can remain undetected for months or years.
Summary
Phantom Raven began as an investigation into an information-stealing tool
Host Dave Bittner introduces Adam Myers, CrowdStrike’s head of counter-adversary operations, to discuss the research report “Phantom Raven, an LLM-generated information stealer developed for bug bounty hunting.” Myers says CrowdStrike began tracking the threat actor after noticing the tool being deployed. The tool was an information stealer, and the researchers’ initial focus was understanding the malicious tooling before they identified the broader activity around it. Myers rejects the idea that the operator should straightforwardly be called a bug bounty hunter. Although the actor reportedly claims to find vulnerabilities and obtain bug-bounty payments, Myers characterizes the behavior as gaming the system: the actor uses malware to gain access to other people’s systems, then monetizes that access by reporting the resulting compromise to organizations. In his view, calling the person a legitimate researcher would be “a very generous way of characterizing them.” The distinction matters because legitimate bug bounty researchers generally examine software for vulnerabilities and disclose them responsibly through an established program. Phantom Raven’s operator instead distributes a malicious JavaScript tool, gains access to a victim, and then contacts the organization while claiming to have identified a compromised device.
Typosquatted npm packages quietly deploy a remote stealer
Myers explains that Phantom Raven is distributed through the Node Package Manager ecosystem, which is widely used by developers working with Node.js. The actor uses typosquatting: a developer who intends to install a legitimate package, such as one with a name resembling “transform-jsbi-2-bigint,” may mistype it and accidentally install the malicious lookalike instead. The npm packages themselves contain relatively little obviously malicious code. Their package files include remote dynamic dependencies that point back to a domain CrowdStrike believes functions as the actor’s command-and-control infrastructure. When the package is installed and executed, the remote dependency supplies the malicious JavaScript, which then runs and calls back to that domain. Once active, Phantom Raven collects a broad set of information. Myers lists the operating system, hostname, IP addresses, running processes, runtime information, the directory and process IDs associated with execution, the installed Node.js version, command-line arguments, username, and date and time. It also gathers build-environment variables, including project paths and versions, as well as information from GitHub Actions. Those CI/CD details may expose credentials or other secrets used by automated development and deployment systems.
Code comments and statistical analysis pointed to LLM generation
Bittner asks why CrowdStrike concluded that the stealer was probably generated with a large language model. Myers says the researchers have observed threat actors incorporating LLMs into their workflows for roughly the past two years. The resulting code often has better comments and error handling than the actor would likely have written unaided. CrowdStrike also performs statistical token analysis across scripts to estimate whether code was generated by an LLM. In Phantom Raven, one clue was that the code included a comment before virtually every global variable. The comments explained functions such as collecting CI/CD and environment information, collecting system information, and dynamically fetching a public IP address. Myers says such verbose documentation is unnecessary for the malware author but is typical of an LLM trying to make generated code easier for its user to understand. The researchers nevertheless rated the author’s technical sophistication as relatively low. When Bittner points out that the actor still produced a functioning information stealer, Myers answers that the actor told an LLM to build it. He says sophistication is less important than results: if the malware works reliably and lets the operator obtain information and monetize access, it is “good enough.” The quality matters insofar as faulty or unreliable code could corrupt the stolen data or prevent the operation from succeeding.
CI/CD environments need delays, package controls, and dependency checks
Myers says developers should treat Phantom Raven as part of a larger CI/CD security problem. Organizations increasingly rely on systems that automatically consume and deploy code after someone pushes it to a repository. That means a package published by someone on the other side of the world can move through an automated pipeline and enter an organization’s environment without a person consciously approving that specific change. His primary recommendation is a package cool-off period: newly published packages should not be deployable until three days after publication. The delay creates time to identify malicious packages before they are automatically incorporated. He also warns developers not to fall victim to typosquatted packages and recommends continuous checks against approved packages so that unauthorized Node, Python, or other repository packages can be detected. The description of the research additionally points to restricting package-installation scripts, using private npm registries, and monitoring dependencies as mitigation measures. Myers emphasizes that the problem is not limited to npm; CrowdStrike has seen similar activity in Python and other repository ecosystems. Organizations need to understand the risks created by their particular repositories and automation, rather than assuming that a package is safe simply because the development workflow installs it automatically.
AI-generated malware does not require a new defensive philosophy
Bittner asks whether the growing use of AI-generated malware should change what defenders look for. Myers says it should not fundamentally change the defensive approach. Threat actors have increasingly used LLMs to build tools, scripts, and malicious code, but the central question remains what the code does when it is instantiated in the environment. An LLM may produce code that is more clearly documented or better structured than human-written malware, but that does not make its behavior harmless. Myers says defenders need adequate visibility to detect when the code executes and what actions it performs. The focus should therefore remain on monitoring activity, controlling how dependencies enter development environments, and identifying unexpected access to system and CI/CD information. For organizations operating bug-bounty programs, Myers says the Phantom Raven activity demonstrates a novel abuse pattern. Programs intended to improve security can be manipulated when an actor creates or induces a compromise and then reports it as a vulnerability. Organizations should understand that this capability exists and account for it when evaluating bug-bounty submissions, rather than assuming every claimed finding came from conventional, responsible research.
Supply-chain attacks show why slowing deployment can be safer
The conversation closes on the tension between pressure to move quickly and the need to pause before deploying new code. Myers agrees that a short delay can be the safer choice for package rollouts. He cites a recent example involving the group CrowdStrike calls Altered Spider, also known to many as Team PCP, which infected more than 300 repositories in a single day. He says supply-chain attacks have become an increasing problem, including campaigns by North Korean threat actors, criminal groups, and other adversaries targeting development and package ecosystems. A malicious dependency can remain in an environment for months or even years if the organization lacks the controls and visibility needed to notice it. Myers’s main takeaway is that organizations must put policies and checks around automated package consumption and CI/CD deployment. The goal is not to reject automation or AI-generated code solely because of how it was produced. Instead, defenders should ensure that new code is approved, dependencies are monitored, typosquatting is detected, and runtime behavior is visible before an apparently minor package change becomes an organization-wide compromise.
Sponsors
- Aspen Cyber Summit · The Aspen Cyber Summit brings together leaders from government, industry, and civil society on November 18 in Washington, D.C., to address cyber and technology policy issues and develop cross-sector solutions.
- Progressive Commercial · Progressive says it helps truckers keep moving with additional protection through Cargo Plus coverage and says customers can quote truck insurance in as little as eight minutes. Coverage is subject to policy terms, limits, and conditions and was noted as unavailable in California, New York, and Virginia.
- Avanti · Avanti promotes AI-driven autonomous IT solutions that proactively identify and resolve endpoint issues, helping IT teams scale while reducing disruption and security risk. Its endpoint autonomy is described as being grounded in verified data.
- Zage Security · Zage Security's Identity Fabric platform is presented as a way to control employee, vendor, machine, application, workload, and AI-agent identities through zero-trust policies governing what they can access, what they can do, and when.
- Payday · Payday's peanut caramel bar is described as having no extra toppings or layers—only salty, crunchy peanuts and sweet caramel.
- Doppel · Doppel says its defense platform uses AI to combat impersonation and manipulation by dismantling cross-channel attacks, building team resilience, and providing agentic email protection against increasingly sophisticated social engineering.
- Starbucks · Starbucks promotes digital and physical gift cards purchased in bulk as a way to thank clients or recognize employees, describing them as a pick-me-up and a reminder of appreciation.
Show notes
Adam Meyers, Head of Counter Adversary Operations at CrowdStrike, is discussing their work on "PhantomRaven, An LLM-Generated Information Stealer Developed for Bug Bounty Hunting." PhantomRaven, a JavaScript-based information stealer distributed through malicious npm packages by a financially motivated threat actor posing as a bug bounty hunter.
The malware targets system information and continuous integration and continuous deployment (CI/CD) environment variables, likely seeking credentials, with analysis suggesting its code was generated using a large language model. The report explores how AI-generated tools may lower the barrier to cybercrime and outlines steps organizations can take to mitigate risks, including restricting package installation scripts, using private npm registries, and monitoring dependencies.
The research and executive brief can be found here:
PhantomRaven: An LLM-Generated Information Stealer Developed for Bug Bounty Hunting
Learn more about your ad choices. Visit megaphone.fm/adchoices
Follow this show on AudioBrevity and new episodes get summarized for you. Create a free account