`proc-macro1` was removed from crates.io due to malicious code
Historical advisory saved 24 Oct 2026 13:19:54 UTC. The publisher may have updated it since then. Latest advisory.
osv · RUSTSEC-2026-0265
PublishedIt was reported `proc-macro1` contained a build script that would download a malicious payload. This crate had two versions, both published on 2026-08-20. The crate was removed from crates.io and related user accounts were locked. This crate was used as part of a malware campaign targeted at users of `arrayref`, which was downloaded 2,285 times before being removed; see [the `arrayref` advisory][arrayref-advisory] for more detail. Thanks to the Research Team at Nextron Systems GmbH for reporting this to the Rust security response working group, and thanks to Emily Albini for coordinating with the crates.io and infra-admin teams. [arrayref-advisory]: https://rustsec.org/advisories/RUSTSEC-2026-0260.html
- Source published
- 20 Aug 2026 12:00:00 UTC
- Source modified
- 21 Aug 2026 06:30:03 UTC
- Saved here
- 24 Oct 2026 13:19:54 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.