{"id":"MAL-2026-14338","revision":"ce0b26a15fbc4bc8ac3a35f3be439e6d","records":[{"revision":"ce0b26a15fbc4bc8ac3a35f3be439e6d","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"MAL-2026-14338","aliases":[],"title":"Malicious code in proc_macro1 (crates.io)","description":"proc-macro1 is a typosquat of proc-macro2 published to crates.io by the account 'dtolney', impersonating David Tolnay (dtolnay). Its metadata forges authors 'David Tolnay <rchaitm@gmail.com>' and points repository at a nonexistent github.com/dtolnay/proc-macro1. The library source is a copy of proc-macro2 so dependent builds succeed, but build.rs reconstructs a base64-encoded URL and downloads an architecture-specific remote binary from https://23.254.165.112:9089/ over TLS with certificate validation disabled (a custom verifier that accepts any certificate), then executes it detached, passing 23.254.165.112:443 as argv[1] (command and control). On Unix it writes and runs /tmp/rust-setup; on Windows it writes %TEMP%\\rust-setup.ps1 and launches it via a %TEMP%\\rust-setup-launch.vbs launcher under wscript.exe. The download and execution run unconditionally on every build on a supported platform. This crate was the payload carrier pulled in by the trojanized arrayref 0.3.10 release. All versions have been removed from crates.io.","state":0,"publishedAt":"2026-08-20T00:00:00+00:00","modifiedAt":"2026-08-21T00:30:10.2919179+00:00","affected":[{"ecosystem":"crates.io","name":"proc-macro1","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://safedep.io/arrayref-proc-macro1-rust-build-time-malware/","https://github.com/rustsec/advisory-db/issues/3161"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14338","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14338","identifiers":["MAL-2026-14338"]},"retained":false,"historicalAffected":[]}],"coverage":[]}