{"id":43024859,"url":"https://github.com/dinvlad/find-gcp-keys","last_synced_at":"2026-01-31T07:05:44.684Z","repository":{"id":57429594,"uuid":"292135670","full_name":"dinvlad/find-gcp-keys","owner":"dinvlad","description":"Find and report valid Google Service Account keys on a filesystem","archived":false,"fork":false,"pushed_at":"2020-10-14T19:52:54.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T13:42:30.158Z","etag":null,"topics":["credential-storage","credentials","gcp","google-cloud","google-cloud-platform","google-service-account","leaked-secrets","security","service-account","service-account-file","service-accounts"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dinvlad.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}},"created_at":"2020-09-02T00:12:30.000Z","updated_at":"2023-02-21T23:14:57.000Z","dependencies_parsed_at":"2022-08-26T02:41:41.797Z","dependency_job_id":null,"html_url":"https://github.com/dinvlad/find-gcp-keys","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/dinvlad/find-gcp-keys","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinvlad%2Ffind-gcp-keys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinvlad%2Ffind-gcp-keys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinvlad%2Ffind-gcp-keys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinvlad%2Ffind-gcp-keys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinvlad","download_url":"https://codeload.github.com/dinvlad/find-gcp-keys/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinvlad%2Ffind-gcp-keys/sbom","scorecard":{"id":343855,"data":{"date":"2025-08-11","repo":{"name":"github.com/dinvlad/find-gcp-keys","commit":"b62ade255ec08e277b7a78a08223f4d46d2d7c6b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-to-test-pypi.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/dinvlad/find-gcp-keys/publish-to-test-pypi.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-to-test-pypi.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/dinvlad/find-gcp-keys/publish-to-test-pypi.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-to-test-pypi.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/dinvlad/find-gcp-keys/publish-to-test-pypi.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/publish-to-test-pypi.yml:22","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/publish-to-test-pypi.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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"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:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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"}}]},"last_synced_at":"2025-08-18T06:37:03.762Z","repository_id":57429594,"created_at":"2025-08-18T06:37:03.762Z","updated_at":"2025-08-18T06:37:03.762Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28932625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"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"}},"keywords":["credential-storage","credentials","gcp","google-cloud","google-cloud-platform","google-service-account","leaked-secrets","security","service-account","service-account-file","service-accounts"],"created_at":"2026-01-31T07:05:44.067Z","updated_at":"2026-01-31T07:05:44.664Z","avatar_url":"https://github.com/dinvlad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# find-gcp-keys\n\nThis tool finds and prints valid Google Service Account keys on your filesystem.\nThis is useful for keeping track of any unexpired/non-disabled keys you may have.\n\nIt does NOT require any special permissions,\nor even to be authenticated with Google Cloud SDK.\n\n## Requirements\n\nPython 3.7+\n\n## Installation\n\n```\npip3 install find-gcp-keys\n```\n\n## Usage\n\n### Command line\n\n```\nfind-gcp-keys \u003cdir_path\u003e [--no-validate/-n] [--file-pattern/-p \u003cregex\u003e]\n```\n\nNote that by default, the CLI only searches for the JSON key files\nmatching a particular pattern (`\u003cproject-id\u003e-\u003ckey-id\u003e.json`). You can\noverride this behavior, e.g. to search for _all_ JSON files:\n```\nfind-gcp-keys \u003cdir_path\u003e -p '.*\\.json'\n```\n\n### Library:\n\n```py\nfrom find_gcp_keys import find_key_paths, find_valid_keys, is_valid_key\n...\n\n# determine if a given file is a valid key\nif is_valid_key(file_path):\n  ...\n\n# recursively search for valid keys\nfor file_path in find_valid_keys(dir_path):\n  ...\n\n# recursively search for possible keys, but don't validate them\nfor file_path in find_key_paths(dir_path):\n  ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinvlad%2Ffind-gcp-keys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinvlad%2Ffind-gcp-keys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinvlad%2Ffind-gcp-keys/lists"}