Recognize disguised text
A normalizer converts substituted Latin and Greek letters and digits back to Cyrillic. The engine checks keywords, regular expressions, links, duplicates and flooding, summing up a risk weight
Telegram · Moderation · 2026
A bot and admin panel protect a network of city Telegram marketplaces: they detect disguised spam, delete messages and restrict offenders
Problem
Spammers disguise words by swapping letters and digits, rephrase their messages and use different accounts. Strict stop words get in the way of honest sellers, while soft ones let scams through. What is needed is protection that can be quickly tuned to new attacks
Scale and results
Facts from project materialsgroups under protection
active rules
moderation log entries
"ban" decisions in the log
What was done
A normalizer converts substituted Latin and Greek letters and digits back to Cyrillic. The engine checks keywords, regular expressions, links, duplicates and flooding, summing up a risk weight
Each group has its own thresholds: allow, delete, restrict or ban. The backend makes the decision and writes it to the log, and the bot carries out the action in Telegram. New groups are connected through an observation mode
The admin panel combines the log, offenders, groups, a rule editor and a sandbox. False-positive flags help calibrate thresholds and test new rules on real messages
FastAPI, aiogram, Next.js, PostgreSQL and Redis run in Docker. A response validation bug that prevented flood bans from being executed was fixed; backups and access protection for the API and the panel were set up
Spam in Telegram groups is not a single message, it's a constantly changing stream. I explain how the moderation service for 19 groups in five countries works and why simple stop words are not enough
Outcome
Metrics are from project materials as of October 17, 2026. Log entries and decisions are not equal to the total number of messages read or unique offenders. The service is closed; personal data and internal credentials are not published