riskengine / src /bmc /config /app.yaml
datavorous's picture
intial commit
28779c1 verified
raw
history blame contribute delete
484 Bytes
requests:
user_agent: "Mozilla/5.0 (X11; Linux x86_64) Gecko/20100101 Firefox/120.0"
timeout_seconds: 10
max_redirects: 5
weights:
restricted_domain: 60
strong_keyword: 30
weak_keyword: 10
has_nsfw: 40
redirect_penalty: 15
shortener_penalty: 20
thresholds:
high_confidence_points_min: 40
medium_score_min: 30
fuzzy:
keyword_threshold: 80
domain_threshold: 90
shortener_domains:
- bit.ly
- linktr.ee
- cutt.ly
api:
host: "127.0.0.1"
port: 8000