# GHSA-7CJ4-W2R7-X3Q8: Malicious code in react-native-datepickerror (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-19
- Modified: 2026-11-23

## Affected versions

- react-native-datepickerror (npm): 99.9.1

## Description

## Source: amazon-inspector (3bcf783e24cde31842f042ce3c02b4b1a2b77927a9a76262084ed5ab9c12ce79)
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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6306efcd2e5165329b81a44593e5176ac396d59b/osv/malicious/npm/react-native-datepickerror/MAL-2026-20197.json))

## References

- https://github.com/ossf/malicious-packages/blob/6306efcd2e5165329b81a44593e5176ac396d59b/osv/malicious/npm/react-native-datepickerror/MAL-2026-20197.json
- https://www.npmjs.com/package/react-native-datepickerror/v/99.9.1
- https://github.com/ossf/malicious-packages/blob/0d69dcab2dfd200fd1d4d8936b7b3f117d56adda/osv/malicious/npm/react-native-datepickerror/MAL-2026-20197.json
- https://github.com/advisories/GHSA-7cj4-w2r7-x3q8

Page: https://cve.now/GHSA-7CJ4-W2R7-X3Q8

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
