-
Notifications
You must be signed in to change notification settings - Fork 319
Announce 2 more malicious crates #1762
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:another-crates-io-security-ann
Dec 5, 2025
+38
−0
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
38 changes: 38 additions & 0 deletions
38
content/crates.io-malicious-crates-finch-rust-and-sha-rust.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,38 @@ | ||
| +++ | ||
| path = "2025/12/05/crates.io-malicious-crates-finch-rust-and-sha-rust" | ||
| title = "crates.io: Malicious crates finch-rust and sha-rust" | ||
| authors = ["Carol Nichols and Adam Harvey"] | ||
|
|
||
| [extra] | ||
| team = "the crates.io team" | ||
| team_url = "https://www.rust-lang.org/governance/teams/dev-tools#team-crates-io" | ||
| +++ | ||
|
|
||
| ## Summary | ||
|
|
||
| On December 5th, the crates.io team was notified by Kush Pandya from the [Socket Threat Research Team][socket] of two malicious crates which were trying to cause confusion with the existing `finch` crate but adding a dependency on a malicious crate doing data exfiltration. | ||
|
|
||
| These crates were: | ||
| - `finch-rust` - 1 version published November 25, 2025, downloaded 28 times, used `sha-rust` as a dependency | ||
| - `sha-rust` - 8 versions published between November 20 and November 25, 2025, downloaded 153 times | ||
|
|
||
| ## Actions taken | ||
|
|
||
| The user in question, `face-lessssss`, 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 15:52 UTC on December 5th. | ||
|
|
||
| We reported the associated repositories to GitHub and the account has been removed there as well. | ||
|
|
||
| ## Analysis | ||
|
|
||
| [Socket has published their analysis in a blog post](https://socket.dev/blog/malicious-crate-mimicking-finch-exfiltrates-credentials). | ||
|
|
||
| These crates had no dependent downstream crates on crates.io, and there is no evidence of either of these crates being downloaded outside of automated mirroring and scanning services. | ||
|
|
||
| ## Thanks | ||
|
|
||
| Our thanks to Kush Pandya from the [Socket Threat Research Team][socket] for reporting the crates. We also want to thank Carol Nichols from the crates.io team 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.