{"package":"rand","ecosystem":"cargo","latest_version":"0.8.6","description":"Random number generators and other randomness functionality.\n","license":"MIT OR Apache-2.0","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://rust-random.github.io/book","repository":"https://github.com/rust-random/rand","downloads_weekly":283510218,"health":{"score":90,"risk":"low","breakdown":{"maintenance":25,"popularity":20,"security":25,"maturity":15,"community":5,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"0.8.6","total_count":89,"recent":["0.8.6","0.9.4","0.10.1","0.9.3","0.10.0","0.10.0-rc.9","0.10.0-rc.8","0.10.0-rc.7","0.10.0-rc.6","0.10.0-rc.5","0.10.0-rc.1","0.10.0-rc.0","0.9.2","0.9.1","0.9.0","0.9.0-beta.3","0.9.0-beta.1","0.9.0-beta.0","0.9.0-alpha.2","0.9.0-alpha.1"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":0,"first_published":"2015-02-03T06:17:14.147783Z","last_published":"2026-04-17T06:42:26.145591Z","dependencies_count":0,"dependencies":[]},"github_stats":{"stars":2041,"forks":500,"open_issues":21,"is_archived":false,"pushed_at":"2026-05-30T14:24:02Z","subscribers_count":24},"bundle":null,"typescript":null,"known_issues":{"bugs_count":2,"bugs_severity":{"medium":1,"low":1},"status_breakdown":{"fixed":2},"link":"/api/bugs/cargo/rand","scope":"all","details":[{"title":"Rand is unsound with a custom logger using `rand::rng()`","severity":"medium","status":"fixed","affected_version":"0.10.0","fixed_version":"0.10.1","url":"https://crates.io/crates/rand"},{"title":"Rand is unsound with a custom logger using rand::rng()","severity":"low","status":"fixed","affected_version":"0.7.0","fixed_version":"0.9.3","url":"https://github.com/rust-random/rand/pull/1763"}]},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"0.8.6","version_hint":null,"summary":"rand@0.8.6 is safe to use (health: 90/100)","alternatives":[{"name":"fastrand","reason":"fastrand is tiny and fine for non-crypto use","builtin":false}]},"version_scoped":null,"_meta":{"endpoint":"check","tier":"full","philosophy":"DepScope is free. Use the cheapest endpoint that answers your real question.","cheaper_alternatives":[{"endpoint":"/api/exists/cargo/rand","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/cargo/rand","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/cargo/rand","tokens_estimated":280,"use_when":"you want a plain-text LLM-friendly brief instead of JSON"},{"endpoint":"POST /api/check_bulk","tokens_estimated":60,"use_when":"you have 5+ packages to check; sends one round-trip instead of N"}],"docs":"https://depscope.dev/integrate","hint_bulk":"You've called /api/check 99 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"hit","_response_ms":0,"_powered_by":"depscope.dev — free package intelligence for AI agents","typosquat":{"is_suspected":false},"maintainer_trust":{"available":true,"bus_factor_3m":7,"active_contributors_12m":8,"primary_author_ratio":0.71,"owner_account_age_days":2823,"is_archived":false,"stars":2025,"alerts":[]},"malicious":{"is_malicious":false},"scorecard":{"available":true,"score":6.1,"tier":"moderate"},"quality":{"available":true,"criticality_score":0.775,"criticality_tier":"critical","velocity_pct":4.3,"velocity_trend":"stable","publish_security":null},"breaking_changes_link":{"url":"/api/breaking/cargo/rand","count":24,"hint":"Use this endpoint to get version-pair breaking changes + migration hints."},"alternatives_link":{"url":"/api/alternatives/cargo/rand","count":1},"co_used_with":[{"package":"IO::Compress::Base","occurrences":8}],"version_history_summary":{"total_versions":20,"first_release_age_days":4137,"last_release_days_ago":46,"avg_days_between_releases":218,"release_velocity":"active"}}