Actions
SecOps #1407
open
CD
[Sécurité] Vulnérabilité de code : internal/db/db_wallet.go:6 (go.lang.security.audit.crypto.math_random.math-random-used)
SecOps #1407:
[Sécurité] Vulnérabilité de code : internal/db/db_wallet.go:6 (go.lang.security.audit.crypto.math_random.math-random-used)
Status:
Submitted
Priority:
Normal
Assignee:
-
Start date:
07/15/2026
Due date:
% Done:
0%
Estimated time:
spec_ref:
build_status:
build_number:
ci_run_url:
scan_status:
scan_report_url:
deploy_status:
preprod_url:
deployed_at:
branch:
pr_url:
security_key:
internal/db/db_wallet.go:6_go.lang.security.audit.crypto.math_random.math-random-used
severity:
medium
paused:
Description
**Sévérité** : MEDIUM
**Source** : Semgrep
`vuln-medium`
**Emplacement** : internal/db/db_wallet.go:6
**Règle** : go.lang.security.audit.crypto.math_random.math-random-used
Do not use `math/rand`. Use `crypto/rand` instead.
### Extrait de code
```
requires login
```
### Lien CVE
https://cheatsheetseries.owasp.org/cheatsheets/Cryptographic_Storage_Cheat_Sheet.html#secure-random-number-generation
### Recommandations
crypto/rand
Actions