---
id: MAL-2026-14336
title: Malicious code in arrayref (crates.io)
summary: Malicious code in arrayref (crates.io)
severity: none
vendor: arrayref
product: arrayref
ecosystem: rust
affected:
  - arrayref
published: '2026-08-20'
updated: '2026-08-21'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/MAL-2026-14336'
references:
  - url: 'https://safedep.io/arrayref-proc-macro1-rust-build-time-malware/'
  - url: 'https://github.com/rustsec/advisory-db/issues/3161'
tags:
  - osv
  - rust
ingestedAt: '2026-08-21T19:23:48.910Z'
---

## Overview

arrayref 0.3.10 was published to crates.io from a maintainer account (droundy) that appears to be compromised. Unlike every prior release, 0.3.10 declares a dependency on the malicious crate proc-macro1. The arrayref source itself is unchanged genuine macro code, but Cargo compiles the declared dependency, so building any project that resolves arrayref 0.3.10 pulls in and builds proc-macro1, whose build script downloads and executes an architecture-specific remote binary at build time from https://23.254.165.112:9089/ and passes 23.254.165.112:443 as a command-and-control address. Part of a coordinated crates.io campaign on 2026-08-20 that also trojanized internment and append-only-vec. The malicious release has been removed from crates.io; releases 0.3.9 and earlier are unaffected.

## Affected packages

- `arrayref`

## Remediation

Refer to the advisory for the patched release.
