Generate a cryptographically strong random string
sindresorhus/crypto-random-string holds a health index of 63 out of 100, placing it in the Moderate band. It scores highest on Community & Adoption (80/100) and lowest on AI Readiness (18/100). It was last updated 12 days ago. A single contributor accounts for most of its recent work.
Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.
Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.
The weighted overall 59 is calibrated to 63 on the published index scale (record calibration 2026-08-02).
This repository is owned by a personal account. A single-owner project carries more continuity risk than an organization-backed one.
| Registry | Package | Version | Downloads / mo | Versions | Last publish | Tags |
|---|---|---|---|---|---|---|
| npm | crypto-random-string | 6.0.0 | 112,236,560 | 11 | 12 days ago | randomstringtextididentifierslugsaltpincryptostrongsecurehexsecretprotect |
Is the project alive — is code being written and are releases shipping?
| 28.8/36 | Push recency — last push 12 days ago |
| 0.7/36 | Commit cadence — 1/52 weeks with commits |
| 6.3/18 | Commit volume — 4 commits in the last year |
| 3/10 | OpenSSF Scorecard: Maintained — 4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3 |
| commits_last_year | 4 |
| human_commit_share | 1 |
| days_since_last_push | 12 |
| active_weeks_last_year | 1 |
| 27/27 | Ships releases — 10 releases published |
| 36/36 | Release recency — latest release 12 days ago |
| 12.6/27 | Release cadence — a release every ~295.8 days |
| 0/10 | OpenSSF Scorecard: Signed-Releases — no data |
| releases_count | 10 |
| latest_release_tag | v6.0.0 |
| releases_from_tags | no |
| days_since_latest_release | 12 |
| mean_days_between_releases | 295.8 |
Does the project have users, downloads, attention, and a welcoming setup for contributors?
| 44.9/60 | Stars — 587 stars |
| 13.4/25 | Forks — 42 forks |
| 4.3/15 | Watchers — 7 watchers |
| forks | 42 |
| stars | 587 |
| watchers | 7 |
| growth_state | unverified |
| growth_factor_pct | 100 |
| growth_unverified_reason | no_history |
| 22.5/22.5 | README |
| 22.5/22.5 | License — recognized license (MIT) |
| 18/18 | CONTRIBUTING guide |
| 13.5/13.5 | Code of conduct |
| 0/7.2 | Issue template |
| 0/6.3 | PR template |
| has_readme | yes |
| has_license | yes |
| readme_badges | 0 |
| has_contributing | yes |
| has_issue_template | no |
| has_code_of_conduct | yes |
| readme_badge_services | — |
| has_pull_request_template | no |
| 80/80 | Monthly downloads — 112,236,560 downloads/month across npm |
| 0/20 | Registry dependents — not reported by this ecosystem |
| packages | crypto-random-string |
| dependents | — |
| ecosystems | npm |
| total_downloads | — |
| monthly_downloads | 112,236,560 |
Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?
| 9/54 | Bus factor — 1 contributor(s) cover half of all commits |
| 9.4/22.5 | Commit distribution — top contributor authored 58% of commits |
| 9.5/13.5 | Contributor breadth — 7 contributors |
| 10/10 | OpenSSF Scorecard: Contributors — project has 18 contributing companies or organizations |
| bus_factor | 1 |
| contributors_sampled | 7 |
| top_contributor_share | 0.583 |
| 42/42 | Issue resolution — 100% of issues closed |
| 20/30 | PR acceptance — 16/24 decided PRs merged |
| 0/13 | Newcomer PR acceptance — no first-time contributor's PR decided in 30d |
| 6/15 | OpenSSF Scorecard: Code-Review — Found 14/30 approved changesets -- score normalized to 4 |
| merged_prs | 16 |
| open_issues | 0 |
| closed_issues | 26 |
| prs_merged_7d | 0 |
| prs_decided_7d | 0 |
| prs_merged_30d | 2 |
| prs_decided_30d | 2 |
| issue_closed_ratio | 1 |
| closed_unmerged_prs | 8 |
| first_time_authors_30d | 0 |
| first_time_prs_merged_30d | 0 |
| first_time_prs_decided_30d | 0 |
| 10/30 | Ownership backing — personal (user) account |
| 0/20 | Verified domain — not applicable to user accounts |
| 25/25 | Owner reach — 80,764 followers of sindresorhus |
| 25/25 | Track record — 1,141 public repos, account ~16 yr old |
| followers | 80,764 |
| owner_type | User |
| is_verified | — |
| owner_login | sindresorhus |
| public_repos | 1,141 |
| account_age_days | 6,070 |
| 25/25 | Published & resolvable — 1 package(s) on npm |
| 35/35 | Publish recency — latest publish 12 days ago |
| 20/20 | Version history — 11 published versions |
| 20/20 | Not deprecated — active, not deprecated or yanked |
| packages | crypto-random-string |
| ecosystems | npm |
| any_deprecated | no |
| min_days_since_publish | 12 |
Are baseline engineering and documentation practices in place?
| 24/24 | CI workflows — 1 workflow(s) |
| 0/24 | Tests present |
| 0/16 | Linter config |
| 0/9.6 | Pre-commit hooks |
| 6.4/6.4 | .editorconfig |
| 2/20 | OpenSSF Scorecard: CI-Tests — 2 out of 14 merged PRs checked by a CI test -- score normalized to 1 |
| has_ci | yes |
| has_tests | no |
| has_editorconfig | yes |
| has_linter_config | no |
| has_precommit_config | no |
| 30/30 | README |
| 0/25 | Documentation directory |
| 0/15 | Documentation / homepage site |
| 10/10 | Repository description |
| 10/10 | Topics — 6 topics |
| 0/10 | Wiki |
| topics | random, crypto, random-string, random-string-generators, javascript, npm-package |
| has_wiki | no |
| homepage | — |
| has_readme | yes |
| has_docs_dir | no |
| has_description | yes |
Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?
| 7.5/7.5 | Binary-Artifacts — no binaries found in the repo |
| 0/7.5 | Branch-Protection — branch protection not enabled on development/release branches |
| 0.2/2.5 | CI-Tests — 2 out of 14 merged PRs checked by a CI test -- score normalized to 1 |
| 0/2.5 | CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected |
| 3/7.5 | Code-Review — Found 14/30 approved changesets -- score normalized to 4 |
| 2.5/2.5 | Contributors — project has 18 contributing companies or organizations |
| 10/10 | Dangerous-Workflow — no dangerous workflow patterns detected |
| 0/7.5 | Dependency-Update-Tool — no update tool detected |
| 0/5 | Fuzzing — project is not fuzzed |
| 2.5/2.5 | License — license file detected |
| 2.2/7.5 | Maintained — 4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3 |
| 0/5 | Packaging — no data |
| 0/5 | Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0 |
| 0/5 | SAST — SAST tool is not run on all commits -- score normalized to 0 |
| 5/5 | Security-Policy — security policy file detected |
| 0/7.5 | Signed-Releases — no data |
| 0/7.5 | Token-Permissions — detected GitHub workflow tokens with excessive permissions |
| 7.5/7.5 | Vulnerabilities — 0 existing vulnerabilities detected |
| source | openssf_scorecard |
| checks_evaluated | 16 |
| scorecard_version | v5.5.0 |
| checks_inconclusive | 2 |
| scorecard_aggregate | 4.4 |
| 35/35 | Direct dependencies free of known advisories — no direct dependency carries a known advisory |
| 25/25 | Indirect dependencies free of known advisories — no indirect dependency carries a known advisory |
| 0/40 | No advisories left outstanding — no advisory carries a publication date |
| source | osv |
| advisories | 0 |
| affected_packages | 0 |
| assessed_packages | 3 |
| unassessed_packages | 0 |
| affected_by_severity | none |
| direct_affected_packages | 0 |
How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.
| 0/45 | Agent instructions — no CLAUDE.md / AGENTS.md / editor rules |
| 0/15 | Machine-readable docs (llms.txt) |
| 23.1/40 | Legible commit history — 16 of 37 human commits state their intent (structured subject or explanatory body) |
| has_llms_txt | no |
| legible_history_share | 0.432 |
| agent_instruction_files | — |
| agent_instruction_max_bytes | — |
| 0/18 | One-command bootstrap |
| 0/22 | Automated tests |
| 0/11 | Lint / format config |
| 0/11 | Static type checking |
| 0/10 | Reproducible environment |
| 0/10 | Demonstrated agent practice — no agent-authored commits among the last 37 |
| 0/8 | Automated maintenance — no automated dependency updates observed |
| 0/10 | OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0 |
| has_nix | no |
| has_tests | no |
| lockfiles | — |
| has_dockerfile | no |
| typed_language | no |
| bootstrap_files | — |
| has_devcontainer | no |
| has_linter_config | no |
| typecheck_configs | — |
| agent_commit_share | 0 |
| toolchain_manifests | — |
| dependency_bot_commit_share | 0 |
| 0/45 | Type-checkable code — JavaScript without a type-check config |
| 55/55 | Manageable file sizes — 0/4 source files over 60KB |
| primary_language | JavaScript |
| largest_source_bytes | 8,764 |
| source_files_sampled | 4 |
| oversized_source_files | 0 |
When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.
Each point covers 8 days.
Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).
| 10 | Binary-Artifacts | no binaries found in the repo |
| 0 | Branch-Protection | branch protection not enabled on development/release branches |
| 1 | CI-Tests | 2 out of 14 merged PRs checked by a CI test -- score normalized to 1 |
| 0 | CII-Best-Practices | no effort to earn an OpenSSF best practices badge detected |
| 4 | Code-Review | Found 14/30 approved changesets -- score normalized to 4 |
| 10 | Contributors | project has 18 contributing companies or organizations |
| 10 | Dangerous-Workflow | no dangerous workflow patterns detected |
| 0 | Dependency-Update-Tool | no update tool detected |
| 0 | Fuzzing | project is not fuzzed |
| 10 | License | license file detected |
| 3 | Maintained | 4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3 |
| n/a | Packaging | packaging workflow not detected |
| 0 | Pinned-Dependencies | dependency not pinned by hash detected -- score normalized to 0 |
| 0 | SAST | SAST tool is not run on all commits -- score normalized to 0 |
| 10 | Security-Policy | security policy file detected |
| n/a | Signed-Releases | no releases found |
| 0 | Token-Permissions | detected GitHub workflow tokens with excessive permissions |
| 10 | Vulnerabilities | 0 existing vulnerabilities detected |
| Registry | Package | Version constraint | Manifest |
|---|---|---|---|
| npm | type-fest | ^5.8.0 | package.json |
| npm | uint8array-extras | ^1.5.0 | package.json |
Full resolved dependency set from the GitHub dependency graph: 2 direct and 3 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.
| Registry | Package | Version | Relation |
|---|---|---|---|
| npm | type-fest | ^5.8.0 | direct |
| npm | uint8array-extras | ^1.5.0 | direct |
| npm | ava | ^8.0.1 | indirect |
| npm | tsd | ^0.33.0 | indirect |
| npm | xo | ^4.0.0 | indirect |
Installing npm:crypto-random-string@6.0.0 pulls in 3 packages, direct and transitive: 0 carry known advisories, of which 0 are direct dependencies.
No known advisories affect the assessed dependencies.
An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.
Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.
Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.5.0, schema v0.31.0 — full methodology · metrics wiki.
How one result sits in the wider record: aggregate statistics — npm.