MAL-2026-10115: Malicious code in fmt-date-lite (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (1c8dad7bd90f4cb0dbb1d4ce933bc39f04aefe4940a53605e5c3f30c48a313e4) On `npm install`, the package's postinstall lifecycle script runs the `id` command and transmits the resulting user/group identity to a hardcoded bare-IP endpoint at http://155.190.124.243:6788/ over plain HTTP. Three fallback delivery mechanisms are used (node http.get, curl, wget) to maximize the chance of successful exfiltration across environments. This behavior has no legitimate connection to the package's advertised purpose (a date-formatting utility), and the benign-sounding name and `date-fns-lite` authorship function as cover for the install-time beacon — consistent with a lure/typosquat targeting the date-fns ecosystem. The `id` output reveals the installer's username, UID, GID, and group memberships, providing reconnaissance for follow-on attacks and confirming the callback for the operator.
AI Analysis
Technical Summary
The npm package fmt-date-lite version 1.0.0 includes a postinstall lifecycle script that executes the 'id' command to collect the installer's user and group identity details. It then attempts to send this information to a hardcoded IP address (http://155.190.124.243:6788/) using multiple fallback methods (node http.get, curl, wget) to ensure delivery. This exfiltration is unrelated to the package's intended purpose as a date-formatting utility and is consistent with malicious typosquatting behavior designed to gather reconnaissance data for follow-on attacks.
Potential Impact
Installation of fmt-date-lite version 1.0.0 results in disclosure of the installer's user and group identity information to an attacker-controlled server. This information includes username, UID, GID, and group memberships, which can facilitate further targeted attacks or privilege escalation attempts. The exfiltration occurs over unencrypted HTTP, exposing the data to interception during transmission.
Mitigation Recommendations
No official patch or remediation is currently documented for fmt-date-lite version 1.0.0. Users should avoid installing this package and instead verify the authenticity of npm packages before installation. Consider using trusted package sources and tools that detect malicious or typosquatting packages. Monitor for updates from the package maintainer or npm advisories for any official fixes.
MAL-2026-10115: Malicious code in fmt-date-lite (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (1c8dad7bd90f4cb0dbb1d4ce933bc39f04aefe4940a53605e5c3f30c48a313e4) On `npm install`, the package's postinstall lifecycle script runs the `id` command and transmits the resulting user/group identity to a hardcoded bare-IP endpoint at http://155.190.124.243:6788/ over plain HTTP. Three fallback delivery mechanisms are used (node http.get, curl, wget) to maximize the chance of successful exfiltration across environments. This behavior has no legitimate connection to the package's advertised purpose (a date-formatting utility), and the benign-sounding name and `date-fns-lite` authorship function as cover for the install-time beacon — consistent with a lure/typosquat targeting the date-fns ecosystem. The `id` output reveals the installer's username, UID, GID, and group memberships, providing reconnaissance for follow-on attacks and confirming the callback for the operator.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The npm package fmt-date-lite version 1.0.0 includes a postinstall lifecycle script that executes the 'id' command to collect the installer's user and group identity details. It then attempts to send this information to a hardcoded IP address (http://155.190.124.243:6788/) using multiple fallback methods (node http.get, curl, wget) to ensure delivery. This exfiltration is unrelated to the package's intended purpose as a date-formatting utility and is consistent with malicious typosquatting behavior designed to gather reconnaissance data for follow-on attacks.
Potential Impact
Installation of fmt-date-lite version 1.0.0 results in disclosure of the installer's user and group identity information to an attacker-controlled server. This information includes username, UID, GID, and group memberships, which can facilitate further targeted attacks or privilege escalation attempts. The exfiltration occurs over unencrypted HTTP, exposing the data to interception during transmission.
Mitigation Recommendations
No official patch or remediation is currently documented for fmt-date-lite version 1.0.0. Users should avoid installing this package and instead verify the authenticity of npm packages before installation. Consider using trusted package sources and tools that detect malicious or typosquatting packages. Monitor for updates from the package maintainer or npm advisories for any official fixes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10115
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50ba2668715ace4357c212
Added to database: 07/10/2026, 09:23:50 UTC
Last enriched: 07/10/2026, 09:27:03 UTC
Last updated: 07/10/2026, 16:55:09 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.