node-procmetrics
System metrics collector
This report shows the evidence for node-procmetrics@1.0.9. 10 of 10 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiDirect source inspection confirms an install-time persistent backdoor with npm-based command-and-control, arbitrary command execution, and data exfiltration. This is concrete malicious behavior, not a package-aligned metric collector.
Decision evidence
public snapshot- `package.json` runs `node install.js` in `postinstall`.
- `install.js` decodes an embedded npm token and configures it for npm.
- Install code copies itself to `/tmp/.pm-agent.js` and spawns a detached daemon.
- Daemon polls `registry.npmjs.org/node-procmetrics` for base64 commands.
- Received commands are executed through `bash -c`; output is republished to npm.
- `__archive__` can tar arbitrary paths and upload chunks via npm publishes.
- Package contains only `package.json` and `install.js`; no legitimate metrics implementation is present.
Source & flagged code
5 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 unpkgFindings
Affected versions and remediation
This report applies to node-procmetrics@1.0.9.
The versions list below shows the verdict for each recorded version.
- Avoid installing node-procmetrics@1.0.9. 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.