Skip to content

Topic

Package Typosquatting

A supply-chain attack technique: malicious packages published under names mimicking, misspelling, or reusing abandoned names of popular dependencies.

Current stories

securityConfirmed3 publishers

Lookalike yay and paru packages on the AUR ran a remote script as root

AUR user marchos1as uploaded typosquatted yay and paru packages whose install script ran a remote shell script as root, detected October 13. It is the third AUR malware campaign BleepingComputer lists, after June and July.

Perspective Coverage

3 publishers
Builder
Builder 25%
Operator
Operator 70%
Investor
Investor 5%

Reality

Evidence72
Adoption
Not scored
Hype gap+8
Incentives
Not scored
Confidence70
buildOne report1 publisher

Cargo's own yank warning steered builds to the poisoned arrayref 0.3.10

Malicious arrayref 0.3.10 was downloaded 2,285 times from crates.io in the 86 minutes before Rust's security response team deleted it on August 20. Lockfiles still pinned to 0.3.9 kept most builds away from its unsandboxed build-script payload.

Publishers:dev.to

Reality

Evidence62
Adoption18
Hype gap+8
Incentives
Not scored
Confidence60
buildOne report1 publisher

Code-writing LLMs repeat invented package names often enough for squatters to register them first

USENIX Security 2025 researchers found 19.7% of packages suggested by 16 LLMs were fake, and 43% of those names recurred on every re-run. Names that repeat can be registered ahead of time, so a team has to vet a suggested dependency before installing it, even when the install succeeds.

Publishers:dev.to

Reality

Evidence58
Adoption20
Hype gap+25
Incentives
Not scored
Confidence50
securityConfirmed6 publishers

A backdoor that fires at cargo build: the arrayref poisoning puts your build boxes in scope

Malicious versions of three Rust crates ran code at compile time on August 20. Wiz says the infrastructure overlaps with DPRK operations, so the campaign should be treated as live.

Perspective Coverage

6 publishers
Builder
Builder 45%
Operator
Operator 48%
Investor
Investor 7%

Reality

Evidence80
Adoption30
Hype gap+25
Incentives55
Confidence75
buildConfirmed6 publishers

cargo build stopped being a safe verb: arrayref 0.3.10 ran a payload at compile time

The Rust Security Response Team deleted proc-macro1 and arrayref 0.3.10 on August 20 after a build script fetched and launched a binary. The lure was a yank warning.

Publishers:blog.rust-lang.org dev.to lwn.net research.jfrog.com runtimewire.com rustsec.org socket.dev

Perspective Coverage

7 publishers
Builder
Builder 38%
Operator
Operator 54%
Investor
Investor 8%

Reality

Evidence86
Adoption15
Hype gap+35
Incentives60
Confidence82
buildOne report1 publisher

Graphalgo malware in a Terraform provider stays inert until two variables hash to one digest

Aikido found the Graphalgo campaign's Go port inside two Terraform providers, one of them a typosquat of kreuzwerker/docker. The payload decrypts only when containerName and networkID hash to a hardcoded SHA256.

Publishers:aikido.dev

Reality

Evidence68
Adoption
Not scored
Hype gap+12
Incentives62
Confidence61