Skip to content

Add Scamalytics free mode risk scoring#746

Merged
jahooma merged 5 commits into
mainfrom
jahooma/scamalytics-risk-scoring
May 25, 2026
Merged

Add Scamalytics free mode risk scoring#746
jahooma merged 5 commits into
mainfrom
jahooma/scamalytics-risk-scoring

Conversation

@jahooma
Copy link
Copy Markdown
Contributor

@jahooma jahooma commented May 24, 2026

Adds Scamalytics as a third free-mode IP risk provider alongside IPinfo and Spur. The gate now produces a cached 0-100 risk score, grants full access only when follow-up providers clear suspicious IPinfo signals, limits uncertain traffic, and hard-blocks Cloudflare Tor or strongly corroborated high-risk abuse. The cache migration stores Scamalytics evidence and the computed score so repeat requests do not re-hit paid providers unnecessarily. Validation: focused Bun tests for country/risk/session/chat-completions flows, web typecheck, and git diff whitespace check.

@jahooma jahooma merged commit 117be5a into main May 25, 2026
35 checks passed
@jahooma jahooma deleted the jahooma/scamalytics-risk-scoring branch May 25, 2026 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant