Malicious Code Injection in byted-commerce-materials Package

byted-commerce-materials Updated 21 Sep 2026

Summary

21/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-16326: Malicious code in byted-commerce-materials (npm). Affects byted-commerce-materials versions 1.0.0. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The byted-commerce-materials package is an npm module designed to provide materials for e-commerce applications. It is intended for developers looking to integrate various commerce functionalities into their projects. However, this package has been found to contain malicious code that executes during the installation process, posing significant security risks to users.

Vulnerability Detail

The vulnerability originates from the package's preinstall and postinstall scripts, which automatically execute a malicious JavaScript file (callback.js) upon installation. This file collects sensitive information such as hostname, username, and various credential files from the user's environment. The gathered data is then sent to an attacker-controlled Telegram bot, compromising user security and privacy. The malicious behavior is hidden under the guise of a legitimate package, making it particularly dangerous.

How To Fix

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

npm uninstall byted-commerce-materials

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, users can avoid using the byted-commerce-materials package altogether and look for alternative packages that provide similar functionalities without the associated risks.

Conclusion

The byted-commerce-materials package contains a serious vulnerability that can lead to the unauthorized collection of sensitive user information. It is crucial for developers to remove this package and monitor their projects for any potential security threats. Utilizing tools like Vulert can help maintain the integrity of your applications.

See every vulnerability recorded for byted-commerce-materials →

Share this vulnerability

FAQ

It is an npm module designed to provide materials for e-commerce applications.

The malicious code executes during the npm install process, collecting sensitive information and sending it to an external server.

You should uninstall the package immediately and check your environment for any compromised credentials.

Yes, consider looking for other npm packages that offer similar functionalities without the security risks.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just package-lock.json. You can also check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner.

How To Fix

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

npm uninstall byted-commerce-materials

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