Skip to content

fix: patch Steampipe dependencies and release builds - #8

Merged
mateen993 merged 1 commit into
masterfrom
fix/security-dependencies
Oct 29, 2026
Merged

mateen993 merged 1 commit into
masterfrom
fix/security-dependencies

Conversation

@MudassarTariq

@MudassarTariq MudassarTariq commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

The released plugin uses Go 1.26.8 and golang.org/x/net 0.58.0. This change raises the build minimum to Go 1.26.10, updates x/net to 0.62.0 with its required Go modules, and scans source and every release binary before publication. It also removes API keys from transport-error URLs while preserving the underlying errors.

The Steampipe SDK version, four table definitions, connection settings and existing timezone-offset correction are preserved. README changes are limited to the Go prerequisite.

Validation:

  • Race-enabled tests pass locally on Go 1.26.10 and 1.27.3, including request encoding, credentials, error handling, cancellation, TLS verification, schemas and fractional timezone offsets.
  • All 13 HTTPS scenarios pass through a local Postman simulation, exercising all four table handlers, IPv4/IPv6, ASN normalization, errors, malformed JSON and timeout handling.
  • Compatibility tests also pass against the original dependency versions; the credential-redaction regression fails before the client fix as expected.
  • A strict TLS handshake to api.ipgeolocation.io passed with Go 1.26.10 without sending an HTTP request.
  • GoReleaser configuration validation and all four Linux/macOS amd64/arm64 snapshot builds pass using Go 1.26.10. All four binary scans and the source scan report zero affected code and zero affected imported packages.
  • All CI checks passed on Go 1.26.10 and 1.27.3, including all 13 HTTPS cases on each version and all four binary builds/scans: https://github.com/IPGeolocation/steampipe-plugin-ipgeolocation/actions/runs/40864807803 .

OpenPGP is not imported or linked into the plugin. The scanner reports its advisory at module level because other x/crypto packages are used. Release builds now retain symbols so the binary scanner can distinguish included code from module-wide matches; no advisory exclusions are added.

The HTTPS fixture confines a Go certificate-serial compatibility flag to its test subprocess because Postman CLI 1.73.0 can generate negative certificate serials. Production TLS settings and the separate strict TLS tests are unchanged. No live provider calls or real API keys are used.

After merge, publish v0.1.5 through the existing signed-release workflow. Users update their installed plugin; any images containing it need a rebuild and deployment. No tag, release or deployment has been created by this change.

@MudassarTariq
MudassarTariq marked this pull request as ready for review October 29, 2026 11:31
@mateen993
mateen993 self-requested a review October 29, 2026 11:41
@mateen993
mateen993 merged commit ac82b61 into master Oct 29, 2026
3 checks passed
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.

2 participants