{"id":2221452,"name":"random-bytes-readable-stream","ecosystem":"npm","description":"Creates a readable stream producing cryptographically strong pseudo-random data using `crypto.randomBytes()`","homepage":"https://github.com/sindresorhus/random-bytes-readable-stream#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/sindresorhus/random-bytes-readable-stream","keywords_array":["random","bytes","readable","stream","readablestream","buffer","crypto","cryptography","pseudo-random","urandom"],"namespace":null,"versions_count":4,"first_release_published_at":"2018-07-25T04:32:15.033Z","latest_release_published_at":"2021-08-12T11:32:03.944Z","latest_release_number":"3.0.0","last_synced_at":"2026-09-02T12:20:23.284Z","created_at":"2022-04-09T22:41:42.781Z","updated_at":"2026-09-03T07:57:37.731Z","registry_url":"https://www.npmjs.com/package/random-bytes-readable-stream","install_command":"npm install random-bytes-readable-stream","documentation_url":null,"metadata":{"funding":"https://github.com/sponsors/sindresorhus","dist-tags":{"latest":"3.0.0"},"contentPolicy":null},"repo_metadata":{"id":55421763,"uuid":"142246289","full_name":"sindresorhus/random-bytes-readable-stream","owner":"sindresorhus","description":"Creates a readable stream producing cryptographically strong pseudo-random data using `crypto.randomBytes()`","archived":false,"fork":false,"pushed_at":"2021-08-12T11:32:09.000Z","size":10,"stargazers_count":77,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-08-05T05:13:15.616Z","etag":null,"topics":["crypto","nodejs","nodejs-stream","npm-package","pseudo-random-generator","random","random-bytes","readable-stream"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sindresorhus.png","metadata":{"funding":{"github":"sindresorhus","open_collective":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"created_at":"2018-07-25T04:12:43.000Z","updated_at":"2026-04-23T11:51:24.000Z","dependencies_parsed_at":"2022-08-15T00:00:39.221Z","dependency_job_id":null,"html_url":"https://github.com/sindresorhus/random-bytes-readable-stream","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/sindresorhus/random-bytes-readable-stream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Frandom-bytes-readable-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Frandom-bytes-readable-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Frandom-bytes-readable-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Frandom-bytes-readable-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/random-bytes-readable-stream/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Frandom-bytes-readable-stream/sbom","scorecard":{"id":826755,"data":{"date":"2025-08-11","repo":{"name":"github.com/sindresorhus/random-bytes-readable-stream","commit":"70d2c83d6cf62b69b55b7a4182de36824775cf1d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 3/11 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/sindresorhus/random-bytes-readable-stream/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/sindresorhus/random-bytes-readable-stream/main.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/main.yml:20","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license:0","Info: FSF or OSI recognized license: MIT License: license:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T16:46:25.266Z","repository_id":55421763,"created_at":"2025-08-23T16:46:25.266Z","updated_at":"2025-08-23T16:46:25.266Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":37019012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-02T02:00:06.194Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"sindresorhus","name":"Sindre Sorhus","uuid":"170270","kind":"user","description":"Full-Time Open-Sourcerer. Focused on Swift \u0026 JavaScript. Makes macOS apps, CLI tools, npm packages.","email":"","website":"https://sindresorhus.com/apps","location":null,"twitter":"sindresorhus","company":null,"icon_url":"https://avatars.githubusercontent.com/u/170270?u=34acd557a042ac478d273a4621570cadb6b0bd89\u0026v=4","repositories_count":1111,"last_synced_at":"2024-10-29T21:14:09.635Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/sindresorhus","funding_links":["https://github.com/sponsors/sindresorhus"],"total_stars":852379,"followers":69513,"following":31,"created_at":"2022-11-02T16:18:52.881Z","updated_at":"2024-10-29T21:14:09.636Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus/repositories"},"tags":[{"name":"v3.0.0","sha":"70d2c83d6cf62b69b55b7a4182de36824775cf1d","kind":"tag","published_at":"2021-08-12T11:28:54.000Z","download_url":"https://codeload.github.com/sindresorhus/random-bytes-readable-stream/tar.gz/v3.0.0","html_url":"https://github.com/sindresorhus/random-bytes-readable-stream/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/random-bytes-readable-stream@v3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Frandom-bytes-readable-stream/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Frandom-bytes-readable-stream/tags/v3.0.0/manifests"},{"name":"v2.1.0","sha":"8a3d6d83c9d57479f10b4960fca69f47c4dea550","kind":"tag","published_at":"2019-04-05T06:54:45.000Z","download_url":"https://codeload.github.com/sindresorhus/random-bytes-readable-stream/tar.gz/v2.1.0","html_url":"https://github.com/sindresorhus/random-bytes-readable-stream/releases/tag/v2.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/random-bytes-readable-stream@v2.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Frandom-bytes-readable-stream/tags/v2.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Frandom-bytes-readable-stream/tags/v2.1.0/manifests"},{"name":"v2.0.0","sha":"836678f1f92e8e92d614bd1650759be456f68b67","kind":"tag","published_at":"2019-03-10T16:28:35.000Z","download_url":"https://codeload.github.com/sindresorhus/random-bytes-readable-stream/tar.gz/v2.0.0","html_url":"https://github.com/sindresorhus/random-bytes-readable-stream/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/random-bytes-readable-stream@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Frandom-bytes-readable-stream/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Frandom-bytes-readable-stream/tags/v2.0.0/manifests"},{"name":"v1.0.0","sha":"22260cc74fc9e99df5a738ec8cff9160b5ecfdce","kind":"tag","published_at":"2018-07-25T04:31:32.000Z","download_url":"https://codeload.github.com/sindresorhus/random-bytes-readable-stream/tar.gz/v1.0.0","html_url":"https://github.com/sindresorhus/random-bytes-readable-stream/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/random-bytes-readable-stream@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Frandom-bytes-readable-stream/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Frandom-bytes-readable-stream/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-09-03T07:57:37.731Z","dependent_packages_count":9,"downloads":6702,"downloads_period":"last-month","dependent_repos_count":5,"rankings":{"downloads":3.448001134377417,"dependent_repos_count":5.258854966597271,"dependent_packages_count":2.19906348650202,"stargazers_count":5.474266405495526,"forks_count":10.132837084493959,"docker_downloads_count":null,"average":5.302604615493239},"purl":"pkg:npm/random-bytes-readable-stream","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/random-bytes-readable-stream","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/random-bytes-readable-stream","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/random-bytes-readable-stream/dependencies","status":null,"funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://sindresorhus.com/donate"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-10T19:59:08.422Z","issues_count":2,"pull_requests_count":3,"avg_time_to_close_issue":162795.0,"avg_time_to_close_pull_request":68348.0,"issues_closed_count":2,"pull_requests_closed_count":3,"pull_request_authors_count":2,"issue_authors_count":2,"avg_comments_per_issue":1.5,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Frandom-bytes-readable-stream/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/random-bytes-readable-stream/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/random-bytes-readable-stream/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/random-bytes-readable-stream/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/random-bytes-readable-stream/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/random-bytes-readable-stream/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/random-bytes-readable-stream/codemeta","maintainers":[{"uuid":"sindresorhus","login":"sindresorhus","name":null,"email":"sindresorhus@gmail.com","url":null,"packages_count":1296,"html_url":"https://www.npmjs.com/~sindresorhus","role":null,"created_at":"2022-11-13T23:41:55.911Z","updated_at":"2022-11-13T23:41:55.911Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/sindresorhus/packages"}]}