Skip to content

Commit

Permalink
adding a new case detection
Browse files Browse the repository at this point in the history
  • Loading branch information
sobregosodd committed Sep 10, 2024
1 parent af891f9 commit 247b6ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions guarddog/analyzer/sourcecode/npm-exec-base64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ rules:
pattern-sources:
- pattern-either:
- pattern: Buffer.from(...)
- pattern: '"..."'
- pattern: atob(...)
pattern-sinks:
- pattern-either:
- patterns:
- pattern-inside: |
$FN = new Function(...)
...
- pattern: $FN(...)
- pattern: eval(...)
- patterns:
- pattern: eval(...)

0 comments on commit 247b6ea

Please sign in to comment.