Skip to content

Commit

Permalink
Merge pull request #476 from DataDog/s.obregoso/improve_shady_links
Browse files Browse the repository at this point in the history
Enhance shady links rule
  • Loading branch information
sobregosodd authored Oct 28, 2024
2 parents 6f283f1 + 5c1cff9 commit 8bb9532
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions guarddog/analyzer/sourcecode/shady-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ rules:
- pattern: ("...")
- pattern-either:
# complete domains
- pattern-regex: ((?:https?:\/\/)?[^\n\[\/\?#"']*?(bit\.ly|discord\.com|workers\.dev|transfer\.sh|filetransfer\.io|sendspace\.com|appdomain\.cloud|backblazeb2\.com\|paste\.ee|ngrok\.io|termbin\.com|localhost\.run|webhook\.site|oastify\.com|burpcollaborator\.me)\/)
- pattern-regex: ((?:https?:\/\/)?[^\n\[\/\?#"']*?(oast\.(pro|live|site|online|fun|me)|api\.telegram\.org|rentry\.co)\/)
- pattern-regex: ((?:https?:\/\/)?[^\n\[\/\?#"']*?(bit\.ly|discord\.com|workers\.dev|transfer\.sh|filetransfer\.io|sendspace\.com|appdomain\.cloud|backblazeb2\.com\|paste\.ee|ngrok\.io|termbin\.com|localhost\.run|webhook\.site|oastify\.com|burpcollaborator\.me)\b)
- pattern-regex: ((?:https?:\/\/)?[^\n\[\/\?#"']*?(oast\.(pro|live|site|online|fun|me)|api\.telegram\.org|rentry\.co|ngrok-free\.(app|dev))\b)
# top-level domains
- pattern-regex: (https?:\/\/[^\n\[\/\?#"']*?\.(link|xyz|tk|ml|ga|cf|gq|pw|top|club|mw|bd|ke|am|sbs|date|quest|cd|bid|cd|ws|icu|cam|uno|email|stream)\/)
# IPv4
Expand All @@ -46,6 +46,7 @@ rules:
- "*/test_*"
languages:
- javascript
- json
- python
- typescript
- go
Expand Down

0 comments on commit 8bb9532

Please sign in to comment.