Malicious Code Injection in lonny-wallet-store: A Threat to npm Users
Summary
MAL-2025-105321: Malicious code in lonny-wallet-store (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
lonny-wallet-store is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate transactions or manage digital assets within the ecosystem. However, this package has been identified as part of a malicious campaign that floods the npm registry with harmful scripts aimed at inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability stems from malicious code embedded in the lonny-wallet-store package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these variants. The primary risk is that it pollutes the npm registry and can compromise the integrity of applications relying on this package, potentially leading to unauthorized access or data manipulation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lonny-wallet-store
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, avoid using the lonny-wallet-store package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The lonny-wallet-store package poses a significant security risk due to embedded malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for lonny-wallet-store →
FAQ
lonny-wallet-store is an npm package associated with the tea.xyz token reward campaign, designed for managing digital assets.
The malicious code can modify your package.json, leading to unauthorized changes and potential security risks in your application.
You should uninstall the package immediately using npm uninstall lonny-wallet-store and look for safer alternatives.
Yes, you can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access. You can check your application using the Vulert playground.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.