date-fns-sync
A high-performance, thread-safe in-memory cache module for Node.js applications using **Worker Threads** to provide efficient multi-threaded cache operations.
This report shows the evidence for date-fns-sync@1.0.0, the only known version.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThis is a concrete install-time remote-code-execution chain, not a package feature. The mismatched README further supports deceptive intent.
Decision evidence
public snapshot- A postinstall hook runs index.js during npm installation.
- The install entrypoint decodes a remote URL, fetches JSON, and evaluates its token field as code.
- The README describes a different package, suggesting the published package is deceptive.
Source & flagged code
3 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgThe install entrypoint decodes a remote URL, fetches JSON, and evaluates its token field as code.
index.jsView on unpkg · L3Package source references a known benign dynamic code generation pattern.
Findings
Affected versions and remediation
This report applies to date-fns-sync@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing date-fns-sync@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.