OpenSSF/OSV advisory MAL-2026-5993 confirms this npm version as malicious. On `npm install`, the package's postinstall.js executes `whoami` via child_process and POSTs the output (along with stderr, error, and a timestamp) to a hardcoded webhook.site collector URL. The package self-describes as 'A simple date formatting utility' and contains no code matching that purpose; the only behavior on install is the host-identity beacon...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in sheratan_test_p (npm)
Details
On `npm install`, the package's postinstall.js executes `whoami` via child_process and POSTs the output (along with stderr, error, and a timestamp) to a hardcoded webhook.site collector URL. The package self-describes as 'A simple date formatting utility' and contains no code matching that purpose; the only behavior on install is the host-identity beacon. Package metadata is consistent with a throwaway exfiltration artifact (placeholder name `sheratan_test_p`, empty author, generic description). Any developer or CI runner installing this package leaks their user/host context to an attacker-controlled third-party collector.
Decision reason
OSV/OpenSSF confirms sheratan_test_p@1.0.0 as malicious package MAL-2026-5993. Malicious code in sheratan_test_p (npm)