Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

[TESTING][IGNORE] testing sast rules #59514

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

shivasurya
Copy link
Contributor

Testing semgrep sast rules

Test plan

  • test semgrep rules

@cla-bot cla-bot bot added the cla-signed label Jan 11, 2024
@@ -2,9 +2,12 @@

import (
"context"
"math/rand"

Check warning

Code scanning / Semgrep

Semgrep Finding: security-semgrep-rules.semgrep-rules.golang.math-random-used

Do not use `math/rand`. Use `crypto/rand` instead.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant