Malicious Code Detected in electron-purple-player: A Critical Security Alert

electron-purple-player Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-19455: Malicious code in electron-purple-player (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 electron-purple-player package is an npm library designed for integrating multimedia playback capabilities into applications. It allows developers to create rich media experiences, leveraging various audio and video formats. However, this package has been found to contain malicious code, posing significant security risks to users and applications that rely on it.

Vulnerability Detail

The vulnerability stems from the inclusion of malicious code within the electron-purple-player package. This code can potentially compromise the security of applications using the package, leading to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it imperative for users to take immediate action.

How To Fix

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

npm uninstall electron-purple-player

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 remove the electron-purple-player package from their project until a secure version is released. This can be done using the command: npm uninstall electron-purple-player. Additionally, consider using alternative packages that provide similar functionality without the associated risks.

Conclusion

The detection of malicious code in the electron-purple-player package poses a significant threat to applications that utilize it. Users must take immediate action to mitigate risks by updating or removing the package. Utilizing tools like Vulert can further enhance security by providing real-time vulnerability monitoring.

See every vulnerability recorded for electron-purple-player →

Share this vulnerability

FAQ

The malicious code can lead to unauthorized access and potential data breaches in applications that utilize the package.

You can use Vulert to monitor and alert in real-time for open-source vulnerabilities. Visit Vulert Scanner to check if your application is affected without requiring any signup.

Users are advised to check the package repository for any patched versions of electron-purple-player and update accordingly.

As a temporary measure, consider uninstalling the package or using alternative libraries until a secure version is available.

Vulert uses the package-lock.json file to monitor and alert for open-source vulnerabilities in your software, providing real-time insights without needing access to the code.

How To Fix

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

npm uninstall electron-purple-player

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