Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rules.go typo #1146

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/services/engines/javascript/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func NewNoUseSHA1Hashing() *text.Rule {
return &text.Rule{
Metadata: engine.Metadata{
ID: "HS-JAVASCRIPT-5",
Name: "No use SAH1 hashing",
Name: "No use SHA1 hashing",
Description: "The SHA1 hash algorithm that was used is considered weak. It can also cause hash collisions. It is always recommended to use some CHF (Cryptographic Hash Function), which is mathematically strong and not reversible. SHA512 would be the most recommended hash for storing the password and it is also important to adopt some type of Salt, so that the Hash is more secure. For more information checkout the CWE-327 (https://cwe.mitre.org/data/definitions/327.html) advisory.",
Severity: severities.High.ToString(),
Confidence: confidence.Medium.ToString(),
Expand Down