Malicious code in @securihackbot/depconf-flow-1792484611 (npm)
- GHSA-fx6j-qp48-x4v4
Description
Package publishes under the `@securihackbot` scope as a public dependency-confusion squat of an internal name. The declared `postinstall` script executes `postinstall.js`, which on `npm install` collects host identifiers (os.hostname(), USER/USERNAME, platform, arch, node version, package name, and a nonce), base64-encodes them, and sends them as a query parameter via plain-HTTP GET to a hardcoded bare-IP collector at http://34.143.131.27:18080/. A DNS-exfil fallback resolves NONCE-prefixed subdomains under a configured DNS suffix. The exfiltration fires automatically on install with no opt-in, and any build host whose resolver pulls this public tarball instead of an intended internal `@securihackbot/*` package will beacon host metadata to the hardcoded collector. The 'authorized research' framing in the README does not gate the behavior, which runs against any installer that resolves this version. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/d9e78122ff1e19623ced02ae6cc75ed40bab1835/osv/malicious/npm/@securihackbot/depconf-flow-1792484611/MAL-2026-19220.json))
Text from the GitHub Advisory record.
Affected
@securihackbot/depconf-flow-1792484611npm
- No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.