# paralleldrive/cuid

Deprecated collision-resistant id spec. Insecure because it leaks timestamps. Use cuid2 instead.

Repository: https://github.com/paralleldrive/cuid
Canonical: https://ross.abutalabs.com/products/cuid
Homepage: https://usecuid.org
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2026-08-26T18:45:41+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 5115, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3503, forks 118 (observed 2026-08-28T04:08:07.582005+00:00)

## What it is
A deprecated JavaScript library for generating collision-resistant unique IDs optimized for horizontal scaling. It is insecure because it leaks timestamps and other information, and users should use its successor cuid2 instead.

## Use cases
- generate unique ids for database records
- collision-resistant identifiers for horizontal scaling
- unique html element ids
- short random id generator for javascript
- migrate from cuid to cuid2

## When to choose
- maintaining legacy code that already depends on cuid
- studying the original cuid id format and its security flaws

## When to avoid
- starting any new project - it is deprecated and insecure
- generating ids that must not leak timestamps or be guessable
- security-sensitive use cases like password reset tokens or access-controlled resource ids

## Facets
- artifact type: library
- maturity: abandoned
- function: security, developer-tools
- domain: developer-tools, security, web-development
- platform: browser, cross-platform
- tags: unique-ids, identifiers, deprecated, collision-resistant, cuid2-successor, nodejs

## Member repositories
- paralleldrive/cuid (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:07.582005+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:35:47.273516+00:00, confidence not recorded.
  - readme: https://github.com/paralleldrive/cuid (fetched 2026-08-28T04:08:07.582005+00:00, sha 52ea9d3d15b6)
  - homepage: https://usecuid.org (fetched 2026-08-29T09:30:00.393402+00:00, sha f325fa5ffb4d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
