{"id":2516208,"name":"validate-github-token","ecosystem":"npm","description":"Validation for GitHub API token","homepage":"https://github.com/rhysd/validate-github-token#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/rhysd/validate-github-token","keywords_array":["validation","github","api","auth"],"namespace":null,"versions_count":6,"first_release_published_at":"2020-01-29T03:46:05.924Z","latest_release_published_at":"2022-06-23T11:58:29.820Z","latest_release_number":"1.1.2","last_synced_at":"2026-04-10T15:31:00.229Z","created_at":"2022-04-10T02:54:03.895Z","updated_at":"2026-04-10T15:31:00.229Z","registry_url":"https://www.npmjs.com/package/validate-github-token","install_command":"npm install validate-github-token","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.1.2"}},"repo_metadata":{"id":38127492,"uuid":"236955631","full_name":"rhysd/validate-github-token","owner":"rhysd","description":"Tiny npm package to validate a GitHub API token","archived":false,"fork":false,"pushed_at":"2023-07-18T20:45:08.000Z","size":273,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-03T11:29:57.150Z","etag":null,"topics":["github-api","npm","validate"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/validate-github-token","language":"TypeScript","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/rhysd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-29T10:21:37.000Z","updated_at":"2025-02-06T14:21:32.000Z","dependencies_parsed_at":"2024-10-18T19:01:00.467Z","dependency_job_id":"2c6599de-8355-40da-b434-eac544a1a169","html_url":"https://github.com/rhysd/validate-github-token","commit_stats":{"total_commits":49,"total_committers":3,"mean_commits":"16.333333333333332","dds":"0.18367346938775508","last_synced_commit":"0864d256e73ff218d8f48c83ec3d53009bd33675"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/rhysd/validate-github-token","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fvalidate-github-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fvalidate-github-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fvalidate-github-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fvalidate-github-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhysd","download_url":"https://codeload.github.com/rhysd/validate-github-token/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fvalidate-github-token/sbom","scorecard":{"id":774615,"data":{"date":"2025-08-11","repo":{"name":"github.com/rhysd/validate-github-token","commit":"0864d256e73ff218d8f48c83ec3d53009bd33675"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 1/17 approved changesets -- score normalized to 0","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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":"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":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/rhysd/validate-github-token/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/rhysd/validate-github-token/ci.yml/master?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/ci.yml:21","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned","Info:   0 out of   1 downloadThenRun 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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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 'master'"],"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 14 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"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T03:12:18.382Z","repository_id":38127492,"created_at":"2025-08-23T03:12:18.382Z","updated_at":"2025-08-23T03:12:18.382Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30240354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"ssl_error","status_checked_at":"2026-03-08T00:55:48.608Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"rhysd","name":"Linda_pp","uuid":"823277","kind":"user","description":"A dog enjoying software development (with bugs)","email":"","website":"https://rhysd.github.io/","location":"Tokyo, Japan","twitter":null,"company":"c488a14ae5b1d261beb94113b65c2197d1255ab50a88f7c6face387948dc3ada","icon_url":"https://avatars.githubusercontent.com/u/823277?u=2bd448fd47ffdb80a92e49b497332c9a499e436c\u0026v=4","repositories_count":565,"last_synced_at":"2024-04-14T17:22:15.441Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/rhysd","funding_links":[],"total_stars":27375,"followers":1722,"following":31,"created_at":"2022-11-02T16:24:19.807Z","updated_at":"2024-04-14T17:24:07.622Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhysd","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhysd/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-03-08T01:16:35.462Z","dependent_packages_count":1,"downloads":173,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":23.940598379996718,"dependent_repos_count":10.340532343810322,"dependent_packages_count":20.981644393120014,"stargazers_count":13.168162046500642,"forks_count":9.84983769086612,"docker_downloads_count":null,"average":15.656154970858761},"purl":"pkg:npm/validate-github-token","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/validate-github-token","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/validate-github-token","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/validate-github-token/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-25T21:30:35.409Z","issues_count":2,"pull_requests_count":14,"avg_time_to_close_issue":164919.0,"avg_time_to_close_pull_request":1885792.2307692308,"issues_closed_count":2,"pull_requests_closed_count":13,"pull_request_authors_count":2,"issue_authors_count":1,"avg_comments_per_issue":2.5,"avg_comments_per_pull_request":0.2857142857142857,"merged_pull_requests_count":9,"bot_issues_count":0,"bot_pull_requests_count":13,"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/rhysd%2Fvalidate-github-token/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/validate-github-token/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/validate-github-token/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/validate-github-token/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/validate-github-token/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/validate-github-token/codemeta","maintainers":[{"uuid":"rhysd","login":"rhysd","name":null,"email":"lin90162@yahoo.co.jp","url":null,"packages_count":62,"html_url":"https://www.npmjs.com/~rhysd","role":null,"created_at":"2022-11-15T06:23:47.486Z","updated_at":"2022-11-15T06:23:47.486Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/rhysd/packages"}]}