CVE-2023-30: Malicious code in @buffer-mono/non-secure (npm)

@buffer-mono/non-secure Updated 02 Oct 2025

Summary

05/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-30: Malicious code in @buffer-mono/non-secure (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 Penetration testing for web, API and mobile 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-mono/non-secure package is an npm package that provides functionality for secure data storage and transmission. It is commonly used in applications that require encryption and protection of sensitive information. However, a vulnerability has been discovered in this package that allows the execution of malicious code on the affected system.

Vulnerability Detail

The vulnerability originates from a malicious code injection in the @buffer-mono/non-secure package. Any computer with this package installed or running should be considered compromised. The malicious code can grant full control of the computer to an external entity, posing a significant risk to the confidentiality and integrity of stored data. It is crucial to rotate all secrets and keys stored on the affected computer immediately from a different, secure computer. Although removing the package is recommended, it may not guarantee the complete removal of all malicious software resulting from its installation.

How To Fix

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

npm uninstall @buffer-mono/non-secure

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

There is no known workaround for this vulnerability. It is essential to follow the steps provided in the 'how_to_fix' section to mitigate the risk.

Conclusion

The @buffer-mono/non-secure package has been found to contain malicious code, posing a significant risk to the security of systems using it. It is crucial to follow the provided steps to mitigate the vulnerability, including rotating secrets and keys, removing the package, and conducting a thorough security audit. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for @buffer-mono/non-secure →

Share this vulnerability

FAQ

The impact of this vulnerability is severe, as it allows an external entity to gain full control of the affected computer. This compromises the confidentiality and integrity of stored data and poses a significant risk to the security of the system.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. It analyzes the package-lock.json file and provides real-time alerts for open-source vulnerabilities.

Removing the package is recommended, but it may not guarantee the complete removal of all malicious software resulting from its installation. It is crucial to rotate all secrets and keys stored on the affected computer and conduct a thorough security audit.

No specific patch has been mentioned for this vulnerability. The recommended approach is to remove the @buffer-mono/non-secure package, rotate secrets and keys, and conduct a security audit.

To prevent similar vulnerabilities, it is essential to regularly update and patch all software components, including dependencies. Additionally, implementing secure coding practices, conducting security audits, and using vulnerability monitoring tools like Vulert can help identify and mitigate potential risks.

How To Fix

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

npm uninstall @buffer-mono/non-secure

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