-
Notifications
You must be signed in to change notification settings - Fork 320
Malicious crates announcement #1758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
carols10cents
merged 2 commits into
rust-lang:main
from
integer32llc:crates-io-security-ann
Dec 3, 2025
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
content/crates.io-malicious-crates-evm-units-and-uniswap-utils.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| +++ | ||
| path = "2025/12/03/crates.io-malicious-crates-evm-units-and-uniswap-utils" | ||
| title = "crates.io: Malicious crates evm-units and uniswap-utils" | ||
| authors = ["Walter Pearce"] | ||
|
|
||
| [extra] | ||
| team = "the crates.io team" | ||
| team_url = "https://www.rust-lang.org/governance/teams/dev-tools#team-crates-io" | ||
| +++ | ||
|
|
||
| ## Summary | ||
|
|
||
| On December 2nd, the crates.io team was notified by Olivia Brown from the [Socket Threat Research Team][socket] of two malicious crates which were downloading a payload that was likely attempting to steal cryptocurrency. | ||
|
|
||
| These crates were: | ||
|
|
||
| - `evm-units` - 13 versions published in April 2025, downloaded 7257 times | ||
| - `uniswap-utils` - 14 versions published in April 2025, downloaded 7441 times, used `evm-units` as a dependency | ||
|
|
||
| ## Actions taken | ||
|
|
||
| The user in question, `ablerust`, was immediately disabled, and the crates in question were deleted from crates.io shortly after. We have retained the malicious crate files for further analysis. | ||
|
|
||
| The deletions were performed at 22:01 UTC on December 2nd. | ||
|
|
||
| ## Analysis | ||
|
|
||
| [Socket has published their analysis in a blog post](https://socket.dev/blog/malicious-rust-crate-evm-units-serves-cross-platform-payloads). | ||
|
|
||
| These crates had no dependent downstream crates on crates.io. | ||
|
|
||
| ## Thanks | ||
|
|
||
| Our thanks to Olivia Brown from the [Socket Threat Research Team][socket] for reporting the crates. We also want to thank Carol Nichols from the crates.io team and Walter Pearce and Adam Harvey from the [Rust Foundation](foundation) for aiding in the response. | ||
|
|
||
| [foundation]: https://foundation.rust-lang.org/ | ||
| [socket]: https://www.socket.dev/ | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.