Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ MAL-2026-12194 — simple-date-formatter-new-2

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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

Source: amazon-inspector

The package presents itself as a trivial date-formatting utility (index.js exports a one-line wrapper around toLocaleDateString), but its package.json postinstall script runs a shell pipeline that probes sandbox and host state (tmpfs mount capability, bind-mount of /home/work, /proc/self/attr/current, LSM/AppArmor info, cgroups layout, /proc/partitions, and a listing of /home/work) and POSTs the combined output via curl to http://safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo6, an interactsh/OAST out-of-band callback domain. The tarball additionally ships postinstall.js, which reads the installer's ~/.ssh directory, packages the filenames together with the local username and platform, and POSTs the JSON over HTTPS to the hardcoded IP 124.221.154.135:443/post; Chinese-language comments in that file describe stealing SSH keys and sending them to a C2. The benign facade contradicts the install-time behavior and the shipped stealer module.

Affected software

MAL-2026-12194 is recorded against 1 package.

  • simple-date-formatter-new-2

Timeline and source

Published on 5 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

www.npmjs.com (Package)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-08-05
Updated 2026-08-20
Modified 2026-08-05
Fix URL N/A

Affected Packages

Software From version Fixed in
simple-date-formatter-new-2 — —

Free Vulnerability Check

Is your site affected by MAL-2026-12194?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-12194 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesMalicious packagesMalicious packages 2026
✓