NetSight
unscoredMalware report

MAL-2026-20045

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.

Affected packages

EcosystemPackageAffectedFixed in
npm@public-for-cdao/providersunknownnone recorded

References