fix(deps): update module github.com/securego/gosec/v2 to v2.25.0#858
Conversation
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
|
Hi @red-hat-konflux-kflux-prd-rh02[bot]. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: red-hat-konflux-kflux-prd-rh02[bot] The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
79ab149 to
c751798
Compare
c751798 to
60c19a1
Compare
60c19a1 to
b55ef48
Compare
b55ef48 to
ec5a1c0
Compare
Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
ec5a1c0 to
9362c83
Compare
This PR contains the following updates:
v2.20.1-0.20240525090044-5f0084eb01a9->v2.25.0Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
securego/gosec (github.com/securego/gosec/v2)
v2.25.0Compare Source
Changelog
223e19bchore(deps): bump google.golang.org/grpc from 1.75.0 to 1.79.3 (#1617)b23a9e5fix: allow barry action to access secrets on fork PRs (#1616)355cfa5fix: reduce G117 false positives for custom marshalers and transformed values (#1614) (#1615)744bfb5Add barry security scanner as a step in the CI (#1612)4fde15dchore(deps): update all dependencies (#1611)dec52c4fix: prevent taint analysis hang on packages with many CHA call graph edges (#1608) (#1610)a0de8b6Add some skills for claude code to automate some tasks (#1609)c2dfcecAdd G701-G706 rule-to-CWE mappings and CWE-117, CWE-918 entries (#1606)8aec3f4fix: skip SSA analysis on ill-typed packages to prevent panic (#1607)1ced32dPort G120 from SSA-based to taint analysis (fixes #1600, #1603) (#1605)befce8dfix(G118): eliminate false positive for package-level cancel variables (#1602)b7b2c7bfeat: add G124 rule for insecure HTTP cookie configuration (#1599)6e66a94feat: add G709 rule for unsafe deserialization of untrusted data (#1598)e7ea237feat: add G708 rule for server-side template injection via text/template (#1597)8895462fix(G118): eliminate false positive when cancel is called via struct field in a closure (#1596)619ce21Fix infinite recursion in interprocedural taint analysis (#1594)0e0eb17Fix G118 false positive when cancel is stored in returned struct field (#1593)59a9da0Fix G118 false positive on cancel called inside goroutine closure (#1592)cbf46b8fix(analyzer): per-package rule instantiation eliminates concurrent map crash (#1589)c6c3ba8chore(deps): update all dependencies (#1588)c709ed8fix(G118): treat returned cancel func as called (fixes #1584) (#1585)fa74dd7chore(go): update supported Go versions to 1.25.8 and 1.26.1 (#1583)cd1f29eUpdate the README with the correct version of the Github action for gosec (#1582)5887aeechore(deps): update all dependencies (#1579)6641fcfFix G115 false positives for guarded int64-to-byte conversions (#1578)3c9c3daUpdate the container image migration notice (#1576)973e94echore(action): bump gosec to 2.24.7 (#1575)v2.24.7Compare Source
Changelog
bb17e42Ignore nosec comments in action integration workflow to generate some warnings (#1573)e1502adAdd a workflow for action integration test (#1571)f8691bdfix(sarif): avoid invalid null relationships in SARIF output (#1569)ade1d0echore: migrate gosec container image references to GHCR (#1567)v2.24.6Compare Source
Changelog
88835e8Update gorelease to use the latest cosign bundle argument (#1565)v2.24.5Compare Source
v2.24.4Compare Source
v2.24.3Compare Source
v2.24.2Compare Source
v2.24.1Compare Source
v2.24.0Compare Source
Changelog
271492bfix: G704 false positive on const URL (#1551)1341aeafix(G705): eliminate false positive for non-HTTP io.Writer (#1550)f2262c8G120: avoid false positive when MaxBytesReader is applied in middleware (#1547)5b580c7Fix G602 regression coverage for issue #1545 and stabilize G117 TOML test dependency (#1546)eba2d15taint: skipcontext.Contextarguments during taint propagation to fix false positives (#1543)a6381c1test: add missing rules to formatter report tests (#1540)fea9725chore(deps): update all dependencies (#1541)f3e2facRegenrate the TLS config rule (#1539)200461fImprove documentation (#1538)078a62aExpand analyzer-core test coverage for orchestration, go/analysis adapter logic, and taint integration (#1537)ffdc620Add unit tests for CLI orchestration, TLS config generation, and SSA cache behavior (#1536)c13a486Add G707 taint analyzer for SMTP command/header injection (#1535)f61ed31Add G123 analyzer for tls.VerifyPeerCertificate resumption bypass risk (#1534)b568aa1Add G122 SSA analyzer for filepath.Walk/WalkDir symlink TOCTOU race risks (#1532)1735e5afix(G602): avoid false positives for range-over-array indexing (#1531)caf93d0Improve taint analyzer performance with shared SSA cache, parallel analyzer execution, and CI regression guard (#1530)bd11fbefix: taint analysis false positives with G703,G705 (#1522)e34e8ddExtend the G117 rule to cover other types of serialization such as yaml/xml/toml (#1529)b940702Fix the G117 rule to take the JSON serialization into account (#1528)4f84627(docs) fix justification format (#1524)36ba72bAdd G121 analyzer for unsafe CORS bypass patterns in CrossOriginProtection (#1521)238f982Add G120 SSA analyzer for unbounded form parsing in HTTP handlers (#1520)89cde27Add G119 analyzer for unsafe redirect header propagation in CheckRedirect callbacks (#1519)14fdd9cFix G115 false positives and negatives (Issue #1501) (#1518)cec54ecchore(deps): update all dependencies (#1517)2b2077eAdd G118 SSA analyzer for context propagation failures that can cause goroutine/resource leaks (#1516)a7666f3Add G113: Detect HTTP Request Smuggling via conflicting headers (CVE-2025-22891, CWE-444) (#1515)47f8b52Add G408: SSH PublicKeyCallback Authentication Bypass Analyzer (#1513)4f1f362Add more unit tests to improve coverage (#1512)9344582Improve test coverage in various areas (#1511)8d1b2c6Imprve the test coverage (#1510)993c1c4Fix incorrect detection of fixed iv in G407 (#1509)8668b74Add support for go 1.26.x and removed support for go 1.24.x (#1508)514225cFix the sonar report to follow the latest schema (#1507)000384efix: broken taint analysis causing false positives (#1506)616192cfix: panic on float constants in overflow analyzer (#1505)79956a3fix: panic when scanning multi-module repos from root (#1504)5736e8bfix: G602 false positive for array element access (#1499)1b7e1e9Update gosec to version v2.23.0 in the Github action (#1496)v2.23.0Compare Source
Changelog
398ad54feat: Support for adding taint analysis engine (#1486)6eacd5cchore(deps): update all dependencies (#1494)181a7cbchore(deps): update all dependencies (#1494)e2fa6abchore(deps): update all dependencies (#1488)eb252baFix G602 analyzer panic that kills gosec process (#1491)20d71a0update go version to 1.25.7 (#1492)a631af8Fix URL regexp and remove redundant Google regex patterns (#1485)8968502feat: implement global cache usage in rules (#1480)04f729cchore(deps): update module google.golang.org/genai to v1.43.0 (#1484)ade0e8frefactor: optimize nosec parsing and reduce allocations (#1478)d24bbf7Fix SARIF artifactChanges null validation error (#1483)15cba7ffeat: optimize GetCallInfo with per-package sync.Pool caching (#1481)5288673feat: implement entropy pre-filtering to optimize secret detection (#1479)d9a9bcdfeat: ensure GoVersion is cached using sync.Once (#1477)516260aFix #1240: nosec comments now work with trailing open brackets (#1475)be0fd6dDebug Build Profiling Support: Code improvement suggestions for PR#1471 (#1476)b579523Update the go version to 1.25.6 and 1.24.12 (#1474)bd3c738G115: Enhance RangeAnalyzer with constant propagation and chained arithmetic support (#1470)6897b36chore(deps): update all dependencies (#1473)9f20212feat: support path-based rule exclusions via exclude-rules (#1465)726d847Optimize analyzer with parallel package processing (#1466)3150b28feat: add goanalysis package for nogo (#1449)7284e15Refactor Analyzers: Unify Range Logic & Optimize Allocations (#1464)7a4ccefOptimize G115, G602, G407 analyzers to reduce allocations and memory (#1463)833d791refactor(g115): improve coverage (#1462)0cc9e01Refine G407 to improve detection and coverage of hardcoded nonces (#1460)303f84dchore(deps): update all dependencies (#1461)7387d22Refactor rules to use callListRule base structure (#1458)52f5dbffeat(slice): enhance slice bounds analysis with dynamic bounds handling (#1457)649e2c8remove deprecated ast.Object (#1455)35a92b4feat(sql): enhance SQL injection detection with improved string concatenation checks (#1454)bc9d2bcfeat(rules): enhance subprocess variable checks (#1453)8a5404efeat(resolve): enhance TryResolve to handle KeyValueExpr, IndexExpr, and SliceExpr (#1452)0f6f21cfeat: add secrets serialization G117 (#1451)717706efeat(rules): add support for detecting high entropy strings in composite literals (#1447)082deb6whitelist crypto/rand Read from error checks (#1446)095d529chore(deps): update all dependencies (#1443)c073629Improve slice bound check (#1442)538a05cdocs: add documentation for using gosec with private modules (#1441)2580437chore(deps): update all dependencies (#1440)872b331docs: add G116 rule description to README (#1439)dcf93a8Update GitHub action to gosec 2.22.11 (#1438)v2.22.11Compare Source
Changelog
424fc4cfeature: add rule for trojan source (#1431)aa2e2fbfeat(ai): add OpenAI and custom API provider support (#1424)b6eea26chore: Migrate from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 (#1437)41f28e2chore(deps): update module google.golang.org/genai to v1.37.0 (#1435)daccba6refactor: simplify report functions in main.go (#1434)d4be287Update go to 1.25.5 and 1.24.11 in CI (#1433)fde7515chore(deps): update all dependencies (#1425)20c9506feat(ai): add support for latest Claude models and update provider flags (#1423)bd9e372Bump golang.org/x/crypto from 0.43.0 to 0.45.0 (#1427)7aa7e93chore(deps): update module golang.org/x/crypto to v0.45.0 [security] (#1428)a58917ffix: correct schema with temporary placeholder (#1418)8b0d0b8perf: skip SSA analysis if no analyzers are loaded (#1419)8a5d01atest: add sarif validation (#1417)a8fefd1chore(deps): update all dependencies (#1421)c34cbbfUpdate go to version 1.25.4 and 1.24.10 in CI (#1415)10cf58afix: build tag parsing. (#1413)d2d7348chore(deps): update all dependencies (#1411)afa853echore(deps): update all dependencies (#1409)6b2e6e4chore(deps): update all dependencies (#1408)0adab9dUpdate gosec to version v2.22.10 in the github action (#1405)v2.22.10Compare Source
Changelog
6be2b51Update go to version 1.25.3 and 1.24.9 in CI (#1404)fddb942chore(deps): update all dependencies (#1402)f676031Update go to version 1.25.2 and 2.24.8 in CI (#1401)35f7ec2chore(deps): update all dependencies (#1399)01029f0check nil slices, partially check bounds (#1396)34db3deRemove unused target from the makefilef5a3b7aUse the ginkgo command install by the dependencies761fcbcKeep the go module at 1.24 version for compatibility reasons2238079Remove manual test depsbb08aa3fix: text must be supplied when markdown is used23597d2fix: improve error message of CheckAnalyzers8d7e9d5fix: log panic on SSA0d8255echore(deps): update all dependenciesf9c52aaUpdate gosec to version v.22.9 in the github actionv2.22.9Compare Source
Changelog
15d5c61Update cosign to v2.6.0 and go in the CI to latest version7b8713efix(autofix): unnecessary conversion64ebfc0feat(autofix): update gemini sdk and add anthropic claude506407efeat(G304): add os.Root remediation hint (Autofix) when Go >= 1.243ead143chore(deps): update all dependenciese81fba3refactor(G304): remove unused trackJoin helper; no functional changeab078dbstyle: gofmt rules/readfile.goe6218c8test(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)79f835drules(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 passed40ac530rules(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 passed4be6b11chore(deps): update all dependencies5af1117chore(deps): update all dependencies287b46cchore(deps): update all dependenciescee0aeaUpdate gosec version to v2.22.8 in the Github actionv2.22.8Compare Source
Changelog
c945302Add support for go version 1.25.0ef7adabUpdate go version in CI to 1.24.6 and 1.23.12e201bb8chore(deps): update all dependenciesba592afchore(deps): update all dependencies2ef6017Update github action to release v2.22.7v2.22.7Compare Source
Changelog
32975f4Fix crash in hardcoded_nonce analyzer6ea6b35Update go action to use release v2.22.6v2.22.6Compare Source
Changelog
bc3f214Update go version to 1.24.5 and 1.23.11 in the CI925741bchore(deps): update module google.golang.org/api to v0.242.059ae7e9chore(deps): update all dependenciese7abd9echore(deps): update all dependencies35e7bc1chore(deps): update all dependencies2d1ed95chore(deps): update all dependencies4a8cb46Do not allow dashes in file namesbcc8afbUpdate gosec to version 2.22.5 in Github actionv2.22.5Compare Source
Changelog
d2d3ae6Switch back go.mod to minimum 1.23.01e7ed06Update dependencies1bef91aUpdate go version 1.24.4 and 1.23.10 in CI621702fchore(deps): update all dependencies017d1d6G201/G202: add checks for injection into sql.Conn methods67f63d4chore(deps): update module google.golang.org/api to v0.235.0b4eabb1chore(deps): update module google.golang.org/api to v0.234.052a80ffchore(deps): update module google.golang.org/api to v0.233.0e2a9506chore(deps): update module google.golang.org/api to v0.232.0v2.22.4Compare Source
Changelog
6decf96Update to go version 1.24.3 and 1.23.9d522338update: updated the build command to include version metadata270b5cechore(deps): update all dependencies6027926Update the AI provider API key value when provided as an argument65d2d9fchore(deps): update module google.golang.org/api to v0.230.0dc1c38bchore(deps): update module google.golang.org/api to v0.229.055dbf5achore(deps): update all dependencies2aaa9c4Comment the reason why the file can be nil when an issue is created700e9a9Handle nil file when creating a new issued514c42chore(deps): update all dependencies (#1333)1d458c5Update version in 'action.yml' to 2.22.3 (anticipating next version (#1332)v2.22.3Compare Source
Changelog
955a68dUpdate go version to 1.24.2 and 1.23.8 (#1331)1336dc6remove G113. It only affects old/unsupported versions of Go (#1328)5fd2a37chore(deps): update all dependencies (#1325)39e4477Add SSOJet (#1320)6141d10chore(deps): update all dependencies (#1319)9452efeUpdate the integrity sha for babel dependency in html report (#1316)57ec633Add support for//gosec:disabledirective (#1314)e5fee17chore(deps): update all dependencies (#1315)v2.22.2Compare Source
Changelog
136f6c0Update to go version 1.24.1 and 1.23.7 (#1313)047453achore(deps): update all dependencies (#1310)76ccee5chore(deps): update all dependencies (#1308)a9eb1c9Update gosec version in the GitHub action to v2.22.1 (#1307)89c5da3chore(deps): update module google.golang.org/api to v0.221.0 (#1305)v2.22.1Compare Source
Changelog
43fee88Update cosign to v2.4.2 (#1303)7723829Add support for go 1.24 and phased out support for go 1.22 (#1302)9552f03chore(deps): update all dependencies (#1300)f4d2576Update to go version 1.23.6 and 1.22.12 (#1299)2258e31chore(deps): update module google.golang.org/api to v0.219.0 (#1296)fbb0833chore(deps): update module google.golang.org/api to v0.218.0 (#1294)c66cb56Add test to conver unit parssing for G115 rule (#1293)59291a0Update to go version 1.23.5 and 1.22.11 (#1291)7466b7cchore(deps): update all dependencies (#1290)32dcc8aUpdate gosec in github action to 2.22.0 (#1286)v2.22.0Compare Source
Changelog
e0cca6fUpdate what message for G104 (#1282)534689bchore(deps): update module github.com/onsi/ginkgo/v2 to v2.22.2 (#1281)eb95db1chore(deps): update all dependencies (#1280)6c6da40chore(deps): update all dependencies (#1279)b12f51fSimplify sortIssues implementation (#1277)54c2185Enable testifylint and fix up lint issues (#1276)36c81edRefactor AppendError to check for build.NoGoError (#1273)9a2d74fchore(deps): update module golang.org/x/net to v0.33.0 [security] (#1275)4c5ad91Update README.md (#1274)e21b4d4Rule documentation updates (#1272)92de0eeReplace old golang.org links with new go.dev (#1271)4fda076Refactor AppendError to use strings.Contains (#1270)b01f49eSimplify Analyzer.ignore by reducing nesting (#1269)b62cc33Improve capitalization in AI API flags descriptions (#1267)bc77d16Remove unused golint dependency (#1266)ef1a35fSimplify tests by using GinkgoT().TempDir() (#1265)09b9143Documentation on adding new rules and analyzers (#1262)1bd92a8chore(deps): update all dependencies (#1268)ca55eca](https://redirect.github.com/securego/gosec/commit/ca55eca3def12Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
To execute skipped test pipelines write comment
/ok-to-test.Documentation
Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.