ajinabraham.njsscan.crypto_node.node_sha1

Author
1,155
Download Count*
License
SHA1 is a a weak hash which is known to have collision. Use a strong hashing function.
Run Locally
Run in CI
Defintion
rules:
- id: node_sha1
patterns:
- pattern: |
$X.createHash("sha1")
message: SHA1 is a a weak hash which is known to have collision. Use a strong
hashing function.
languages:
- javascript
severity: WARNING
metadata:
owasp-web: a9
cwe: cwe-327
license: LGPL-3.0-or-later
Short Link: https://sg.run/px0k