{"id":19753,"url":"https://github.com/pre-commit/pre-commit","last_synced_at":"2026-06-18T00:20:43.006Z","repository":{"id":14964538,"uuid":"17689377","full_name":"pre-commit/pre-commit","owner":"pre-commit","description":"A framework for managing and maintaining multi-language pre-commit hooks.","archived":false,"fork":false,"pushed_at":"2025-10-10T16:08:37.000Z","size":4366,"stargazers_count":14448,"open_issues_count":29,"forks_count":897,"subscribers_count":91,"default_branch":"main","last_synced_at":"2025-10-12T00:15:26.033Z","etag":null,"topics":["git","linter","pre-commit","python","refactoring"],"latest_commit_sha":null,"homepage":"https://pre-commit.com","language":"Python","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/pre-commit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"asottile","open_collective":"pre-commit","tidelift":"pypi/pre-commit"}},"created_at":"2014-03-13T00:39:38.000Z","updated_at":"2025-10-11T16:50:04.000Z","dependencies_parsed_at":"2024-01-15T04:03:33.562Z","dependency_job_id":"25ad3a8a-3610-4dff-8656-96cf170a85a7","html_url":"https://github.com/pre-commit/pre-commit","commit_stats":{"total_commits":1705,"total_committers":164,"mean_commits":"10.396341463414634","dds":"0.31143695014662753","last_synced_commit":"9da45a686ab3959488020382abf897d6b9418d05"},"previous_names":[],"tags_count":200,"template":false,"template_full_name":null,"purl":"pkg:github/pre-commit/pre-commit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pre-commit","download_url":"https://codeload.github.com/pre-commit/pre-commit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit/sbom","scorecard":{"id":55535,"data":{"date":"2025-08-04","repo":{"name":"github.com/pre-commit/pre-commit","commit":"b74a22d96cca546b8e0bb9f68f1d7d8565205b65"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":5.5,"checks":[{"name":"Code-Review","score":5,"reason":"Found 4/7 approved changesets -- score normalized to 5","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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"18 commit(s) and 26 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/languages.yaml:1","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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v4.3.0 not signed: https://api.github.com/repos/pre-commit/pre-commit/releases/238794456","Warn: release artifact v4.2.0 not signed: https://api.github.com/repos/pre-commit/pre-commit/releases/206695099","Warn: release artifact v4.1.0 not signed: https://api.github.com/repos/pre-commit/pre-commit/releases/195704705","Warn: release artifact v4.0.1 not signed: https://api.github.com/repos/pre-commit/pre-commit/releases/178941095","Warn: release artifact v4.0.0 not signed: https://api.github.com/repos/pre-commit/pre-commit/releases/178535673","Warn: release artifact v4.3.0 does not have provenance: https://api.github.com/repos/pre-commit/pre-commit/releases/238794456","Warn: release artifact v4.2.0 does not have provenance: https://api.github.com/repos/pre-commit/pre-commit/releases/206695099","Warn: release artifact v4.1.0 does not have provenance: https://api.github.com/repos/pre-commit/pre-commit/releases/195704705","Warn: release artifact v4.0.1 does not have provenance: https://api.github.com/repos/pre-commit/pre-commit/releases/178941095","Warn: release artifact v4.0.0 does not have provenance: https://api.github.com/repos/pre-commit/pre-commit/releases/178535673"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing job operating system: .github/workflows/languages.yaml:53","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/languages.yaml:71","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/languages.yaml:73","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/languages.yaml:75","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/languages.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/pre-commit/pre-commit/languages.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/languages.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/pre-commit/pre-commit/languages.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/languages.yaml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/pre-commit/pre-commit/languages.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/languages.yaml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/pre-commit/pre-commit/languages.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/languages.yaml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/pre-commit/pre-commit/languages.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/languages.yaml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/pre-commit/pre-commit/languages.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/pre-commit/pre-commit/main.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/pre-commit/pre-commit/main.yml/main?enable=pin","Warn: containerImage not pinned by hash: testing/zipapp/Dockerfile:1: pin your Docker image by updating ubuntu:jammy to ubuntu:jammy@sha256:1ec65b2719518e27d4d25f104d93f9fac60dc437f81452302406825c46fcc9cb","Warn: pipCommand not pinned by hash: testing/zipapp/Dockerfile:12-14","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 pipCommand 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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/pre-commit/.github/.github/SECURITY.md:1","Info: Found linked content: github.com/pre-commit/.github/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/pre-commit/.github/.github/SECURITY.md:1","Info: Found text in security policy: github.com/pre-commit/.github/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T00:39:22.326Z","repository_id":14964538,"created_at":"2025-08-15T00:39:22.326Z","updated_at":"2025-08-15T00:39:22.326Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013127,"owners_count":26085232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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"}},"keywords":["git","linter","pre-commit","python","refactoring"],"created_at":"2024-01-11T19:07:55.085Z","updated_at":"2025-10-16T12:23:35.601Z","avatar_url":"https://github.com/pre-commit.png","language":"Python","project_url":"https://opencollective.ecosyste.ms/api/v1/projects/19753","html_url":"https://opencollective.ecosyste.ms/projects/19753","collective":{"id":2899,"uuid":"4rxg0j35-lzkwm6v5-0lbqvoe9-8n47daby","slug":"pre-commit","name":"pre-commit","description":null,"website":"https://pre-commit.com","github":"pre-commit","twitter":null,"repository_url":null,"social_links":[{"type":"WEBSITE","url":"https://pre-commit.com"},{"type":"GITHUB","url":"https://github.com/pre-commit"}],"currency":"USD","projects_count":30,"last_synced_at":"2026-06-21T06:15:12.956Z","created_at":"2024-01-10T13:17:53.153Z","updated_at":"2026-06-21T06:15:13.139Z","transactions_count":186,"balance":13906.820000000023,"account_type":"COLLECTIVE","owner":{"login":"pre-commit","name":"pre-commit","uuid":"6943086","kind":"organization","description":"A framework for managing and maintaining multi-language pre-commit hooks.","email":null,"website":"https://pre-commit.com","location":null,"twitter":"pre_commit","company":null,"icon_url":"https://avatars.githubusercontent.com/u/6943086?v=4","repositories_count":29,"last_synced_at":"2024-10-29T22:38:48.625Z","metadata":{"has_sponsors_listing":false,"funding":{"github":"asottile","open_collective":"pre-commit","tidelift":"pypi/pre-commit"}},"html_url":"https://github.com/pre-commit","funding_links":["https://github.com/sponsors/asottile","https://opencollective.com/pre-commit","https://tidelift.com/funding/github/pypi/pre-commit"],"total_stars":18774,"followers":308,"following":0,"created_at":"2022-11-02T16:22:39.632Z","updated_at":"2024-10-29T22:38:48.626Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pre-commit","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pre-commit/repositories"},"last_project_activity_at":"2025-12-22T21:55:45.000Z","archived":false,"no_funding":false,"no_license":false,"host":"opensource","collective_created_at":"2018-11-01T02:16:55.254Z","collective_updated_at":"2022-06-02T16:21:07.214Z","html_url":"https://opencollective.com/pre-commit","icon_url":"https://images.opencollective.com/pre-commit/logo/40.png","total_donations":18915.570000000007,"total_expenses":-7434.43000000001,"current_balance":13906.820000000023,"api_url":"https://opencollective.ecosyste.ms/api/v1/collectives/pre-commit","url":"https://opencollective.ecosyste.ms/collectives/pre-commit","projects_url":"https://opencollective.ecosyste.ms/api/v1/collectives/pre-commit/projects"}}