cvelo
P2 · HighMalware

Malicious code in black-spindle-2 (npm)

  • GHSA-qcg8-4xw5-5ccq

Description

package.json declares a postinstall script that runs curl against the ephemeral host http://778e-181-63-25-28.ngrok-free.app over plain HTTP, embedding a shell command-substitution expression in the URL path. The script fires automatically on npm install, confirming installation on the installer's machine and providing a channel to exfiltrate host or environment values via the expanded shell expression. The shipped index.js is an empty stub, so the manifest's postinstall beacon is the package's entire effect. The destination is an anonymous ngrok-free.app tunnel with no relationship to any legitimate publisher, consistent with a dependency-confusion or install-confirmation probe. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/0b4a7fbd4eea373a8b90aca1ace688cb95b8b251/osv/malicious/npm/black-spindle-2/MAL-2026-18376.json))

Text from the GitHub Advisory record.

Affected

  • black-spindle-2npm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.