Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in datetime-format-xutil (npm)

0
Critical
Published: 08/13/2026 (08/13/2026, 14:59:51 UTC)
Source: GCVE Database
Product: datetime-format-xutil

Description

The npm package datetime-format-xutil version 1.0.0 contains malicious code that executes automatically upon installation. The postinstall.js script opens a reverse shell connection to a hardcoded IP address, allowing remote command execution on the installer's host. The package's legitimate date-format functionality is a cover for this backdoor behavior.

Affected software

npmghsa
datetime-format-xutil
Affected versions
=1.0.0

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

AILast updated: 08/13/2026, 18:08:17 UTC

Technical Analysis

The datetime-format-xutil npm package (version 1.0.0) includes a postinstall.js script that runs automatically during npm install. This script attempts to open a TCP connection to 8.135.48.40 on port 4444 and spawns a /bin/sh shell, redirecting its input and output over the socket to provide an interactive remote shell. It uses a bash reverse shell command and falls back to a python3 reverse shell if needed. If the connection fails, error details are sent via HTTP GET requests to the same host. The package's index.js implements date-formatting functionality, which serves as a cover for the malicious backdoor.

Potential Impact

Installing this package version grants an attacker remote shell access on the installer's system, enabling full control and execution of arbitrary commands. This compromises the confidentiality, integrity, and availability of the affected system.

Mitigation Recommendations

No official patch or remediation is currently available. Users should avoid installing datetime-format-xutil version 1.0.0. Remove the package immediately if installed and investigate any systems where it was used. Monitor for suspicious network connections to 8.135.48.40 and related indicators. Check vendor advisories or npm security advisories for updates or removal notices.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-13936
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a7e036ebf8831d5398f9036

Added to database: 08/13/2026, 17:48:30 UTC

Last enriched: 08/13/2026, 18:08:17 UTC

Last updated: 08/13/2026, 19:11:12 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses