datefmt-simple-utils
A simple date formatting utility
This report shows the evidence for datefmt-simple-utils@1.0.0, the only known version.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiDirect source inspection confirms an unconsented install-time reverse shell with a hard-coded command-and-control endpoint. The benign date formatter does not justify this behavior.
Decision evidence
public snapshot- package.json runs postinstall.js during npm installation.
- postinstall.js opens a socket to 8.135.48.40:4444 and attaches it to /bin/bash.
- Two execSync Python reverse-shell fallbacks run before the native Node fallback.
- index.js only exports a date-formatting helper.
- No legitimate purpose is apparent for the install-time shell connection.
Source & flagged code
8 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgSource matches reverse-shell style process and socket wiring.
Findings
Affected versions and remediation
This report applies to datefmt-simple-utils@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing datefmt-simple-utils@1.0.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.