@oliviamcdaniel12/safer-buffer
Reliable Modern Buffer API Polyfill
This report shows the evidence for @oliviamcdaniel12/safer-buffer@2.2.1. 2 of 3 known versions are blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiThe package entrypoint contains a targeted, silent background launcher, and its bundled payload implements remote message polling plus executable file delivery. Lack of an install hook does not mitigate import-time compromise.
Decision evidence
public snapshot- `safer.js` runs a hidden import-time `child_process.spawn`.
- It checks a foreign `../../package.json` for `express@^5.2.1`.
- `safer.js` launches detached `tests/safer-buffer.min.js` and records its PID.
- `tests/safer-buffer.min.js` contains obfuscated Slack polling and encrypted command handling.
- The payload writes received data, `chmod`s it, and detached-spawns it.
- Payload embeds Infura and Alchemy Sepolia RPC URLs.
- `package.json` has no npm lifecycle hooks.
- The declared package API is a Buffer polyfill, but its entrypoint contains unrelated process control.
Source & flagged code
6 flagged · loading sourceThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
tests/safer-buffer.min.jsView on unpkgFindings
Affected versions and remediation
This report applies to @oliviamcdaniel12/safer-buffer@2.2.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing @oliviamcdaniel12/safer-buffer@2.2.1. 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.