Malicious Code in discordstreams (npm)

discordstreams Updated 02 Oct 2025

Summary

01/11/2023
CRITICAL
No i
Critical
Not published

MAL-2023-8426: Malicious code in discordstreams (npm). Affects discordstreams 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

discordstreams is an npm package that provides functionality for interacting with the Discord API and streaming data. It allows developers to create applications that can send and receive messages, manage servers, and perform other actions on the Discord platform. However, the package has been identified as containing malicious code that communicates with a domain associated with malicious activity.

Vulnerability Detail

The malicious code in discordstreams poses a security risk to applications that use this package. It can potentially compromise the confidentiality, integrity, and availability of the affected systems. The code communicates with a domain that is known for engaging in malicious activities, which could lead to unauthorized access, data breaches, or the execution of arbitrary code on the compromised systems.

How To Fix

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

npm uninstall discordstreams

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 specific workaround provided for this vulnerability. The best course of action is to remove the discordstreams package and replace it with a trusted alternative.

Conclusion

The presence of malicious code in the discordstreams package makes it a significant security risk for applications that use it. To protect your systems and data, it is recommended to remove the package and replace it with a trusted alternative. Regularly reviewing and updating your application's dependencies can help mitigate the risk of using vulnerable or malicious code. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for discordstreams →

Share this vulnerability

FAQ

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

While specific exploits or attacks leveraging this vulnerability have not been mentioned, the presence of malicious code in the discordstreams package increases the risk of unauthorized access, data breaches, and arbitrary code execution on affected systems.

The recommended fix for this vulnerability is to remove the discordstreams package from your application and replace it with a trusted alternative. Regularly updating your packages and reviewing their sources can help mitigate the risk of using vulnerable or malicious code.

It is not advisable to continue using the discordstreams package, even with precautions. The presence of malicious code poses a significant security risk, and it is best to replace it with a trusted alternative.

For more information about this vulnerability, you can visit the GitHub repository of the OpenSSF Package Analysis project at https://github.com/ossf/malicious-packages/blob/main/malicious/npm/discordstreams/MAL-2023-8426.json.

How To Fix

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

npm uninstall discordstreams

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