View ssrf.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rules: | |
- id: SSRF | |
message: | | |
Generic SSRF Java | |
metadata: | |
cwe: "CWE-X" | |
owasp: "A1: Injection" | |
severity: ERROR | |
patterns: | |
- pattern-either: |
View crypto.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rules: | |
- id: crypto | |
message: | | |
Insecure Cryptographic Functions being Used. Please investigate further | |
severity: ERROR | |
patterns: | |
- pattern-either: | |
- pattern: | #Identify any parameter value being equated to Strings using equals method | |
$RETURN $METHOD(...,String $VAR, ...) { | |
... |
View crypto1.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rules: | |
- id: md5.crypto | |
message: | | |
Search for MD5 | |
severity: ERROR | |
patterns: | |
- pattern-either: | |
- pattern-regex: 'MD5' | |
- pattern-regex: 'Md5' | |
- pattern-regex: 'md5' |
View sql-3.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rules: | |
- id: sql.injection | |
message: | | |
SQL Injection. | |
metadata: | |
owasp: "A1: Injection" | |
severity: ERROR | |
patterns: | |
- pattern-either: | |
- pattern: | #executeQuery |
View sql-2.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rules: | |
- id: sql.injection | |
message: | | |
SQL Injection. | |
metadata: | |
owasp: "A1: Injection" | |
severity: ERROR | |
patterns: | |
- pattern: | #executeQuery | |
$RETURN $METHOD(...,String $VAR, ...) { |
View sql-1.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rules: | |
- id: sql.injection | |
message: | | |
SQL Injection. | |
metadata: | |
owasp: "A1: Injection" | |
severity: ERROR | |
patterns: | |
- pattern: $SQL = $X + $Y + $Z; | |
languages: |