Skip to content

Merge branch 'master' into fix-semgrep-issues-2

c4853c3
Select commit
Loading
Failed to load commit list.
Open

Replace time.After with a timer created only once for a function call. #1966

Merge branch 'master' into fix-semgrep-issues-2
c4853c3
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / gosec failed Apr 20, 2026 in 4s

2 new alerts including 2 errors

New alerts in code changed by this pull request

  • 2 errors

Alerts not introduced by this pull request might have been detected because the code changes were too large.

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 160 in pkg/node/peers/score_selector.go

See this annotation in the file changed.

Code scanning / gosec

Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) Error

Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand)

Check failure on line 968 in pkg/proto/proto.go

See this annotation in the file changed.

Code scanning / gosec

Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) Error

Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand)