{"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":"2026-04-07T18:04:39.000Z","size":4598,"stargazers_count":15143,"open_issues_count":30,"forks_count":947,"subscribers_count":91,"default_branch":"main","last_synced_at":"2026-04-12T05:11:36.608Z","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":"2026-04-11T18:59:46.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":203,"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":286080680,"owners_count":32001602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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"}}