Vulnerability MAL-2026-20197
Summary
Malicious code in react-native-datepickerror (npm)
Details
react-native-datepickerror 99.9.1 is a dependency-confusion package with an inflated version number and no code of its own (index.js exports an empty object; the 0.0.0-stage placeholder published a minute earlier is inert and not listed). It declares a single dependency, ltidisafe, as a tarball URL outside the npm registry (https://ltidi.storage.googleapis.com/depenconf/ltidisafe-4.0.6.tgz). That tarball's preinstall script runs node test.js with all output discarded. The script reads the OS user name, host name and home directory, hex-encodes each, and sends each one as the leading label of a cleartext HTTP GET to react-native-datepickerror.s70bgesazvr7qu260dzlumnp1g77vxjm.oastify.com, a Burp Collaborator out-of-band callback host, so the values leave the machine through the DNS lookup alone even if the HTTP request fails. It runs on install without the package being imported. The script collects the machine's non-internal IPv4 addresses but does not send them. The same publisher released @clickwraps/fetch (MAL-2026-20119) and @clikwraps/navigate within minutes, with the same payload and a per-package callback host. The payload is hosted outside the registry, so the publisher can change it without a new npm release. Remove the package, treat any machine that installed it as having disclosed its host identity, and block the callback and tarball hosts on build hosts.