Malicious Code Injection in medieval_lark-silentdev Package
Summary
MAL-2025-105761: Malicious code in medieval_lark-silentdev (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 medieval_lark-silentdev package is part of the npm ecosystem, primarily used for JavaScript development. It is designed to facilitate various functionalities within applications. However, this package has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability originates from the package being involved in a token reward campaign that floods the npm registry with malicious packages. It contains scripts that automatically generate and publish derivative packages with randomized names, modifying the package.json file to remove private flags and changing version numbers. This behavior can lead to reputation inflation for malicious actors and pollute the npm registry, posing risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall medieval_lark-silentdev
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 medieval_lark-silentdev package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The medieval_lark-silentdev package poses significant security risks due to its malicious code and involvement in a token reward scheme. Developers should take immediate action to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help ensure ongoing security in your applications.
See every vulnerability recorded for medieval_lark-silentdev →
FAQ
It is an npm package used in JavaScript development, but it has been identified as malicious due to its involvement in a token reward campaign.
If you are using the medieval_lark-silentdev package, your project may be at risk of being polluted with malicious code, which can lead to security breaches.
You should remove the medieval_lark-silentdev package from your project and monitor for any updates or patches that may address the vulnerability.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
Vulert is a tool that monitors and alerts in real-time for open-source vulnerabilities in your software by analyzing the package-lock.json file.