cvelo
P2 · HighMalware

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

  • MAL-2026-20045

Description

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.

Text from the OSV record.

Affected

  • @public-for-cdao/providersnpm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.