ci: Add OpenSSF Scorecard #1533
<!-- dependency-review:govulncheck -->
Vulnerable dependencies
11 advisories across 1 library need attention, 2 accepted.
:rotating_light: Needs attention
Go standard library
In use: go1.26.6, go0.59.0 — reached from cli, e2e, gen/go/solidity-abi
| Advisory | CVE | Fixed in | Summary |
|---|---|---|---|
| GO-2026-6599 | CVE-2026-94448 | go1.26.9 | Reset context tracking on consecutive template expressions in html/template |
| GO-2026-6600 | CVE-2026-97030 | go1.26.9 | Recognize yield as regexp preceder keyword in html/template |
| GO-2026-6603 | CVE-2026-78659 | go1.26.9 | HTTP/2 server memory exhaustion due to Trailer headers in net/http |
| GO-2026-6605 | CVE-2026-56866 | go1.26.9 | HTTP/1 client connection desynchronization after CONNECT rejection in net/http |
| GO-2026-6607 | CVE-2026-97031 | go1.26.9 | Reject malformed ECH outer extension references in crypto/tls |
| GO-2026-6608 | CVE-2026-94440 | go1.26.9 | Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart |
| GO-2026-6610 | CVE-2026-78660 | go1.26.9 | HTTP/2 transport accepts malformed framing-related headers in net/http |
| GO-2026-6611 | CVE-2026-78669 | go1.26.9 | Excessive CPU consumption from repeated initial window changes in net/http |
| GO-2026-6612 | CVE-2026-78663 | go1.26.9 | Double flow control refund on HTTP/2 server streams in net/http |
| GO-2026-6613 | CVE-2026-94439 | go1.26.9 | HTTP/1 server connection desynchronization after 2xx CONNECT response in net/http |
| GO-2026-6617 | CVE-2026-97032 | go1.26.9 | HTTP/2 server crash due to HPACK encoder race in net/http |
Run make vulncheck for the call paths. Either upgrade the library, or add the
advisory to .govulncheck-ignore with a reason if no fix exists yet.
Accepted
Listed in .govulncheck-ignore with a reason.
github.com/pion/dtls/v2
In use: v2.2.12 — reached from cli, e2e
| Advisory | CVE | Fixed in | Summary |
|---|---|---|---|
| GO-2026-4479 | CVE-2026-26014 | no fix yet | Usage of random nonce generation with AES GCM ciphers risks leaking the authentication key in github.com/pion/dtls |
golang.org/x/crypto
In use: v0.57.0 — reached from cli, e2e
| Advisory | CVE | Fixed in | Summary |
|---|---|---|---|
| GO-2026-5932 | — | no fix yet | The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues |
<sub>From make vulncheck-json on this run: logs.</sub>
<!-- greptile_summary -->
<h2><a href="https://app.greptile.com/api/retrigger?id=74916666"><picture><source media="(prefers-color-scheme: dark)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source media="(prefers-color-scheme: light)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img alt="Retrigger" src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2" align="right"></picture></a>Confidence Score: 4/5</h2>
[Low risk] Adds OpenSSF Scorecard security analysis workflow\.
The PR appears safe to merge, with non-blocking improvements needed for failure-time report retention and the workflow comment.
<h2>Findings</h2>
1. <img alt="P2" src="https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=9" align="top"> Generated reports can be lost <a href="https://github.com/cosmos/ibc/pull/1533#discussion_r4185851691">▶</a>
2. <img alt="P2" src="https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=9" align="top"> Comment links to another repository <a href="https://github.com/cosmos/ibc/pull/1533#discussion_r4185851697">▶</a>
<h3>Summary</h3>
The PR adds a scheduled and event-triggered OpenSSF Scorecard workflow that publishes results, saves SARIF, and uploads findings to code scanning. It also adds a Scorecard badge to the README.
<!-- greptile_confidence_score:4 -->
<sub>Reviews (1) · Last reviewed commit: "ci: Add OpenSSF Scorecard"</sub>
<a href="#"><img alt="P2" src="https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=9" align="top"></a> Generated reports can be lost
If Scorecard writes results.sarif but then fails while publishing, GitHub Actions skips this artifact upload and the following code-scanning upload. The report exists on the runner but is unavailable from the run, making the failure harder to diagnose. Have the uploads run when the file exists, even if publication fails.
<a href="#"><img alt="P2" src="https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=9" align="top"></a> Comment links to another repository
This URL opens the Scorecard for cosmos/ibc-go, not the results published by this workflow. A maintainer following it could inspect the wrong project. The README badge uses the correct cosmos/ibc URL.
# https://scorecard.dev/viewer/?uri=github.com/cosmos/ibc
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
# Publish results to the OpenSSF REST API for the README badge and
# https://scorecard.dev/viewer/?uri=github.com/cosmos/ibc
Approved these changes.
gjermundgaraba
dianab-cl
No description provided by author.