Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malicious code in simple-date-formatter-new-1 (npm)

The npm package simple-date-formatter-new-1 version 1.0.0 was identified as malicious by the OpenSSF Package Analysis project. The package communicates with domains associated with malicious activity and executes commands associated with malicious behavior.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
All users of simple-date-formatter-new-1 version 1.0.0
Ecosystems
Attack vectors
Affected entities
  • simple-date-formatter-new-1 · 1.0.0

The OpenSSF Package Analysis project identified simple-date-formatter-new-1 version 1.0.0 on npm as containing malicious code. The package was flagged for communicating with a domain associated with malicious activity and executing commands associated with malicious behavior.\n\nThis appears to be a typosquatting or malicious package injection attack, where an attacker published a package with a name similar to legitimate date formatting libraries to trick developers into installing it.\n\nThe package was identified and reported through the OpenSSF's malicious-packages repository, which tracks confirmed malicious packages across package ecosystems.

Indicators of compromise

Packages
  • simple-date-formatter-new-1@1.0.0

Remediation

  • Remove simple-date-formatter-new-1 from all projects and dependencies
  • Audit project dependencies to ensure no other malicious packages are present
  • Use a legitimate date formatting library instead (e.g., date-fns, moment.js, or native Date APIs)
  • Review npm audit logs and security advisories for any other suspicious packages
  • Consider using npm package lock files and dependency scanning tools to prevent installation of malicious packages

Sources

  1. GitHub Advisory GHSA-83gm-93p7-wh7r · GitHub Advisory Database

Cite this entry

"Malicious code in simple-date-formatter-new-1 (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 3, 2026; last updated August 3, 2026. https://supplychainattack.org/incident/malicious-code-in-simple-date-formatter-new-1-npm-eqz7ub

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. containedcritical

    Malicious code in @types-beta/sdk (npm)

    The npm package @types-beta/sdk (versions 0.1.0–0.1.3) is a supply-chain dropper that impersonates the trusted @types/DefinitelyTyped namespace. It bundles a Windows executable (nanocache.exe) that executes at import time, establishing a persistent remote-access agent with command-and-control capabilities.

    npmCompromised packageTyposquatting
  2. containedcritical

    Malware in fluid-type-ui

    Malware was discovered in the npm package fluid-type-ui. Systems with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different computer.

    npmCompromised package
  3. containedcritical

    Malware in accounts-loading-state

    The npm package accounts-loading-state was found to contain malware, potentially giving full control of affected systems to an outside entity. All systems with this package installed should be considered fully compromised.

    npmCompromised package
  4. containedcritical

    Malware in lifestyle-test-utils

    Malware was discovered in the npm package lifestyle-test-utils. Systems with this package installed or running should be considered fully compromised and require immediate remediation.

    npmCompromised package