SMS Firewall: The Only Way to Beat Modern Scammers
Using n8n + Local AI, I built a personal AI firewall for SMS spam, OTP fraud, and useless alerts
TL;DR
📵 My phone shows zero SMS notifications
🤖 All SMS are processed by n8n + local AI (Qwen)
📬 Only important messages (like real OTPs) send via telegram notification
🛡️ Spam, promos, and scam messages are silently filtered
👴 Real benefit when used as guardian covering families that can generate alerts for fraudulent financial transactions
🏠 Runs fully locally, no cloud AI, full control
The Problem: SMS Is a Security Nightmare
My phone receives:
Bank OTPs
Delivery alerts
Login codes
Promotions
Obvious scams
And increasingly… very convincing phishing messages
Important messages get buried. Worse, senior citizens in the family are especially vulnerable to:
“Your account will be blocked”
“Click here to verify KYC”
“Urgent: call this number”
This is not just annoying any more. It’s a security problem.
The Idea: Build an AI Firewall for SMS
Instead of trying to mentally filter messages, I decided:
Let software do it. Automatically. Reliably.
So I built this:
📱 Phone receives SMS
⚙️ Tasker app sends SMS to n8n Webhook
🤖 n8n sends it to local AI (Qwen)
🧠 AI classifies the message:
OTP?
Bank alert?
Important?
Spam?
Scam?
🗃️ Message is logged in NocoDB (future data analysis on patterns)
🚦 Rules decide what happens next
📬 Only important messages go to Telegram
And then:
📵 I turned OFF all SMS notifications on the phone.
The Result: Telegram Is Now My Smart Inbox
✅ No spam
✅ No promos
✅ No fake messages
✅ Only real, relevant alerts
✅ Clean, quiet phone
✅ Full audit trail in database
Telegram becomes my filtered, intelligent SMS inbox.
Why Local AI (Qwen)?
🔒 No privacy leakage
⚡ Fast
🏠 Runs on my own machine (proxmox/ollama host in this case)
💸 Zero per-message cost
🧠 Fully customizable prompts and rules
This is not a “toy chatbot” use case. This is real automation.
The Most Powerful Use Case: OTP Protection
This is where it gets serious.
Instead of:
“Any message with numbers = OTP”
I can do:
Check bank name
Check service name
Check context
Check time window
Check expected flow
Only then:
🚨 Send alert to Telegram
Everything else is ignored or logged silently.
The Bigger Plan: Protecting Family (Especially Seniors)
Next step:
Install this on family phones
Especially for senior citizens
All SMS go through AI filter
Only safe, verified, important messages reach them
Suspicious messages:
Auto-blocked
Or sent to me for review
This becomes a fraud firewall for humans.
Why This Matters
Scams are no longer stupid.
They look real.
They use real names.
They mimic real banks.
But:
AI + automation can outscale scammers.
The Philosophy
Don’t fight spam.
Architect it out of your life.
Final Thoughts
This is one of those systems that, once built, you forget it exists.
Your phone is silent.
Your mind is calm.
Important things still reach you.
Everything else disappears.
That’s the best kind of automation. 😌




