Releases: securego/gosec
Releases · securego/gosec
v2.22.10
Changelog
- 6be2b51 Update go to version 1.25.3 and 1.24.9 in CI (#1404)
- fddb942 chore(deps): update all dependencies (#1402)
- f676031 Update go to version 1.25.2 and 2.24.8 in CI (#1401)
- 35f7ec2 chore(deps): update all dependencies (#1399)
- 01029f0 check nil slices, partially check bounds (#1396)
- 34db3de Remove unused target from the makefile
- f5a3b7a Use the ginkgo command install by the dependencies
- 761fcbc Keep the go module at 1.24 version for compatibility reasons
- 2238079 Remove manual test deps
- bb08aa3 fix: text must be supplied when markdown is used
- 23597d2 fix: improve error message of CheckAnalyzers
- 8d7e9d5 fix: log panic on SSA
- 0d8255e chore(deps): update all dependencies
- f9c52aa Update gosec to version v.22.9 in the github action
v2.22.9
Changelog
- 15d5c61 Update cosign to v2.6.0 and go in the CI to latest version
- 7b8713e fix(autofix): unnecessary conversion
- 64ebfc0 feat(autofix): update gemini sdk and add anthropic claude
- 506407e feat(G304): add os.Root remediation hint (Autofix) when Go >= 1.24
- 3ead143 chore(deps): update all dependencies
- e81fba3 refactor(G304): remove unused trackJoin helper; no functional change
- ab078db style: gofmt rules/readfile.go
- e6218c8 test(g304): add samples for var perm and var flag with cleaned path\n\n- Ensure G304 does not fire when only non-path args (flag/perm) are variables\n- Both samples use filepath.Clean on the path arg\n- Rules suite remains green (42 passed)
- 79f835d rules(G304): analyze only path arg; ignore flag/perm vars; track Clean and safe Join; fix nil-context panic\n\n- Limit G304 checks to first arg (path) for os.Open/OpenFile/ReadFile, avoiding false positives when flag/perm are variables\n- Track filepath.Clean so cleaned identifiers are treated as safe\n- Consider safe joins: filepath.Join(const|resolvedBase, Clean(var)|cleanedIdent)\n- Record Join(...) assigned to identifiers and allow if later cleaned\n- Fix panic by passing non-nil context in trackJoinAssignStmt\n- All rules tests: 42 passed
- 40ac530 rules(G202): detect SQL concat in ValueSpec declarations; add test sample\n\n- Handle var query string = 'SELECT ...' + user style declarations\n- Reuse existing binary expr detection on ValueSpec.Values\n- Add postgres sample mirroring issue #1309 report\n- Rules tests: 42 passed
- 4be6b11 chore(deps): update all dependencies
- 5af1117 chore(deps): update all dependencies
- 287b46c chore(deps): update all dependencies
- cee0aea Update gosec version to v2.22.8 in the Github action
v2.22.8
v2.22.7
v2.22.6
Changelog
- bc3f214 Update go version to 1.24.5 and 1.23.11 in the CI
- 925741b chore(deps): update module google.golang.org/api to v0.242.0
- 59ae7e9 chore(deps): update all dependencies
- e7abd9e chore(deps): update all dependencies
- 35e7bc1 chore(deps): update all dependencies
- 2d1ed95 chore(deps): update all dependencies
- 4a8cb46 Do not allow dashes in file names
- bcc8afb Update gosec to version 2.22.5 in Github action
v2.22.5
Changelog
- d2d3ae6 Switch back go.mod to minimum 1.23.0
- 1e7ed06 Update dependencies
- 1bef91a Update go version 1.24.4 and 1.23.10 in CI
- 621702f chore(deps): update all dependencies
- 017d1d6 G201/G202: add checks for injection into sql.Conn methods
- 67f63d4 chore(deps): update module google.golang.org/api to v0.235.0
- b4eabb1 chore(deps): update module google.golang.org/api to v0.234.0
- 52a80ff chore(deps): update module google.golang.org/api to v0.233.0
- e2a9506 chore(deps): update module google.golang.org/api to v0.232.0
v2.22.4
Changelog
- 6decf96 Update to go version 1.24.3 and 1.23.9
- d522338 update: updated the build command to include version metadata
- 270b5ce chore(deps): update all dependencies
- 6027926 Update the AI provider API key value when provided as an argument
- 65d2d9f chore(deps): update module google.golang.org/api to v0.230.0
- dc1c38b chore(deps): update module google.golang.org/api to v0.229.0
- 55dbf5a chore(deps): update all dependencies
- 2aaa9c4 Comment the reason why the file can be nil when an issue is created
- 700e9a9 Handle nil file when creating a new issue
- d514c42 chore(deps): update all dependencies (#1333)
- 1d458c5 Update version in 'action.yml' to 2.22.3 (anticipating next version (#1332)
v2.22.3
Changelog
- 955a68d Update go version to 1.24.2 and 1.23.8 (#1331)
- 1336dc6 remove G113. It only affects old/unsupported versions of Go (#1328)
- 5fd2a37 chore(deps): update all dependencies (#1325)
- 39e4477 Add SSOJet (#1320)
- 6141d10 chore(deps): update all dependencies (#1319)
- 9452efe Update the integrity sha for babel dependency in html report (#1316)
- 57ec633 Add support for
//gosec:disable
directive (#1314) - e5fee17 chore(deps): update all dependencies (#1315)
v2.22.2
Changelog
- 136f6c0 Update to go version 1.24.1 and 1.23.7 (#1313)
- 047453a chore(deps): update all dependencies (#1310)
- 76ccee5 chore(deps): update all dependencies (#1308)
- a9eb1c9 Update gosec version in the GitHub action to v2.22.1 (#1307)
- 89c5da3 chore(deps): update module google.golang.org/api to v0.221.0 (#1305)
v2.22.1
Changelog
- 43fee88 Update cosign to v2.4.2 (#1303)
- 7723829 Add support for go 1.24 and phased out support for go 1.22 (#1302)
- 9552f03 chore(deps): update all dependencies (#1300)
- f4d2576 Update to go version 1.23.6 and 1.22.12 (#1299)
- 2258e31 chore(deps): update module google.golang.org/api to v0.219.0 (#1296)
- fbb0833 chore(deps): update module google.golang.org/api to v0.218.0 (#1294)
- c66cb56 Add test to conver unit parssing for G115 rule (#1293)
- 59291a0 Update to go version 1.23.5 and 1.22.11 (#1291)
- 7466b7c chore(deps): update all dependencies (#1290)
- 32dcc8a Update gosec in github action to 2.22.0 (#1286)