Critical Malicious Code Vulnerability in @strapbuild/react-native-date-time-picker
Summary
MAL-2025-190825: Malicious code in @strapbuild/react-native-date-time-picker (npm). Affects @strapbuild/react-native-date-time-picker versions 2.0.4. 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 package @strapbuild/react-native-date-time-picker is a popular npm library used for implementing date and time pickers in React Native applications. It provides developers with customizable components that enhance user experience when selecting dates and times. However, this package has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability originates from the presence of malicious code within version 2.0.4 of the package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The implications of this vulnerability are severe, as it may lead to data breaches and loss of control over the affected systems. Users are advised to treat any system running this package as compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @strapbuild/react-native-date-time-picker
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
There are no effective workarounds for this vulnerability. The best course of action is to remove the package and rotate any secrets or keys that may have been exposed.
Conclusion
The discovery of malicious code in the @strapbuild/react-native-date-time-picker package poses a serious threat to users. Immediate action is required to mitigate risks, including removing the package and securing sensitive information. Continuous monitoring with tools like Vulert can help prevent future vulnerabilities.
See every vulnerability recorded for @strapbuild/react-native-date-time-picker →
FAQ
You should remove the package immediately and rotate any sensitive information stored on the affected system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Currently, there is no patched version available. The best action is to remove the package.
Failing to address this vulnerability can lead to unauthorized access to sensitive data and complete control of your system by malicious actors.
Vulert monitors and alerts in real-time for open-source vulnerabilities using just the package-lock.json file, allowing you to stay informed about potential threats.