MAL-2026-14338 Malicious code in proc_macro1 (crates.io)
Malicious package
Published
MAL-2026-14338 is a malicious package: proc-macro1 (crates.io). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-14338/ (Markdown: https://insights.sbomify.com/MAL-2026-14338/index.md)
- Package
- proc-macro1
- Registry
- crates.io
What is MAL-2026-14338?
MAL-2026-14338 is a malicious package in proc-macro1, published on 20 Aug 2026.
Official 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 <[email protected]>' 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.
What should I do about MAL-2026-14338?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.