Skip to content

Latest commit

ย 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›ก๏ธ Scam Shield

The scam detection engine that analyzes messages, URLs, crypto addresses, and phone numbers โ€” before you click, send, or lose money.

Scammers cast a wide net. Most people rely on gut feeling to spot them. Scam Shield gives you an instant risk score on anything suspicious โ€” a DM, a link, a crypto wallet, a phone number. Paste it in, get an answer.

Works as a Telegram bot, CLI tool, or API. Drop it into your workflow, your family group chat, or your product.

โœจ Key Features

  • Instant risk scoring โ€” 0โ€“100 score with matched pattern explanations
  • Multi-surface detection โ€” Messages, URLs, crypto addresses, phone numbers
  • 100+ scam patterns โ€” Continuously updated detection rules
  • Zero friction โ€” No signup, no install โ€” just paste and check
  • Multiple interfaces โ€” Telegram bot, CLI, or embeddable API
  • Free tier included โ€” 10 checks/day, no credit card required

How It Works

  1. Receive something suspicious โ€” a DM, a link, a crypto wallet, a phone number
  2. Paste it into Scam Shield โ€” via Telegram bot, CLI, or API call
  3. Auto-detection kicks in โ€” identifies whether it's a message, URL, crypto address, or phone number (or specify manually)
  4. Get your answer โ€” instant risk score (0โ€“100) with every matched pattern explained
  5. Make an informed decision โ€” block, ignore, or proceed with caution

What It Detects (100+ patterns)

Surface Patterns Examples
๐Ÿšจ Urgency/fear tactics Messages "Act now!", "Expires soon!", "Limited time!"
๐Ÿ’ฐ Financial manipulation Messages "Guaranteed returns!", "Double your money!"
๐Ÿ‘ฎ Authority impersonation Messages "IRS", "FBI", "Your account is suspended"
๐Ÿ’• Romance scams Messages "I love you", "I'm stranded", "Send money"
โ‚ฟ Crypto scams Messages, Crypto "Connect your wallet", "Free airdrop", "Double your BTC"
๐ŸŽฃ Phishing Messages, URLs "Click here to verify", typosquatting, suspicious TLDs
๐Ÿง  Social engineering Messages "Keep this secret", "Trust me", "Not a scam"
๐Ÿ“ž Phone scams Phones Premium rates, spoofed numbers, scam area codes
๐Ÿ’Ž Dust attacks Crypto Burn addresses, known scam tokens

๐Ÿค– Telegram Bot

Scam Shield runs as a Telegram bot. Check anything suspicious instantly:

  1. Open @ScamShieldBot on Telegram
  2. Forward a suspicious message or paste a link/number/address
  3. Get instant risk score with explanations
  4. No app install, no account โ€” just open and paste

Why It Matters

Every day, millions of people receive messages from "princes," "IRS agents," and "lottery winners." Scam losses topped $1.1 trillion globally in 2023. Scam Shield gives you a fighting chance โ€” instant analysis that works even when you're tired, distracted, or emotionally manipulated.

The ROI is simple: One prevented scam pays for months of Premium.

  • Everyone โ€” You get scam messages daily. Now you can check them instantly.
  • Families โ€” Protect less tech-savvy relatives. Forward suspicious messages and get a verdict.
  • Small businesses โ€” Verify leads, invoices, and links before acting on them.
  • Developers โ€” Drop the API into your product to add scam detection in minutes.
  • Crypto users โ€” Check wallet addresses and token contracts before connecting or sending.

Quick Start

# Analyze a message
echo "Congratulations! You won $10,000! Click here to claim!" | node scanner.js "$(cat)" message | node format.js

# Check a URL
node scanner.js "https://secure-login.xyz/verify" url | node format.js

# Check a crypto address
node scanner.js "0x1234..." crypto | node format.js

# Auto-detect input type
node scanner.js "suspicious message or url or address" | node format.js

Scoring

Score Category Meaning
70-100 ๐Ÿšจ HIGH_RISK Strong scam indicators. Do not engage.
40-69 โš ๏ธ SUSPICIOUS Some red flags. Verify before acting.
15-39 โšก LOW_RISK Minor indicators. Usually safe.
0-14 โœ… CLEAN No scam indicators detected.

Example Output

๐Ÿ“Š SCAM SHIELD ANALYSIS

๐Ÿ” Input Type: Message
๐Ÿšจ Risk Score: 85/100 (HIGH_RISK)

Matched Patterns:
โ€ข "Congratulations! You won" โ†’ Prize/lottery scam
โ€ข "Click here to claim" โ†’ Phishing attempt
โ€ข "$10,000" โ†’ Unrealistic prize value
โ€ข "Act now!" โ†’ Urgency/fear tactics

โš ๏ธ VERDICT: Do not engage. This is a classic prize scam.

Setup

Prerequisites: Node.js 18+ and npm.

# Clone and install
git clone https://github.com/Clawthority/scam-shield.git
cd scam-shield
npm install

# Set up environment (optional โ€” works without API keys for basic checks)
cp .env.example .env
# Edit .env with your config

# Run a quick test
node scanner.js "Congratulations! You won $10,000!" message | node format.js

Monetization

Tier Price Features
Free $0 10 checks/day via Telegram
Premium $5/month Unlimited checks, family protection
Business API $100/month Unlimited API calls, webhook integration
Enterprise $500/month White-label, custom patterns, priority support

Related Products

  • Scam Academy โ€” Train yourself to spot scams with interactive simulations. Scam Shield detections feed directly into Scam Academy training scenarios.

What's New (v1.0)

  • 100+ scam patterns โ€” Continuously updated detection rules across all surfaces
  • Phone number detection โ€” Check suspicious phone numbers against known scam patterns
  • CLI and API โ€” Multiple interfaces for developers and power users

Contributing

Issues and PRs welcome. To add new scam patterns, edit the pattern files in patterns/ and run the test suite:

npm test

License

MIT

About

๐Ÿ›ก๏ธ Multi-surface scam detection engine. 100+ patterns across messages, URLs, crypto, and phones.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages