{"id":37684430,"url":"https://github.com/operatorequals/gitsign-action","last_synced_at":"2026-01-16T12:29:52.845Z","repository":{"id":61412698,"uuid":"547251803","full_name":"operatorequals/gitsign-action","owner":"operatorequals","description":"Verify Sigstore Gitsign commit signatures","archived":false,"fork":false,"pushed_at":"2022-10-18T13:19:52.000Z","size":76,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-20T00:51:45.523Z","etag":null,"topics":["cicd","pgp","security","signatures","sigstore"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/operatorequals.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-07T11:30:24.000Z","updated_at":"2025-06-19T13:24:59.000Z","dependencies_parsed_at":"2023-01-11T17:23:46.630Z","dependency_job_id":null,"html_url":"https://github.com/operatorequals/gitsign-action","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/operatorequals/gitsign-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operatorequals%2Fgitsign-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operatorequals%2Fgitsign-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operatorequals%2Fgitsign-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operatorequals%2Fgitsign-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/operatorequals","download_url":"https://codeload.github.com/operatorequals/gitsign-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operatorequals%2Fgitsign-action/sbom","scorecard":{"id":710908,"data":{"date":"2025-08-11","repo":{"name":"github.com/operatorequals/gitsign-action","commit":"66f54db836597640dbb6947cd2554972ea6477cb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/check-signature.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":"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/check-signature.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/operatorequals/gitsign-action/check-signature.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/check-signature.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/operatorequals/gitsign-action/check-signature.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction 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":"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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":"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":"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":"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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-22T08:11:23.429Z","repository_id":61412698,"created_at":"2025-08-22T08:11:23.429Z","updated_at":"2025-08-22T08:11:23.429Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":["cicd","pgp","security","signatures","sigstore"],"created_at":"2026-01-16T12:29:52.784Z","updated_at":"2026-01-16T12:29:52.838Z","avatar_url":"https://github.com/operatorequals.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitsign-action\n\nThis Github Action verifies [Sigstore `gitsign`](https://github.com/sigstore/gitsign) key-less commit signatures for a chain of commits.\n\n## Verifications\n\nThe Github Action verifies that all commits between `HEAD` and the git ref specified in the `ref` input:\n\n* Are *signed* by the `gitsign` tool\n* The signer's name (the `SigningCertificate`'s `X509v3 SAN:email`) is the same with the git commit's author email\n* The Identity Provider URL used by the signer to provide the `email` to Fulcio is one of the [SigStore trusted IdPs (Github, Google, Microsoft)](https://github.com/sigstore/gitsign/tree/master#file-config) (changeable through `connector-ids` input)\n* If the `email-domains` input is set - the signer's email domain is in the `email-domains` list\n* If the `check-signing-date` input is set to `true` - the commit date falls in the `SigningCertificate`'s Validity Period (`Cert NotBefore` \u003c= `Commit Date` \u003c= `Cert Not After`).\n\n## How it works\n\nThe Github Action loops through the commits between `ref` input and `HEAD`.\nIf a non-verifiable commit is found, the Github Action fails and reports which commit failed to verify.\n\n```\n[commit+N] {branch1} (checked) \u003c-- Action runs in this commit\n  |\n  v\n[commit+N-1] (checked)\n  |\n  v\n[...] (checked)\n  |\n  v\n[commit+1] (checked)\n  |\n  v\n[commit] {ref=master}\n```\n\n## Usage\n\n```yaml\n[...]\n\njobs:\n  check-signatures:\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    - name: Check Signatures\n      uses: operatorequals/gitsign-action@master\n      with:\n        version: '0.3.1'  # default '0.3.1'\n        ref: master\t      # default 'origin/master'\n        email-domains: \"gmail.com users.noreply.github.com\" # default ''\n        connector-ids: \"https://github.com/login/oauth https://accounts.google.com\" # default 'Github, Google, Microsoft'\n\n```\n\n## Enable `Gitsign` for a repository\n\nGitsign configuration can be found in [repository's `README.md`](https://github.com/sigstore/gitsign#configuration)\n\n\n## Scenarios mitigated by Sigstore Gitsign along with this Github Action\n\nAn adversary with access to a repository under `example.com`...\n\n### Does not sign a commit\n\nIf an unsigned commit gets checked, this action will directly stop with an error.\n\n### Pushes a Git commit as `jdoe@example.com` and signs with email `random091[...]74@gmail.com`\n\nAs (as of now) `gitsign verify` does only check if a commit signature exists, this would pass `git verify-commit \u003ccommit-id\u003e`\n command (https://github.com/sigstore/gitsign/issues/104).\n Yet, This Github Action does validate that the commit author email and the email found in the `SigningCertificate` are the same string.\n\n### Pushes a Git commit with author email same with signing email `random091[...]74@gmail.com`\n\nThis scenario would pass if `email-domains` is not set in this Action. If `email-domains: \"example.com\"` is in place,\nthis Action will fail if the commiter/issuer email domain is not `example.com`.\n\n### Fetches a `SigningCertificate` from a custom [`Fulcio`](https://github.com/sigstore/fulcio) instance\n\nThe `SigningCertificate` can contain both `jdoe@example.com` and the correct `ConnectorID` as they are signed by a CA controlled by the adversary.\n\nYet, such Certificate is not signed by SigStore's Public CA, and the `gitsign` verification command is set to verify Certificate's from SigStore's Fulcio Public CA only (controlled by `GITSIGN_FULCIO_URL` (https://github.com/sigstore/gitsign#environment-variables).\n\n### Has access to `jdoe@example.com` Google Account, but official flow requires Github SSO (or vice-versa)\n\nWith Google credentials for `jdoe@example.com` (given that `example.com` is a Google-managed email domain),\nthe adversary can create a valid `SigningCertificate` (with correct email, ConnectorID and SigStore's signature),\nand `gitsign verify` will rightfully verify the signature.\n\nIn this Github Action, if the expected ConnectorID is not Google (e.g the organization's flow strictly requires Github SSO\nfor commit signing), setting `connector-ids: \"https://accounts.google.com\"` will fail to verify any signature that does not\nhave `https://accounts.google.com` in the PKCS#7 field `1.3.6.1.4.1.57264.1.1` (https://github.com/sigstore/gitsign#inspecting-the-git-commit-signature).\n\n### Fully compromises the identity of `jdoe@example.com` and pushes an amended commit\n\nWith full access to `jdoe@example.com` identity (through the trusted IdP), the adversary can create perfectly signed commits\n(that rightfully pass `gitsign verify`).\n\nGiven that adding NEW commits to the deployable code (pushing/merging to deployable branches) would require peer-review, amending a deployable branch would be a plausible way to inject code.\n\nIf this Github Action is used, setting `check-signing-date: true` will additionally try to verify that all commits are signed in their\n`SigningCertificate` Validity date window, thous failing to verify the amended commits, as they are signed with a Certificate issued\nafter the original commits were made (created by the adversary's through `jdoe@example.com` stolen identity).\n\nRe-dating commits and resigning to bypass this check is also plausible (e.g `git commit -S --amend --date=\"...\"`), and cannot be thoroughly\nprevented without verifying commits in a non-atomic way (verification requires information from previous commits).\n\nYet, apart from amending history to deployable branches being a highly destructive action (diverging commit histories of cloned repositories - disrupting `git pull`), it also creates a visual clue in Github and Gitlab UI (e.g annotations like `X days/months/years ago` next to changed files), making the action very detectable.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperatorequals%2Fgitsign-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foperatorequals%2Fgitsign-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperatorequals%2Fgitsign-action/lists"}