Skip to content

Commit

Permalink
new rule to detect the usage of rand() function
Browse files Browse the repository at this point in the history
  • Loading branch information
htrgouvea committed Jan 4, 2025
1 parent 64b471b commit f1225f7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion rules/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,10 @@ rules:
name: Weak Criptography Algorithm
message: Weak algorithms like MD5 are susceptible to various attacks and should be avoided in favor of stronger alternatives to ensure the security of sensitive data.
sample:
- md5
- md5
- id: '0005'
category: vuln
name: Weak Random Value Generator
message: Weak random value generators can lead to predictable values, which can be exploited by attackers to bypass security controls.
sample:
- rand

0 comments on commit f1225f7

Please sign in to comment.