npm package

nanoid 6.0.2: no known vulnerabilities

nanoid 6.0.2 has no known vulnerabilities in OSV.dev.

npm (opens in a new tab) describes it as “A tiny (117 bytes), secure URL-friendly unique string ID generator”

Known vulnerabilities
0
None in OSV.dev
Released
Oct 5, 2026
The latest release
Downloads last week
2M
Under 1% of nanoid downloads
Licence
MIT
OpenSSF Scorecard
6.5/10
ai/nanoid (opens in a new tab)
Dependencies
None
Resolved by deps.dev

Newer releases

6.0.2 is the latest release of nanoid.

Who is still on a vulnerable nanoid

42% of last week’s 273.5M nanoid downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is nanoid the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly nanoid 6.0.2, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev and deps.dev.