Malicious npm package react-native-datepickerror — full host compromise on install
Severity: critical · Patch status: no-fix-needed · Since 2026-12-02
GitHub published advisory GHSA-4j84-264p-wh5w on 2026-12-02 flagging the npm package react-native-datepickerror as malware (CWE-506, embedded malicious code). Every published version (= 0) is affected and no patched version exists, so any installation grants attackers full control of the machine. The advisory states any computer with the package installed or running should be considered fully compromised, with secrets and keys exposed to an outside entity; removal of the package does not guarantee removal of the malicious software. The package sees roughly 1,153 downloads per month, so some developers and CI environments are likely affected. There is no fix — the only remediation is removal plus credential rotation and host forensics.
What to do
- Remove react-native-datepickerror from all projects and lockfiles immediately
- Rotate all secrets, keys, and credentials stored on affected machines, from a clean computer
- Rebuild or reimage affected developer machines and CI runners; treat them as fully compromised
- Audit npm dependencies and lockfiles for the package and check install logs for exposure
- Block the package in internal registries/proxies and scan for it across repositories
Sources
All live incidents on Threat Watch