-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gosec: latest version (v2.17.0) returning false positives #4037
Labels
Comments
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
The relevant issue in gosec repo: securego/gosec#1001 |
atc0005
added a commit
to atc0005/go-ci
that referenced
this issue
Aug 24, 2023
Multiple false-positive detections from gosec linter for G101 rule violation: "G101: Potential hardcoded credentials (gosec)" See also: - securego/gosec#1001 - golangci/golangci-lint#4037
olblak
added a commit
to updatecli/updatecli
that referenced
this issue
Aug 24, 2023
Due to golangci/golangci-lint#4037 We have many false positive
olblak
added a commit
to updatecli/updatecli
that referenced
this issue
Aug 24, 2023
Due to golangci/golangci-lint#4037 We have many false positive
FWIW: Closed as resolved per securego/gosec#1009 EDIT: See also: |
I'm aware but there is no release 🤷 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Welcome
Description of the problem
The latest release v1.54.2 of golangci-lint includes an updated version of of gosec v2.17.0 with changes which introduced a number of false positives.
The changes in question were introduced in the following PRs:
Since this is a very popular linter trusted by many, a release should be made reverting the linter to a stable version until the above issues are addressed.
Version of golangci-lint
Configuration
default-config
Go environment
Verbose output of running
A minimal reproducible example or link to a public repository
// add your code here
Validation
The text was updated successfully, but these errors were encountered: