Skip to content

RUSTSEC-2026-0265 `proc-macro1` was removed from crates.io due to malicious code

Unknown
Published
Updated
Exploit status
No public exploit known

Description

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

Upgrade path

1 package: 0 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
crates.io proc-macro1(crates.io) >= 0.0.0-0 No fix listed No fix yet

Affected products

ProductAffected versionsFixed in
crates.io proc-macro1(crates.io) >= 0.0.0-0 No fix listed

References