Polymarket SDK typosquats on crates.io
Three crates impersonating polymarket-client-sdk were published between 5 and 19 February 2026 and exfiltrated local credential files. The malicious crates were yanked and publisher accounts disabled. Combined downloads stayed under 100, but targeting was high-value (Polymarket / Web3 developers).
Published 5 Feb 2026
Every version named by the advisory is in the scanner, so a lockfile check finds it directly.
- Severity
- Medium
- Type
- Typosquat
- Published
- 5 Feb 2026
- Ecosystems
- crates.io
- Detected by
- RustSec
- Source
- rustsec.org
Typosquat. A package that never had a legitimate version, named to be mistaken for a real one - a misspelling, a lookalike scope, or an impersonated vendor SDK.
The full picture
Between February 5 and 19, 2026, three crates impersonating the real Polymarket Rust SDK were published to crates.io: polymarket-clients-sdk (extra "s" before the dash), polymarket-client-sdks (extra "s" at the end), and polymarkets-client-sdk (extra "s" on the first segment). All three lifted documentation from the legitimate package to look credible at install time.
On run, each crate walks the local filesystem for credential files - .aws/credentials, .npmrc, id_rsa, environment files - and posts them to attacker infrastructure. RustSec yanked the crates and disabled the publishing accounts. Combined downloads stayed under 100 across all three, so the absolute exposure is small, but the targeting is deliberate: only Polymarket / Web3 developers would search for that exact package name.
The broader pattern - typosquats of niche, high-value ecosystem clients - is now common enough on crates.io that any project resolving Web3 SDK dependencies should pin to known-good versions and run cargo-audit against the RustSec advisory database in CI.
3 packages 0 versions
These are usually pulled in as transitive dependencies rather than installed directly. Check your whole tree at once. It runs in your browser and nothing is uploaded.
What it does if you installed it
- Targeted Polymarket/Web3 developers via deliberate typosquats
- Local credential-file theft from build/dev systems
- Low total downloads but high-value targets
Clean-up steps
- Audit Cargo.toml + Cargo.lock for the typosquatted names
- Rotate credentials present on any host that built with these crates
- Run
cargo-auditagainst the RustSec advisory DB in CI
Sources
Check your lockfile against this and every other incident.
Paste a lockfile and it is matched on your own device against every compromised version we track. Nothing is uploaded and there is no account.