Malicious Code Injection in okta-moci45-miaww Package
Summary
MAL-2025-89189: Malicious code in okta-moci45-miaww (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 okta-moci45-miaww package is part of the npm ecosystem, typically used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package, like others in the campaign, is designed to manipulate developer reputation scores by generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the okta-moci45-miaww package stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to pollute the npm registry and inflate reputation scores for the tea protocol token rewards. The origin of this vulnerability is linked to the broader campaign that exploits npm's publishing mechanisms, leading to potential security risks for developers and their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall okta-moci45-miaww
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, avoid using the okta-moci45-miaww package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The okta-moci45-miaww package contains malicious code that poses significant risks to developers and their applications. It is essential to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for okta-moci45-miaww →
FAQ
The okta-moci45-miaww package is an npm package that is part of a malicious campaign aimed at manipulating developer reputation scores.
This vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your application by introducing malicious code.
You should uninstall the okta-moci45-miaww package immediately and monitor for any updates or patches from the package maintainers.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.