Malicious Code Injection in webpack-less-heliophysics-wavefunction Package
Summary
MAL-2025-190290: Malicious code in webpack-less-heliophysics-wavefunction (npm). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The webpack-less-heliophysics-wavefunction package is a part of the npm ecosystem, typically used for various web development tasks. However, it has been identified as part of a malicious campaign that aims to exploit npm's package publishing system. This package is associated with the tea.xyz token reward campaign, which has been flooding the npm registry with numerous derivative packages to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in the webpack-less-heliophysics-wavefunction package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to manipulate the npm registry and developer reputation systems. The ramifications include potential pollution of the npm registry and exploitation of developers' reputations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall webpack-less-heliophysics-wavefunction
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, you can avoid using the webpack-less-heliophysics-wavefunction package and look for alternative packages that provide similar functionalities without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The webpack-less-heliophysics-wavefunction package contains malicious code that poses a significant risk to developers and the npm ecosystem. It is crucial to take immediate action by uninstalling the package and monitoring for any updates. Utilizing tools like Vulert can help ensure your project remains secure from such vulnerabilities.
See every vulnerability recorded for webpack-less-heliophysics-wavefunction →
FAQ
It is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the pollution of the npm registry and may affect your project's integrity and reputation.
You should uninstall the package immediately and monitor for any updates or patches.
Yes, you can use Vulert's playground at Vulert Scanner to check your application without requiring any signup.
Vulert is a tool that monitors and alerts in real-time for open-source vulnerabilities in your software using just the package-lock.json file.