# GHSA-878X-PH8X-7CX2: Malicious code in @public-for-cdao/providers (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-17
- Modified: 2026-11-17

## Affected versions

- @public-for-cdao/providers (npm): 1.0.1

## 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.

---

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))

## References

- https://github.com/ossf/malicious-packages/blob/c12c2501196fb99e4c30b2533ea0ab512c576d14/osv/malicious/npm/@public-for-cdao/providers/MAL-2026-20045.json
- https://wormsign.io/portfolio/@public-for-cdao/providers
- https://github.com/advisories/GHSA-878x-ph8x-7cx2

Page: https://cve.now/GHSA-878X-PH8X-7CX2

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
