Add Insecure Randomness Query (CWE-338)

This commit is contained in:
Maiky
2023-10-21 17:23:41 +02:00
parent b46174f464
commit 35d390ad06
9 changed files with 232 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
edges
nodes
| InsecureRandomness.rb:6:42:6:57 | call to rand | semmle.label | call to rand |
subpaths
#select
| InsecureRandomness.rb:6:42:6:57 | call to rand | InsecureRandomness.rb:6:42:6:57 | call to rand | InsecureRandomness.rb:6:42:6:57 | call to rand | This uses a cryptographically insecure random number generated at $@ in a security context. | InsecureRandomness.rb:6:42:6:57 | call to rand | call to rand |