proc-macro-encrates.io
Advisory published Updated
proc-macro-en is a confirmed malicious crates.io package (MAL-2026-14339) that opens a backdoor for remote access. Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in proc_macro_en (crates.io)
What this malware does
proc-macro-en is a malicious crate published to crates.io as part of the coordinated build-time payload campaign on 2026-08-20 that trojanized arrayref, internment, and append-only-vec and published the proc-macro1 typosquat of proc-macro2. It was used as an attacker-controlled dependency carrying a build-script payload; building it results in the download and execution of a remote binary from https://23.254.165.112:9089/ with 23.254.165.112:443 as command and control. All versions have been removed from crates.io. The individual build script of this crate was not analyzed directly; its behavior is attributed from the campaign.
Malicious versions
Every published version of this package is considered malicious — remove it entirely.
Detection & response playbook
Backdoor / remote accessFind it
Search your lockfiles and build artifacts for proc-macro-en (all published versions).
If you installed it — respond
proc-macro-en establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If proc-macro-en was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
References
Credits
- SafeDep · finder
- jhobern · reporter
Detect & block this
O3 blocks proc-macro-en-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.