Skip to content

chore: Update versions and add to ignore false positives - #1654

Merged
dianab-cl merged 3 commits into
mainfrom
diana/fou-2156
Nov 2, 2026
Merged

dianab-cl merged 3 commits into
mainfrom
diana/fou-2156

Conversation

@dianab-cl

@dianab-cl dianab-cl commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Description

Brings the OpenSSF Scorecard Vulnerabilities check from 6 findings to 0. Follows the same approach as lfdt-ibc/ibc-go#9145: bump what has a fix, and record the rest in osv-scanner.toml with a reason for each.

Dependency bump

  • gen/go/solidity-abi: go.mongodb.org/mongo-driver v1.17.4 → v1.17.10 (indirect). Fixes GO-2026-5327. cli and e2e already use v1.17.10.

Accepted advisories: osv-scanner.toml

Five advisories can't be fixed by a version bump. Each entry's reason says why and why it doesn't affect this repository:

  • GO-2025-3442 (cometbft): false positive. v0.40.0 already contains the fix from v0.38.17. It's flagged only through the advisory's v1 range, which covers the v1-only internal/blocksync package.
  • GO-2023-1821, GO-2023-1881 (cosmos-sdk x/crisis): no fixed release exists. No module in this repository imports x/crisis.
  • GO-2026-5932 (golang.org/x/crypto/openpgp): no fixed release exists. It reaches cli and e2e only through the cosmos-sdk keyring (crypto/armor), so it has to be fixed upstream.
  • GO-2025-3684 (cosmos/evm): false positive. GHSA-mjfq-3qr2-6g84 affects only v0.1.0, but the Go database lists it with no fixed version. e2e uses v0.7.3 and doesn't import the precompiles.

osv-scanner applies osv-scanner.toml only to manifests in the same directory, and Scorecard skips symlinks. So cli/, e2e/ and gen/go/solidity-abi/ each have an identical copy. Edit cli/osv-scanner.toml, then copy it over the other two. Because the copies are identical, osv-scanner reports "unused ignores" for modules that don't pull in a given dependency. That's expected.

closes: #2156


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
  • Include changelog entry when appropriate (e.g. chores should be omitted from changelog). n/a: chore.
  • Wrote unit and e2e tests if relevant. n/a: dependency and scanner config only.
  • Updated documentation (docs/) if anything is changed. See docs/AGENTS.md. n/a: no user-facing change.
  • Added godoc comments if relevant. n/a: no Go code changed.
  • Self-reviewed Files changed in the GitHub PR explorer.
  • Provide a conventional commit message to follow the repository standards.

Signed-off-by: Diana Borbe <diana@cosmoslabs.io>
@dianab-cl
dianab-cl requested a review from a team as a code owner November 2, 2026 13:59
@linear-code

linear-code Bot commented Nov 2, 2026

Copy link
Copy Markdown

FOU-2156

@greptile-apps

greptile-apps Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Updates mongo-driver in the generated Go module and puts accepted advisories in a shared scanner config.

  • The Solidity ABI module now uses MongoDB driver v1.17.10.
  • Vulnerability checks now share one explained exception list.

No actionable new issues were found.

Reviews (2) · Last reviewed commit: "Update" · Reviewed by Greptile

@dianab-cl dianab-cl changed the title Update versions and add to ignore false positives chore: Update versions and add to ignore false positives Nov 2, 2026
@codecov-commenter

codecov-commenter commented Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.66%. Comparing base (a647a17) to head (9238d16).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1654      +/-   ##
==========================================
+ Coverage   43.62%   43.66%   +0.04%     
==========================================
  Files         145      145              
  Lines       15804    15804              
==========================================
+ Hits         6894     6901       +7     
+ Misses       8364     8358       -6     
+ Partials      546      545       -1     
Flag Coverage Δ
cli 43.66% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

gjermundgaraba
gjermundgaraba previously approved these changes Nov 2, 2026
Signed-off-by: Diana Borbe <diana@cosmoslabs.io>
@dianab-cl

Copy link
Copy Markdown
Contributor Author

@greptile review

Signed-off-by: dianab-cl <diana@cosmoslabs.io>
@dianab-cl
dianab-cl added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit e0ef781 Nov 2, 2026
21 checks passed
@dianab-cl
dianab-cl deleted the diana/fou-2156 branch November 2, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants