Malicious Code Detected in @nytt/sass-utils: Security Risk Alert

@nytt/sass-utils Updated 02 Oct 2025

Summary

20/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6033: Malicious code in @nytt/sass-utils (npm). Affects @nytt/sass-utils versions >= 2.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 @nytt/sass-utils package is a utility library designed for working with Sass, a popular CSS preprocessor. It provides various functions and mixins to enhance the development experience for web designers and developers. However, this package has been identified to communicate with a domain associated with malicious activity, posing a significant security risk to applications that utilize it.

Vulnerability Detail

The vulnerability arises from the package's communication with a domain linked to malicious activities. This could lead to data breaches, unauthorized access, or the execution of harmful code within applications that depend on this package. The issue was introduced in version 2.0.0 and has been classified as a serious threat due to its potential impact on user data and application integrity.

How To Fix

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

npm uninstall @nytt/sass-utils

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 may consider removing the @nytt/sass-utils package from your project until a secure version is released. You can do this by executing: npm uninstall @nytt/sass-utils. Alternatively, you can replace it with a similar library that does not have known vulnerabilities.

Conclusion

The @nytt/sass-utils package has been identified as having a serious vulnerability due to its communication with a malicious domain. It is crucial for developers to take immediate action by updating or removing the package to safeguard their applications. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for @nytt/sass-utils →

Share this vulnerability

FAQ

The vulnerability involves the package communicating with a domain associated with malicious activity, which can compromise application security.

You can use Vulert, which monitors open-source vulnerabilities in your software. By analyzing your package-lock.json file, Vulert can alert you to any vulnerabilities in real-time. You can also check your application using the Vulert playground without signing up.

If an immediate update is not possible, consider removing the package or replacing it with an alternative library that does not have known vulnerabilities.

As of now, it is essential to check the package repository for any updates or patches that may address this vulnerability.

Failing to address this vulnerability could lead to data breaches, unauthorized access, and the execution of malicious code, jeopardizing the security of your application and user data.

How To Fix

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

npm uninstall @nytt/sass-utils

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