Malicious Code Injection in aquarius-sass-loader-morgan-unuk: A Threat to npm Packages

Summary

12/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-139548: Malicious code in aquarius-sass-loader-morgan-unuk (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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package aquarius-sass-loader-morgan-unuk is part of the npm ecosystem, primarily used for integrating Sass with Morgan for logging HTTP requests in Node.js applications. This package, like many others, is susceptible to vulnerabilities that can compromise the integrity of applications relying on it. The recent discovery of malicious code within this package raises significant concerns about the security of npm packages and the potential for widespread exploitation.

Vulnerability Detail

The vulnerability in aquarius-sass-loader-morgan-unuk originates from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts designed to automatically modify package.json files, removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry, making it difficult for developers to find legitimate packages. The ramifications include potential exposure to further malicious code and compromised application security.

How To Fix

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

npm uninstall aquarius-sass-loader-morgan-unuk

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 aquarius-sass-loader-morgan-unuk package from your project until a secure version is released. To uninstall the package, use the following command: npm uninstall aquarius-sass-loader-morgan-unuk.

Conclusion

The discovery of malicious code in the aquarius-sass-loader-morgan-unuk package highlights the importance of vigilance in managing npm packages. Developers should take immediate action to update or remove vulnerable packages and utilize tools like Vulert for ongoing monitoring to safeguard their applications.

See every vulnerability recorded for aquarius-sass-loader-morgan-unuk →

Share this vulnerability

FAQ

The vulnerability involves malicious code that modifies package.json files and republishes variants to the npm registry, potentially compromising application security.

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

You should update the package to the latest version or remove it from your project until a secure version is available.

Using compromised packages can lead to unauthorized access, data breaches, and the injection of further malicious code into your applications.

Yes, tools like Vulert can automate the monitoring process by analyzing your package-lock.json file for vulnerabilities in real-time.

How To Fix

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

npm uninstall aquarius-sass-loader-morgan-unuk

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.