react-native-datepickerror (npm) · Malicious Code
Affects react-native-datepickerrorSource GCVE Database
Malicious package : remove react-native-datepickerror and rotate any secrets on hosts that installed it.
Data as of 19 Nov 2026, 07:51 UTC
Malicious package
Published to npm · OSV MAL-2026-20197
What to do
Remove react-native-datepickerror from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmreact-native-datepickerror | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package react-native-datepickerror version 99.9.1 is a typosquatting malicious package that installs attacker-controlled code. It contains an empty index.js but declares a dependency as a direct tarball URL hosted on Google Cloud Storage, which is fetched and executed without integrity checks or version pinning. This allows the bucket owner to execute arbitrary code during installation. The package name closely resembles the legitimate react-native-datepicker package, likely to trick users into installing it.