Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Changelog

## 0.1.0 - 2026-11-27
All notable changes to this project are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.1.0] - 2026-11-27

### Added
- First India ruleset: block 140 promotional series, call-centre landline ranges, Bengaluru call-centre blocks and bulk telemarketing mobile ranges; allow 1601 delivery/utility series; optional strict file blocks 1600.
- One-click SpamBlocker import files and plain regex lists.
- Unblock-request and new-pattern issue templates.

[Unreleased]: https://github.com/wasimness/spamwall/compare/v0.1.0...HEAD
[0.1.0]: https://github.com/wasimness/spamwall/releases/tag/v0.1.0
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
- Never add official service series (India: 1600, 1601) to `block.txt`.
- Never commit personal phone numbers or call logs.
- After editing, run `python -I tools/build_spamblocker.py` and commit the rebuilt files in `spamblocker/`.
- False positives are fixed first: an unblock request outranks a new block.
- Fix false positives first. An unblock request outranks a new block.
21 changes: 17 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
# spamwall

Pattern-based spam-call block rules you can import in one click. Built for [SpamBlocker](https://github.com/aj3423/SpamBlocker) on Android; the plain regex lists work in any blocker that accepts regular expressions.
![spamwall: spam call and SMS block patterns for India](assets/banner.svg)

The first ruleset is **India**. It blocks whole number ranges used by telemarketers and call centres instead of single numbers. Calls from shopping, delivery, ride and payment apps, from your contacts, and from official service lines are never blocked.
**For Indian phone numbers (+91), calls and SMS.** spamwall is a set of pattern-based block rules you can import in one click. It is built for [SpamBlocker](https://github.com/aj3423/SpamBlocker) on Android; the plain regex lists work in any blocker that accepts regular expressions.

It blocks whole number ranges used by telemarketers and call centres instead of single numbers. Every rule filters both calls and SMS. Calls and messages from shopping, delivery, ride and payment apps, from your contacts, and from official service lines are never blocked.

> SMS filtering works only when **SMS** is switched on under *Settings > Screening* in SpamBlocker; follow the setup prompt it shows.
## The app: SpamBlocker

spamwall's import files are made for **[SpamBlocker](https://github.com/aj3423/SpamBlocker)**, a free, open-source call and SMS blocker for Android by aj3423. It is the app the maintainer uses every day with these rules.

- Get it from [F-Droid](https://f-droid.org/packages/spam.blocker/) or the [GitHub releases page](https://github.com/aj3423/SpamBlocker/releases).
- It runs on your phone with no account, and number checks happen on the device.
- Questions about the app itself go to the [SpamBlocker repository](https://github.com/aj3423/SpamBlocker/issues); questions about these rules go [here](../../issues).

spamwall is a separate community project and is not made by or affiliated with SpamBlocker.

## Quick start (SpamBlocker)

1. In SpamBlocker, export a backup first: **Settings > Backup > Export**. An import replaces your number rules.
2. Download [`spamblocker/spamwall-in.gz`](spamblocker/spamwall-in.gz) to your phone.
3. **Settings > Backup > Import**, pick the file, keep only **Others** and **Regex Settings** under *Include Settings*, then tap **Import**.
4. **Settings > Recent Apps**: switch on the apps you use from [`rules/in/allow-apps.txt`](rules/in/allow-apps.txt) and set the time to 120 minutes, so delivery riders and drivers on masked numbers get through.
4. **Recent Apps** comes pre-filled with the shopping, delivery, ride, payment and government apps in [`rules/in/allow-apps.txt`](rules/in/allow-apps.txt), set to 120 minutes. If you used one of them in the last 2 hours, any call gets through, so delivery riders and drivers on masked numbers reach you. Apps you have not installed are ignored. Add your own bank and broker apps in **Settings > Recent Apps**.
5. Check that **Contacts**, **Repeated Call**, **Dialed Number** and **Answered Number** are on.

Want bank and insurance service calls blocked too? Use `spamwall-in-strict.gz` instead, and add your own banks' 1600 numbers to your contacts first.
Expand Down Expand Up @@ -54,7 +67,7 @@ Numbers are matched without `+91` or a leading `0`.

## Blocked by mistake?

Open an [**Unblock request**](../../issues/new?template=unblock-request.yml). Give the number (or its first digits), the company and why it is legitimate. Rules that block real businesses are narrowed or removed.
Open an [**Unblock request**](../../issues/new?template=unblock-request.yml). Give the number (or its first digits), the company and why it is legitimate. If a rule blocks a real business, we narrow it or remove it.

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

- Never post personal phone numbers, call logs, contact lists or app backups in issues or pull requests. Only spam numbers and number ranges belong here.
- The import files contain rules only: no API tokens, history, contacts or personal settings.
- Report a security or privacy problem privately through GitHub's "Report a vulnerability" on this repository.
- Report any security or privacy problem privately through GitHub's "Report a vulnerability" on this repository.
16 changes: 16 additions & 0 deletions assets/banner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion rules/in/allow-apps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ com.flipkart.android # Flipkart
com.myntra.android # Myntra
com.meesho.supply # Meesho
com.jio.jiomart # JioMart
com.nykaa.android # Nykaa (verify package)
# Quick commerce / food delivery
in.swiggy.android # Swiggy
com.application.zomato # Zomato
Expand All @@ -21,3 +20,6 @@ com.phonepe.app # PhonePe
net.one97.paytm # Paytm
com.google.android.apps.nbu.paisa.user # Google Pay
com.jio.myjio # MyJio
com.paypal.android.p2pmobile # PayPal
com.transferwise.android # Wise
in.gov.umang.negd.g2c # UMANG (government services)
Binary file modified spamblocker/spamwall-in-strict.gz
Binary file not shown.
65 changes: 65 additions & 0 deletions spamblocker/spamwall-in-strict.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,71 @@
"minDuration": 15,
"inXDay": 7
},
"recentApps": {
"list": [
{
"pkgName": "in.amazon.mShop.android.shopping"
},
{
"pkgName": "com.flipkart.android"
},
{
"pkgName": "com.myntra.android"
},
{
"pkgName": "com.meesho.supply"
},
{
"pkgName": "com.jio.jiomart"
},
{
"pkgName": "in.swiggy.android"
},
{
"pkgName": "com.application.zomato"
},
{
"pkgName": "com.grofers.customerapp"
},
{
"pkgName": "com.zeptoconsumerapp"
},
{
"pkgName": "com.bigbasket.mobileapp"
},
{
"pkgName": "com.ubercab"
},
{
"pkgName": "com.rapido.passenger"
},
{
"pkgName": "com.olacabs.customer"
},
{
"pkgName": "com.phonepe.app"
},
{
"pkgName": "net.one97.paytm"
},
{
"pkgName": "com.google.android.apps.nbu.paisa.user"
},
{
"pkgName": "com.jio.myjio"
},
{
"pkgName": "com.paypal.android.p2pmobile"
},
{
"pkgName": "com.transferwise.android"
},
{
"pkgName": "in.gov.umang.negd.g2c"
}
],
"inXMin": 120
},
"numberRules": {
"rules": [
{
Expand Down
Binary file modified spamblocker/spamwall-in.gz
Binary file not shown.
65 changes: 65 additions & 0 deletions spamblocker/spamwall-in.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,71 @@
"minDuration": 15,
"inXDay": 7
},
"recentApps": {
"list": [
{
"pkgName": "in.amazon.mShop.android.shopping"
},
{
"pkgName": "com.flipkart.android"
},
{
"pkgName": "com.myntra.android"
},
{
"pkgName": "com.meesho.supply"
},
{
"pkgName": "com.jio.jiomart"
},
{
"pkgName": "in.swiggy.android"
},
{
"pkgName": "com.application.zomato"
},
{
"pkgName": "com.grofers.customerapp"
},
{
"pkgName": "com.zeptoconsumerapp"
},
{
"pkgName": "com.bigbasket.mobileapp"
},
{
"pkgName": "com.ubercab"
},
{
"pkgName": "com.rapido.passenger"
},
{
"pkgName": "com.olacabs.customer"
},
{
"pkgName": "com.phonepe.app"
},
{
"pkgName": "net.one97.paytm"
},
{
"pkgName": "com.google.android.apps.nbu.paisa.user"
},
{
"pkgName": "com.jio.myjio"
},
{
"pkgName": "com.paypal.android.p2pmobile"
},
{
"pkgName": "com.transferwise.android"
},
{
"pkgName": "in.gov.umang.negd.g2c"
}
],
"inXMin": 120
},
"numberRules": {
"rules": [
{
Expand Down
1 change: 1 addition & 0 deletions tools/build_spamblocker.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def build(cc, strict):
"repeatedCall": {"enabled": True, "times": 1, "inXMin": 5},
"dialed": {"enabled": True, "smsEnabled": True, "always": False, "inXDay": 7},
"answered": {"warningAcknowledged": True, "enabled": True, "minDuration": 15, "inXDay": 7},
"recentApps": {"list": [{"pkgName": a["pattern"]} for a in read_rules(d / "allow-apps.txt")], "inXMin": 120},
"numberRules": {"rules": rules},
}

Expand Down
Loading