Skip to content

Commit

Permalink
Update typosquat.rego
Browse files Browse the repository at this point in the history
  • Loading branch information
furi0us333 authored Jul 11, 2024
1 parent 8b6d466 commit 3b89493
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typosquat.rego
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ deny contains typosquat_issue if {
some typosquat_issue in dependency.issues
typosquat_issue.tag == "HM0008"

some i
count([d | dependency.issues[i].domain == domain.MALICIOUS; d := dependency.issues[i].domain]) > 1
}

0 comments on commit 3b89493

Please sign in to comment.