Skip to content

Instantly share code, notes, and snippets.

@rohitnss
Last active Jul 31, 2020
Embed
What would you like to do?
rules:
- id: md5.crypto
message: |
Search for MD5
severity: ERROR
patterns:
- pattern-either:
- pattern-regex: 'MD5'
- pattern-regex: 'Md5'
- pattern-regex: 'md5'
- pattern-inside: MessageDigest $MD = $W.getInstance(...);
languages:
- java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment