Malicious Code Injection in bert-wallet-store: A Critical npm Vulnerability

bert-wallet-store Updated 27 Nov 2025

Summary

11/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-99947: Malicious code in bert-wallet-store (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The bert-wallet-store package is part of the npm ecosystem, primarily used for managing wallet functionalities in decentralized applications. However, it has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the creation of derivative packages. This vulnerability exposes users to potential security risks, as the package can modify essential files and republish harmful variants.

Vulnerability Detail

The vulnerability originates from a malicious campaign associated with the tea.xyz token reward initiative. The bert-wallet-store package contains scripts that automatically generate and publish derivative packages with randomized names, which can lead to the pollution of the npm registry. The malicious payload alters the package.json file by removing private flags and changing version numbers, potentially compromising the integrity of applications that depend on this package. This can result in unauthorized access to sensitive data and the execution of harmful code.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall bert-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, you can remove the bert-wallet-store package from your project by executing the following command: npm uninstall bert-wallet-store. This will prevent any malicious code from executing while you assess alternative packages or wait for a secure version to be released.

Conclusion

The bert-wallet-store package has been identified as part of a malicious campaign that poses significant security risks. It is essential for developers to take immediate action by updating or removing the package to protect their applications from potential threats. Utilizing tools like Vulert can help in monitoring for vulnerabilities effectively.

See every vulnerability recorded for bert-wallet-store →

Share this vulnerability

FAQ

bert-wallet-store is an npm package used for managing wallet functionalities in decentralized applications.

The vulnerability allows malicious code to modify your package.json file and republish harmful variants, potentially compromising your application's security.

You should immediately update the package to a patched version or remove it from your project until a secure version is available.

You can use Vulert to monitor and alert you in real-time for open-source vulnerabilities in your software. It analyzes your package-lock.json file without requiring code access.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall bert-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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback