NetSight
criticalMalware report

GHSA-878x-ph8x-7cx2

Malicious code in @public-for-cdao/providers (npm)

Impact

Malicious package. A postinstall hook runs `node recon.js`, which shells out to read the last 100 lines of `~/.bash_history` and `~/.zsh_history`, `~/.gitconfig`, `~/.npmrc` and the first line of `~/.ssh/id_rsa`, and sends the results to a hardcoded endpoint, `https://cdao-c2.aduljune.workers.dev/c2/exfil`. Observed in a sandboxed install (file reads, the shell commands and the connection to cdao-c2.aduljune.workers.dev). Same dependency-confusion credential-theft campaign as other packages in the `@public-for-cdao` scope already in OSV, with a different exfiltration endpoint. The package has been removed from npm. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/c12c2501196fb99e4c30b2533ea0ab512c576d14/osv/malicious/npm/@public-for-cdao/providers/MAL-2026-20045.json))

Affected packages

EcosystemPackageAffectedFixed in
npm@public-for-cdao/providers= 1.0.1none recorded

Weakness classification

References