Skip to content

fix: resolve gosec G703 lint error in CLI#140

Merged
osteele merged 1 commit intomainfrom
fix-lint
Feb 26, 2026
Merged

fix: resolve gosec G703 lint error in CLI#140
osteele merged 1 commit intomainfrom
fix-lint

Conversation

@osteele
Copy link
Owner

@osteele osteele commented Feb 26, 2026

Summary

  • Add filepath.Clean to sanitize user-provided file path in CLI tool
  • Fixes gosec G703 (path traversal) lint error introduced by golangci-lint v2.10.1 upgrade

Test plan

  • Tests pass locally
  • CI lint passes

@osteele osteele merged commit 41c3ec7 into main Feb 26, 2026
11 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.

1 participant