Yokka Stars

ScamShield - Telegram Anti-Scam Bot & Mini App (Node.js Source)

ScamShield - Telegram Anti-Scam Bot & Mini App (Node.js Source)

Seller: gevDev

Price: 14.90 USD

Available. The final price depends on the selected options and is checked before payment.

Product description

People do not lose money on "obvious" scams. They lose it on messages that look almost right: a "bank" that already knows their name, a delivery fee for a parcel they are waiting for, a friend asking to "confirm a code". ScamShield explains what exactly is wrong, so a non-technical person can decide instead of guessing.

It is a Telegram bot plus a Mini App on a transparent rule engine: 26 rules for links and text, 3 compound rules, a weighted 0–100 score and three levels — clean, suspicious, dangerous. No external APIs, no LLMs, no data leaving your server.

What it detects:

  • Links: punycode and mixed-alphabet domains, Cyrillic hosts outside `.рф`, raw IP hosts, `@` tricks, non-standard ports, long subdomain chains, URL shorteners, high-risk TLDs, plain `http://`, brand look-alikes (26 brands)
  • Text: requests for an SMS code, password, PIN, CVV or card details; "safe account" schemes; AnyDesk/TeamViewer remote access; APK from a chat; urgency and threats; impersonation of a bank or support; prize and refund bait; guaranteed income; delivery fees; money requests; too-easy jobs; invisible characters; all-caps text
  • Compound patterns: prize + link, code request + urgency, fake "support" with a look-alike link

What you get:

  • Telegram bot (grammY): forward or paste a message and get a compact verdict with reasons; `/history`, `/lang`, "Open app" button
  • Mini App: verdict card with score bar, reasons with weights, extracted links, advice, recent checks, example chips, RU/EN toggle, light and dark Telegram themes
  • HTTP API with HMAC `initData` validation, per-IP rate limits, demo mode for local work
  • JSON storage in one file (atomic writes, no database), history capped at 500 entries, 140-character preview only
  • Pure engine in one file (`src/scam.js`): `analyze(text)` returns score, level, reasons and links
  • 27 automated tests (`node:test`): main schemes, false positives, link flags, thresholds, API contract, `initData` signing
  • README with API table, configuration and honest limitations
  • Commercial license: use it for your own project, resale of the source is forbidden

Who it's for:

  • Telegram channel and community admins who want a "is this a scam?" button for their audience
  • Support teams that receive suspicious screenshots and forwarded SMS every day
  • Families and small businesses that want a private checker
  • Developers who need a clean, tested scam-rule core to build on

Honest limitations — please read:

  • ScamShield is a heuristic, not a verdict. It can miss a scam and it can flag a legitimate message.
  • It does not open links, query WHOIS or blocklists, or run code from messages. Only the text is analyzed.
  • The brand list and rule set are fixed; new schemes need new rules (plain JavaScript, a few lines each).
  • It is not an antivirus, a browser extension or a mail gateway.
  • The bot receives the sent text and stores a short preview in `db.json`. Informing your users is your responsibility.
  • Not a legal, financial or security-audit service.

Additional information

Requirements: Node.js 20+, a Telegram bot token from @BotFather and a public HTTPS address for the Mini App (PUBLIC_URL) — any VPS, Railway, Render or Fly.io works. The UI also runs locally in demo mode without a token.

Not included: hosting, domain and HTTPS certificate; Telegram verification, business account or Stars billing; live threat intelligence, WHOIS, antivirus scanning, screenshot/OCR analysis; user accounts and an admin panel beyond bot commands; legal review of your data-protection duties.