Malicious Code Injection in buffer-materialize-config-subscription Package

Summary

12/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-140161: Malicious code in buffer-materialize-config-subscription (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 buffer-materialize-config-subscription package is part of the npm ecosystem, typically used for managing configuration subscriptions in applications. However, this package has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. This behavior compromises the integrity of the npm registry and poses a risk to developers who may unknowingly use these compromised packages.

Vulnerability Detail

The vulnerability originates from a malicious payload embedded within the buffer-materialize-config-subscription package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which are often themed around Indonesian culture. The malicious code continuously republishes these variants, polluting the npm registry and potentially leading to security risks for developers who rely on this package. The impact of this vulnerability includes the risk of using compromised packages, which can lead to further exploitation or data breaches.

How To Fix

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

npm uninstall buffer-materialize-config-subscription

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, consider removing the buffer-materialize-config-subscription package from your project until a secure version is released. You can do this by running: npm uninstall buffer-materialize-config-subscription. Additionally, monitor your package-lock.json file for any dependencies that may have been affected by this vulnerability.

Conclusion

The buffer-materialize-config-subscription package has been identified as containing malicious code that compromises the integrity of the npm registry. It is crucial for developers to take immediate action by updating or removing the package to mitigate potential security risks. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for buffer-materialize-config-subscription →

Share this vulnerability

FAQ

It is an npm package used for managing configuration subscriptions in applications, but it has been compromised with malicious code.

The malicious code modifies your package.json file and can lead to the installation of compromised packages, increasing security risks.

You should uninstall the package immediately and monitor your application for any unusual behavior or vulnerabilities.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.

Regularly update your dependencies, use tools like Vulert to monitor vulnerabilities, and review package sources before installation.

How To Fix

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

npm uninstall buffer-materialize-config-subscription

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