Malicious Code Injection in data-omicron-static-quick-serialize Package
Summary
MAL-2025-186492: Malicious code in data-omicron-static-quick-serialize (npm). Affected versions are not published. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The data-omicron-static-quick-serialize package is part of the npm ecosystem, primarily used for serialization tasks in JavaScript applications. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages aimed at inflating developer reputation scores. This package, like others in the campaign, contains scripts that modify its own metadata and republish itself under various names.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the data-omicron-static-quick-serialize package. This payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. The continuous republishing of these variants pollutes the npm registry, potentially leading to security risks for developers who unknowingly install these compromised packages. The malicious scripts are designed to execute automatically, making it difficult for users to detect the changes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall data-omicron-static-quick-serialize
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 avoid using the data-omicron-static-quick-serialize package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The data-omicron-static-quick-serialize package has been compromised with malicious code that alters its metadata and repopulates the npm registry with harmful variants. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities using tools like Vulert.
See every vulnerability recorded for data-omicron-static-quick-serialize →
FAQ
It is an npm package used for serialization tasks in JavaScript applications, but it has been compromised with malicious code.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application using the Vulert playground at Vulert Scanner.
Using this package can lead to unauthorized changes in your project, including the removal of private flags and the introduction of potentially harmful code.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories for the packages you use.
Immediately remove the package from your project and check for any unauthorized changes in your codebase. Consider using alternative packages.