Malicious Code Detected in droidfit Package - Security Alert
Summary
MAL-2025-18819: Malicious code in droidfit (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 droidfit package is an npm library designed for fitness tracking and related functionalities. It allows developers to integrate fitness-related features into their applications. However, recent findings have revealed that this package contains malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the droidfit package originates from the inclusion of malicious code that can compromise user data and application integrity. This malicious code can lead to unauthorized access, data theft, and potential exploitation of the affected systems. The issue affects all versions of the package starting from its introduction, making it critical for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall droidfit
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, users can avoid using the droidfit package and explore alternative libraries that provide similar functionalities without the associated risks. It is advisable to conduct a thorough review of any third-party packages before integrating them into your applications.
Conclusion
The discovery of malicious code in the droidfit package highlights the importance of maintaining security in software development. Users are urged to take immediate action to remove the affected package and consider alternatives to safeguard their applications.
See every vulnerability recorded for droidfit →
FAQ
droidfit is an npm package designed for fitness tracking and related functionalities in applications.
The malicious code found in droidfit can compromise user data and application integrity, potentially leading to unauthorized access and data theft.
You can use Vulert, a tool that 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 remove the droidfit package from your project and replace it with a secure alternative. If a patched version is released, update the package using npm update droidfit.
Yes, there are several alternative packages available for fitness tracking. It is recommended to review and select a package that has a good security track record.