Malicious Code in spotify-internal (npm)

spotify-internal Updated 02 Oct 2025

Summary

17/11/2023
CRITICAL
No i
Critical
Not published

MAL-2023-8524: Malicious code in spotify-internal (npm). Affects spotify-internal versions 9.9.9. 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

spotify-internal is an npm package that is used internally by Spotify. It provides functionality related to the internal operations of the Spotify application. This package is vulnerable to a malicious code injection.

Vulnerability Detail

The OpenSSF Package Analysis project has identified version 9.9.9 of the spotify-internal package as malicious. The package communicates with a domain associated with malicious activity. This vulnerability can have severe consequences as it allows an attacker to execute arbitrary code on systems that have the affected version of the package installed.

How To Fix

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

npm uninstall spotify-internal

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 follow the steps mentioned in the 'how_to_fix' section.

Conclusion

The spotify-internal npm package version 9.9.9 has been identified as malicious. This vulnerability allows an attacker to execute arbitrary code on affected systems. It is crucial to remove the affected version and update to a secure version as soon as possible. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for spotify-internal →

Share this vulnerability

FAQ

spotify-internal is an npm package used internally by Spotify for internal operations of the Spotify application.

This vulnerability allows an attacker to execute arbitrary code on systems with the affected version of the spotify-internal package installed.

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

At the time of this report, there is no specific fix available. It is recommended to remove the affected version of the spotify-internal package and update to a secure version as soon as it becomes available.

Regularly monitoring for security updates, following best practices for package management, and using tools like Vulert can help prevent similar vulnerabilities in the future.

How To Fix

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

npm uninstall spotify-internal

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