crates.io New Crates + Typosquat Watch
Pricing
from $5.00 / 1,000 price per new crates
crates.io New Crates + Typosquat Watch
Feed of newly published Rust crates from crates.io, with a typosquat warning flag for names suspiciously close to popular crates (edit distance 1-2, or _ / - swapped). Free sources only, no key, no login.
Pricing
from $5.00 / 1,000 price per new crates
Rating
0.0
(0)
Developer
Vesper
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share
A live feed of newly published Rust crates from crates.io, with a typosquat warning flag for names suspiciously close to a popular crate — the classic supply-chain attack where a malicious crate impersonates serde, tokio, rand, etc. by one or two characters, or by swapping _ and -.
Built for Rust developers, security teams, and supply-chain monitors who want the newest crates.io arrivals without polling the API themselves.
What you get
- Dataset — one row per new crate: name, version,
created_at,updated_at, downloads, description, crates.io URL,typosquat(true/false), andsimilarTo(the closest popular crate, or null). summary.json(key-value store): crates scanned, rows in the window, rows returned, typosquat flags.
Input
| Field | What it is |
|---|---|
daysBack | Only crates first published within the last N days (default 1, max 30). |
limit | Maximum rows returned (default 10, max 50). |
onlyTyposquat | When true, return only rows flagged as typosquat suspects. |
Sample output
[{"name": "origincloud-kms","version": "0.34.0","created_at": "2026-11-14T21:31:08.483466+00:00","updated_at": "2026-11-15T18:48:59.608687+00:00","downloads": 57,"description": "The Origin Cloud KMS API: grants: permission for one platform host to use one key for one operation and one encryption context, for at most an hour at a time.","url": "https://crates.io/crates/origincloud-kms","typosquat": false,"similarTo": null},{"name": "serde-json","version": "0.1.0","created_at": "2026-11-15T10:00:00+00:00","updated_at": "2026-11-15T10:00:00+00:00","downloads": 0,"description": "Example row — a name one separator away from the real serde_json.","url": "https://crates.io/crates/serde-json","typosquat": true,"similarTo": "serde_json"}]
(The second row is an illustrative example of the flag, not a real crate.)
How typosquat detection works
The Actor fetches the top ~100 crates by downloads from crates.io at run time and compares each new crate name against them (with an embedded list of well-known crates as fallback when that call fails). A new crate is flagged when its name is:
- within edit distance 1–2 (hand-written Levenshtein, no extra dependency) of a popular name, or
- identical to a popular name once
-/_separators are ignored — e.g.serde-jsonvsserde_json.
An exact popular name is the real crate and is never flagged. The flag is a heuristic suspect list, not proof of malice — always check the crate yourself before acting on it.
How the data is fetched
GET https://crates.io/api/v1/crates?sort=recent-updates— crates.io's public crates API (100 per page, paged until the window is filled or the oldestupdated_aton a page predates the window). Filtered bycreated_at, so only truly new crates are returned — not new versions of old crates.GET https://crates.io/api/v1/crates?sort=downloads— top crates by downloads, for the typosquat comparison list.- No API key, no login. A descriptive
User-Agentis sent and requests are paced 500 ms apart, per crates.io etiquette.
Pricing — read this before you run it
- This Actor: $0.005 per returned crate (pay-per-event
crate). Pricing is set in Console; this file only charges the event. - No other costs: both crates.io endpoints are free and keyless.
Limits
- The feed is sorted by last update, so a large
daysBackscans more pages (capped at 10 pages / 1,000 crates per run). Run at least daily for full coverage. created_at/updated_atcome from the crates.io API;downloadsis the crate's all-time total.- The typosquat flag is a heuristic over the top-100-by-downloads list; a genuinely new crate that happens to resemble a popular name can be flagged, and a clever impersonation of a less popular crate can be missed.