cargo · Malicious package advisory
Malwareinternment
GHSA-mxq3-8c5w-crcm
Malicious code in internment (crates.io)
Details
**Severity:** Critical **Affected versions:** `= 0.8.7` internment 0.8.7 was published to crates.io from the same maintainer account (droundy) as the trojanized arrayref and append-only-vec releases, which appears to be compromised. The release adds a dependency on an attacker-controlled crate whose build script downloads and executes an architecture-specific remote binary at build time from https://23.254.165.112:9089/, passing 23.254.165.112:443 as a command-and-control address. Part of a coordinated crates.io campaign on 2026-08-20. The malicious release has been removed from crates.io; earlier internment releases are unaffected. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/65e79a7e3677a36fcdbd109ea6e294bffc77f7db/osv/malicious/crates.io/internment/MAL-2026-14337.json)) **References:** - https://github.com/rustsec/advisory-db/issues/3161 - https://github.com/ossf/malicious-packages/blob/65e79a7e3677a36fcdbd109ea6e294bffc77f7db/osv/malicious/crates.io/internment/MAL-2026-14337.json - https://safedep.io/arrayref-proc-macro1-rust-build-time-malware - https://github.com/advisories/GHSA-mxq3-8c5w-crcm
Compromised versions (1)
- = 0.8.7
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.