app-hsu-layer
APIs in NodeJS should have a single source of truth for api specs between code and docs, as well as compile time type safety.
This report shows the evidence for app-hsu-layer@2.1.6. 2 of 2 known versions are blocked or flagged. The newest version, 2.1.7, is blocked. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe malicious actions are directly reachable from an npm postinstall hook and require no user invocation. They combine secret exfiltration, remote-controlled host scanning, and SSH persistence.
Decision evidence
public snapshot- package.json runs `node test.js` as postinstall.
- test.js invokes both exfiltration functions during install.
- index.js uploads matched cwd files, including .env/config files, to 95.216.118.146.
- index.js fetches an SSH key, appends it to authorized_keys, and enables SSH access.
- index.js scans the home directory using remotely supplied patterns and uploads matches to 170.205.31.203.
Source & flagged code
10 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage declares a runtime dependency whose name matches a Node built-in module.
package.jsonView on unpkgFindings
Affected versions and remediation
This report applies to app-hsu-layer@2.1.6.
The versions list below shows the verdict for each recorded version.
- Avoid installing app-hsu-layer@2.1.6. 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.