{"api":{"id":"api_57245795e46df09d4d1a6b9e","slug":"openssf-scorecard","name":"OpenSSF Security Scorecard API","description":"OpenSSF Scorecard security ratings for lists of open source GitHub and GitLab repositories: the overall 0 to 10 score, scan date and commit, and each check (code review, maintenance, pinned dependencies, fuzzing, signed releases...) with its score, reason and findings.","kind":"ready_made","visibility":"public","domain":"securityscorecards.dev","source_url":"https://scorecard.dev/","category":"developer","record_type":"repository","active_version":"1.0","units_per_1k":1000,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":32,"created_at":"2026-12-06T03:33:09.244Z","updated_at":"2026-12-06T03:33:09.244Z","runnable":true},"version":"1.0","contract_hash":"3481e780fbf7110e3b43bfa92465ee02a5b8dc5528dc6b344d7701679083618b","fields":[{"name":"repository","type":"string","description":"The repository as Scorecard names it, such as github.com/expressjs/express.","required":true,"coverage":1,"example":"github.com/ossf/scorecard"},{"name":"repository_url","type":"url","description":"Link to the repository.","required":false,"coverage":1,"example":"https://github.com/ossf/scorecard"},{"name":"url","type":"url","description":"The repository's report in the Scorecard viewer on scorecard.dev.","required":false,"coverage":1,"example":"https://scorecard.dev/viewer/?uri=github.com/ossf/scorecard"},{"name":"score","type":"number","description":"Overall Scorecard score from 0 to 10 (a weighted mean of the checks).","required":false,"coverage":1,"example":8.6},{"name":"scored_date","type":"date","description":"Day of the scan these scores come from.","required":false,"coverage":1,"example":"2026-12-05"},{"name":"commit","type":"string","description":"The commit the scan read.","required":false,"coverage":1,"example":"4c48271472229429091d1e65621856a377c13982"},{"name":"scorecard_version","type":"string","description":"Version of the Scorecard tool that ran the scan, such as v5.6.0.","required":false,"coverage":1,"example":"v5.7.0"},{"name":"checks_count","type":"integer","description":"How many checks the scan reports for the repository.","required":false,"coverage":1,"example":18},{"name":"check_name","type":"string","description":"Name of the check on a check row, such as Code-Review; empty on repository rows.","required":false,"coverage":1,"example":"Binary-Artifacts"},{"name":"check_score","type":"integer","description":"The check's score from 0 to 10; empty when Scorecard could not evaluate it.","required":false,"coverage":1,"example":10},{"name":"check_reason","type":"string","description":"Scorecard's one-line reason for the check's score.","required":false,"coverage":1,"example":"no binaries found in the repo"},{"name":"check_details","type":"array","description":"The check's findings, one per line, such as Warn: npmCommand not pinned by hash: .github/workflows/ci.yml:40.","required":false,"coverage":0.2,"example":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'"]},{"name":"check_description","type":"string","description":"What the check measures.","required":false,"coverage":1,"example":"Determines if the project has generated executable (binary) artifacts in the source repository."},{"name":"check_documentation_url","type":"url","description":"Scorecard's documentation of the check and how to raise its score.","required":false,"coverage":1,"example":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#binary-artifacts"},{"name":"binary_artifacts_score","type":"integer","description":"Binary-Artifacts score (0 to 10): no executables committed to the repository.","required":false,"coverage":1,"example":10},{"name":"branch_protection_score","type":"integer","description":"Branch-Protection score (0 to 10): rules guarding the default and release branches.","required":false,"coverage":1,"example":5},{"name":"ci_tests_score","type":"integer","description":"CI-Tests score (0 to 10): tests run before pull requests are merged.","required":false,"coverage":1,"example":10},{"name":"cii_best_practices_score","type":"integer","description":"CII-Best-Practices score (0 to 10): an OpenSSF Best Practices badge.","required":false,"coverage":1,"example":5},{"name":"code_review_score","type":"integer","description":"Code-Review score (0 to 10): changes reviewed before they are merged.","required":false,"coverage":1,"example":4},{"name":"contributors_score","type":"integer","description":"Contributors score (0 to 10): contributors from several organizations.","required":false,"coverage":1,"example":10},{"name":"dangerous_workflow_score","type":"integer","description":"Dangerous-Workflow score (0 to 10): no risky patterns in GitHub Actions workflows.","required":false,"coverage":1,"example":10},{"name":"dependency_update_tool_score","type":"integer","description":"Dependency-Update-Tool score (0 to 10): a tool such as Dependabot or Renovate keeps dependencies current.","required":false,"coverage":1,"example":10},{"name":"fuzzing_score","type":"integer","description":"Fuzzing score (0 to 10): the project is fuzz tested.","required":false,"coverage":1,"example":10},{"name":"license_score","type":"integer","description":"License score (0 to 10): a recognized license is published.","required":false,"coverage":1,"example":10},{"name":"maintained_score","type":"integer","description":"Maintained score (0 to 10): commits and issue activity in the last 90 days.","required":false,"coverage":1,"example":10},{"name":"packaging_score","type":"integer","description":"Packaging score (0 to 10): releases are built and published by an automated workflow.","required":false,"coverage":1,"example":10},{"name":"pinned_dependencies_score","type":"integer","description":"Pinned-Dependencies score (0 to 10): build dependencies pinned by hash.","required":false,"coverage":1,"example":9},{"name":"sast_score","type":"integer","description":"SAST score (0 to 10): static code analysis runs on changes.","required":false,"coverage":1,"example":10},{"name":"security_policy_score","type":"integer","description":"Security-Policy score (0 to 10): a published way to report vulnerabilities.","required":false,"coverage":1,"example":10},{"name":"signed_releases_score","type":"integer","description":"Signed-Releases score (0 to 10): release files are signed or carry provenance.","required":false,"coverage":1,"example":10},{"name":"token_permissions_score","type":"integer","description":"Token-Permissions score (0 to 10): workflow tokens limited to what they need.","required":false,"coverage":1,"example":9},{"name":"vulnerabilities_score","type":"integer","description":"Vulnerabilities score (0 to 10): no open known vulnerabilities in the code or its dependencies.","required":false,"coverage":1,"example":5}],"inputs":[{"name":"repositories","type":"array","description":"Repositories as owner/name (GitHub), or full links such as https://github.com/expressjs/express or gitlab.com/gitlab-org/gitlab.","example":["ossf/scorecard","expressjs/express"],"required":true},{"name":"one_row_per","type":"string","description":"check: one row per security check with its score, reason and findings (default). repository: one row per repository with every check's score as its own column.","default":"check","enum":["check","repository"]},{"name":"checks","type":"array","description":"Keep only these checks, such as Code-Review, Maintained or Pinned-Dependencies (check rows only).","example":["Code-Review","Maintained"]},{"name":"max_check_score","type":"integer","description":"Keep only checks scoring at or below this, from 0 to 10, to list weak spots (check rows only).","example":5}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"binary_artifacts_score":{"description":"Binary-Artifacts score (0 to 10): no executables committed to the repository.","type":"integer"},"branch_protection_score":{"description":"Branch-Protection score (0 to 10): rules guarding the default and release branches.","type":"integer"},"check_description":{"description":"What the check measures.","type":"string"},"check_details":{"description":"The check's findings, one per line, such as Warn: npmCommand not pinned by hash: .github/workflows/ci.yml:40.","type":"array"},"check_documentation_url":{"description":"Scorecard's documentation of the check and how to raise its score.","format":"uri","type":"string"},"check_name":{"description":"Name of the check on a check row, such as Code-Review; empty on repository rows.","type":"string"},"check_reason":{"description":"Scorecard's one-line reason for the check's score.","type":"string"},"check_score":{"description":"The check's score from 0 to 10; empty when Scorecard could not evaluate it.","type":"integer"},"checks_count":{"description":"How many checks the scan reports for the repository.","type":"integer"},"ci_tests_score":{"description":"CI-Tests score (0 to 10): tests run before pull requests are merged.","type":"integer"},"cii_best_practices_score":{"description":"CII-Best-Practices score (0 to 10): an OpenSSF Best Practices badge.","type":"integer"},"code_review_score":{"description":"Code-Review score (0 to 10): changes reviewed before they are merged.","type":"integer"},"commit":{"description":"The commit the scan read.","type":"string"},"contributors_score":{"description":"Contributors score (0 to 10): contributors from several organizations.","type":"integer"},"dangerous_workflow_score":{"description":"Dangerous-Workflow score (0 to 10): no risky patterns in GitHub Actions workflows.","type":"integer"},"dependency_update_tool_score":{"description":"Dependency-Update-Tool score (0 to 10): a tool such as Dependabot or Renovate keeps dependencies current.","type":"integer"},"fuzzing_score":{"description":"Fuzzing score (0 to 10): the project is fuzz tested.","type":"integer"},"license_score":{"description":"License score (0 to 10): a recognized license is published.","type":"integer"},"maintained_score":{"description":"Maintained score (0 to 10): commits and issue activity in the last 90 days.","type":"integer"},"packaging_score":{"description":"Packaging score (0 to 10): releases are built and published by an automated workflow.","type":"integer"},"pinned_dependencies_score":{"description":"Pinned-Dependencies score (0 to 10): build dependencies pinned by hash.","type":"integer"},"repository":{"description":"The repository as Scorecard names it, such as github.com/expressjs/express.","type":"string"},"repository_url":{"description":"Link to the repository.","format":"uri","type":"string"},"sast_score":{"description":"SAST score (0 to 10): static code analysis runs on changes.","type":"integer"},"score":{"description":"Overall Scorecard score from 0 to 10 (a weighted mean of the checks).","type":"number"},"scorecard_version":{"description":"Version of the Scorecard tool that ran the scan, such as v5.6.0.","type":"string"},"scored_date":{"description":"Day of the scan these scores come from.","format":"date","type":"string"},"security_policy_score":{"description":"Security-Policy score (0 to 10): a published way to report vulnerabilities.","type":"integer"},"signed_releases_score":{"description":"Signed-Releases score (0 to 10): release files are signed or carry provenance.","type":"integer"},"token_permissions_score":{"description":"Token-Permissions score (0 to 10): workflow tokens limited to what they need.","type":"integer"},"url":{"description":"The repository's report in the Scorecard viewer on scorecard.dev.","format":"uri","type":"string"},"vulnerabilities_score":{"description":"Vulnerabilities score (0 to 10): no open known vulnerabilities in the code or its dependencies.","type":"integer"}},"required":["repository"],"title":"OpenSSF Security Scorecard API","type":"object"},"samples":[{"repository":"github.com/ossf/scorecard","repository_url":"https://github.com/ossf/scorecard","url":"https://scorecard.dev/viewer/?uri=github.com/ossf/scorecard","score":8.6,"scored_date":"2026-12-05","commit":"4c48271472229429091d1e65621856a377c13982","scorecard_version":"v5.7.0","checks_count":18,"check_name":"Binary-Artifacts","check_score":10,"check_reason":"no binaries found in the repo","check_details":[],"check_description":"Determines if the project has generated executable (binary) artifacts in the source repository.","check_documentation_url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#binary-artifacts","binary_artifacts_score":10,"branch_protection_score":5,"ci_tests_score":10,"cii_best_practices_score":5,"code_review_score":4,"contributors_score":10,"dangerous_workflow_score":10,"dependency_update_tool_score":10,"fuzzing_score":10,"license_score":10,"maintained_score":10,"packaging_score":10,"pinned_dependencies_score":9,"sast_score":10,"security_policy_score":10,"signed_releases_score":10,"token_permissions_score":9,"vulnerabilities_score":5},{"repository":"github.com/ossf/scorecard","repository_url":"https://github.com/ossf/scorecard","url":"https://scorecard.dev/viewer/?uri=github.com/ossf/scorecard","score":8.6,"scored_date":"2026-12-05","commit":"4c48271472229429091d1e65621856a377c13982","scorecard_version":"v5.7.0","checks_count":18,"check_name":"Branch-Protection","check_score":5,"check_reason":"branch protection is not maximal on development and all release branches","check_details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'","Warn: 'stale review dismissal' is disabled on branch 'main'"],"check_description":"Determines if the default and release branches are protected with GitHub's branch protection settings.","check_documentation_url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#branch-protection","binary_artifacts_score":10,"branch_protection_score":5,"ci_tests_score":10,"cii_best_practices_score":5,"code_review_score":4,"contributors_score":10,"dangerous_workflow_score":10,"dependency_update_tool_score":10,"fuzzing_score":10,"license_score":10,"maintained_score":10,"packaging_score":10,"pinned_dependencies_score":9,"sast_score":10,"security_policy_score":10,"signed_releases_score":10,"token_permissions_score":9,"vulnerabilities_score":5},{"repository":"github.com/ossf/scorecard","repository_url":"https://github.com/ossf/scorecard","url":"https://scorecard.dev/viewer/?uri=github.com/ossf/scorecard","score":8.6,"scored_date":"2026-12-05","commit":"4c48271472229429091d1e65621856a377c13982","scorecard_version":"v5.7.0","checks_count":18,"check_name":"CI-Tests","check_score":10,"check_reason":"28 out of 28 merged PRs checked by a CI test -- score normalized to 10","check_details":[],"check_description":"Determines if the project runs tests before pull requests are merged.","check_documentation_url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#ci-tests","binary_artifacts_score":10,"branch_protection_score":5,"ci_tests_score":10,"cii_best_practices_score":5,"code_review_score":4,"contributors_score":10,"dangerous_workflow_score":10,"dependency_update_tool_score":10,"fuzzing_score":10,"license_score":10,"maintained_score":10,"packaging_score":10,"pinned_dependencies_score":9,"sast_score":10,"security_policy_score":10,"signed_releases_score":10,"token_permissions_score":9,"vulnerabilities_score":5}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"binary_artifacts_score":1,"branch_protection_score":1,"check_description":1,"check_details":0.33,"check_documentation_url":1,"check_name":1,"check_reason":1,"check_score":1,"checks_count":1,"ci_tests_score":1,"cii_best_practices_score":1,"code_review_score":1,"commit":1,"contributors_score":1,"dangerous_workflow_score":1,"dependency_update_tool_score":1,"fuzzing_score":1,"license_score":1,"maintained_score":1,"packaging_score":1,"pinned_dependencies_score":1,"repository":1,"repository_url":1,"sast_score":1,"score":1,"scorecard_version":1,"scored_date":1,"security_policy_score":1,"signed_releases_score":1,"token_permissions_score":1,"url":1,"vulnerabilities_score":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:33:09.244Z","activated_at":"2026-12-06T03:33:09.244Z","active":true,"contract_hash":"3481e780fbf7110e3b43bfa92465ee02a5b8dc5528dc6b344d7701679083618b","fields_count":32}]}