Skip to content

JGC-449 - Suppress gosec high severity findings for CLI context#3358

Closed
RemiBou wants to merge 1 commit intomasterfrom
feature/JGC-449-fix-static-analysis
Closed

JGC-449 - Suppress gosec high severity findings for CLI context#3358
RemiBou wants to merge 1 commit intomasterfrom
feature/JGC-449-fix-static-analysis

Conversation

@RemiBou
Copy link
Contributor

@RemiBou RemiBou commented Feb 17, 2026

Summary

Suppresses gosec HIGH severity findings that are acceptable for a CLI running in the user's environment.

Changes

  • G404 (weak RNG): #nosec in utils/tests/utils.go — test-only.
  • G402 (TLS InsecureSkipVerify): #nosec in test proxy server — cert verification disabled on purpose.
  • G704 (SSRF): #nosec in 4 places — CLI; URL from user/config, runs in user environment.
  • G703 (path traversal): #nosec in 7 places — CLI runs in user environment.

All suppressions include a short justification comment. No HIGH severity issues remain.

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions
Copy link
Contributor

👍 Frogbot scanned this pull request and did not find any new security issues.


@RemiBou RemiBou closed this Feb 17, 2026
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

Comments