Malicious Code Detected in shopify-css-import: A Critical Security Concern

shopify-css-import Updated 02 Oct 2025

Summary

21/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6124: Malicious code in shopify-css-import (npm). Affects shopify-css-import 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The 'shopify-css-import' package is an npm library designed to facilitate the importation of CSS files from Shopify into web applications. It is commonly used by developers to streamline the integration of Shopify styles into their projects. However, this package has been identified as having a serious vulnerability that allows it to communicate with a domain associated with malicious activities, posing a risk to users and their applications.

Vulnerability Detail

The vulnerability in the 'shopify-css-import' package originates from its ability to connect to a malicious domain. This can lead to unauthorized data access, potential data breaches, and the execution of harmful scripts within the user's application. The issue was introduced in version 1.0.0 and remains a significant threat as it can compromise the integrity and security of applications utilizing this package.

How To Fix

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

npm uninstall shopify-css-import

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, you can remove the 'shopify-css-import' package from your project until a secure version is released. This can be done by executing: npm uninstall shopify-css-import. Alternatively, consider using a different package that provides similar functionality without the associated risks.

Conclusion

The 'shopify-css-import' package has been identified as having a critical vulnerability that allows communication with a malicious domain. It is essential for developers using this package to take immediate action by updating or removing it to safeguard their applications. Utilizing tools like Vulert can further enhance security by providing real-time vulnerability alerts.

See every vulnerability recorded for shopify-css-import →

Share this vulnerability

FAQ

The vulnerability allows the package to communicate with a malicious domain, which can lead to security breaches.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

Consider removing the package from your project or using an alternative package until a secure version is available.

Currently, the vulnerability is present from version 1.0.0. Always check the package repository for updates and patches.

Vulert uses just package-lock.json to monitor and alert for open-source vulnerabilities in your software, providing real-time insights.

How To Fix

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

npm uninstall shopify-css-import

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