Email me

Rust advisories / proc-macro1

VulnerabilityRUSTSEC-2026-0265 · proc-macro1

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

Short answerA security vulnerability in the proc-macro1 crate: `proc-macro1` was removed from crates.io due to malicious code. No severity score was published. No fixed version: replace the crate or remove the affected code path.

Crateproc-macro1
TypeVulnerability (malicious)
Affected versionsEvery version.
Fixed innone
Severitynot scored
Published2026-08-20
Last changed2026-08-21
Also known asnone

What to do

  1. Find who pulls it in: cargo tree -i proc-macro1.
  2. Avoid the affected API, or replace the crate.

Details from the advisory

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.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for proc-macro1

Full security history of proc-macro1

Up next

Same crateproc-macro1: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ