{"id":17888275,"url":"https://github.com/squat/pre-commit-sops","last_synced_at":"2026-02-19T14:05:59.740Z","repository":{"id":218866565,"uuid":"747566753","full_name":"squat/pre-commit-sops","owner":"squat","description":"A pre-commit hook that detects SOPS secrets that are unencrypted or encrypted with the wrong key(s)","archived":false,"fork":false,"pushed_at":"2025-08-11T17:30:34.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-18T22:12:22.730Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/squat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2024-01-24T07:34:35.000Z","updated_at":"2025-08-11T17:30:37.000Z","dependencies_parsed_at":"2024-12-15T22:27:17.355Z","dependency_job_id":"e1304cf5-9059-4e8f-9b4c-32e5f43724d2","html_url":"https://github.com/squat/pre-commit-sops","commit_stats":null,"previous_names":["squat/pre-commit-sops"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/squat/pre-commit-sops","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fpre-commit-sops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fpre-commit-sops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fpre-commit-sops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fpre-commit-sops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squat","download_url":"https://codeload.github.com/squat/pre-commit-sops/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fpre-commit-sops/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29616960,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T13:04:20.082Z","status":"ssl_error","status_checked_at":"2026-02-19T13:03:33.775Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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"}},"keywords":[],"created_at":"2024-10-28T13:36:59.649Z","updated_at":"2026-02-19T14:05:59.721Z","avatar_url":"https://github.com/squat.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/squat/pre-commit-sops/main.svg)](https://results.pre-commit.ci/latest/github/squat/pre-commit-sops/main)\n# pre-commit-sops\n`pre-commit-sops` is a [pre-commit](https://pre-commit.com) hook that detects [SOPS](https://getsops.io) secrets that are unencrypted or encrypted with the wrong key(s). `pre-commit-sops` uses your `.sops.yaml` file to match files to the correct keys.\n\n`pre-commit-sops` is conservative by default and checks all files with `secret` anywhere in the path; that means all files with `secret` in their name or under a directory with `secret` in the name must be encrypted. This rule can be adjusted by modifying the values of the `files` or `exclude` keys in the hook's configuration.\n\n## Installation\n\nAdd this to your `.pre-commit-config.yaml`\n\n```yaml\n-   repo: https://github.com/squat/pre-commit-sops\n    rev: 0.1.0\n    hooks:\n    -   id: sops\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquat%2Fpre-commit-sops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquat%2Fpre-commit-sops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquat%2Fpre-commit-sops/lists"}