From 03fea3761af0685592ea4beacb5641dbac0dee00 Mon Sep 17 00:00:00 2001 From: Wasim Akram <55689108+wasimness@users.noreply.github.com> Date: Fri, 27 Nov 2026 15:05:48 +0530 Subject: [PATCH 1/5] docs: humanize README, CONTRIBUTING, SECURITY; CHANGELOG in Keep a Changelog 1.1.0 Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 13 ++++++++++++- CONTRIBUTING.md | 2 +- README.md | 2 +- SECURITY.md | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 82f9bf5..f5ff566 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bae3a24..bb756aa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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. diff --git a/README.md b/README.md index 7cb6512..c740e22 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,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 diff --git a/SECURITY.md b/SECURITY.md index 7749ead..dac8b18 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -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. From 3047164ddfd73b4ca760821460729fed84023f92 Mon Sep 17 00:00:00 2001 From: Wasim Akram <55689108+wasimness@users.noreply.github.com> Date: Fri, 27 Nov 2026 15:06:23 +0530 Subject: [PATCH 2/5] docs: banner and India calls + SMS scope Co-Authored-By: Claude Opus 5.5 --- README.md | 7 +++++-- assets/banner.svg | 16 ++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 assets/banner.svg diff --git a/README.md b/README.md index c740e22..2afed94 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,12 @@ # 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 (SpamBlocker must be your default SMS app for that). ## Quick start (SpamBlocker) 1. In SpamBlocker, export a backup first: **Settings > Backup > Export**. An import replaces your number rules. diff --git a/assets/banner.svg b/assets/banner.svg new file mode 100644 index 0000000..98a4519 --- /dev/null +++ b/assets/banner.svg @@ -0,0 +1,16 @@ + + spamwall + Pattern-based spam call and SMS blocking rules for Indian numbers + + + + + + + + ^140\d{7}$^(3366|2250)call centres + + spamwall + Spam call and SMS block patterns for India (+91) + One-click import for SpamBlocker + From 905495dbfd6d2d06182dac6a8ee33e16a12c4cc4 Mon Sep 17 00:00:00 2001 From: Wasim Akram <55689108+wasimness@users.noreply.github.com> Date: Fri, 27 Nov 2026 15:06:34 +0530 Subject: [PATCH 3/5] docs: SMS setup wording Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2afed94..aaedb8c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ 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 (SpamBlocker must be your default SMS app for that). +> SMS filtering works only when **SMS** is switched on under *Settings > Screening* in SpamBlocker; follow the setup prompt it shows. ## Quick start (SpamBlocker) 1. In SpamBlocker, export a backup first: **Settings > Backup > Export**. An import replaces your number rules. From 2b980bcd622e5f8c25eac2ca2de5358cc4c80fe4 Mon Sep 17 00:00:00 2001 From: Wasim Akram <55689108+wasimness@users.noreply.github.com> Date: Fri, 27 Nov 2026 15:07:16 +0530 Subject: [PATCH 4/5] docs: SpamBlocker section with download links Co-Authored-By: Claude Opus 5.5 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index aaedb8c..c232824 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,16 @@ 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. From bcb9acd587d64779e534b7e1dc1b28be70e51eae Mon Sep 17 00:00:00 2001 From: Wasim Akram <55689108+wasimness@users.noreply.github.com> Date: Fri, 27 Nov 2026 15:08:12 +0530 Subject: [PATCH 5/5] feat: pre-fill SpamBlocker Recent Apps allowlist (120 min) Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- rules/in/allow-apps.txt | 4 +- spamblocker/spamwall-in-strict.gz | Bin 900 -> 1173 bytes spamblocker/spamwall-in-strict.json | 65 ++++++++++++++++++++++++++++ spamblocker/spamwall-in.gz | Bin 816 -> 1094 bytes spamblocker/spamwall-in.json | 65 ++++++++++++++++++++++++++++ tools/build_spamblocker.py | 1 + 7 files changed, 135 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c232824..f4229f7 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ spamwall is a separate community project and is not made by or affiliated with S 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. diff --git a/rules/in/allow-apps.txt b/rules/in/allow-apps.txt index bee3d9f..3ea42e7 100644 --- a/rules/in/allow-apps.txt +++ b/rules/in/allow-apps.txt @@ -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 @@ -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) diff --git a/spamblocker/spamwall-in-strict.gz b/spamblocker/spamwall-in-strict.gz index 1de9e46ce7dbe939cacbc614c9a4f2290a77f00f..616038a6c46e4388ca5d5fddbdc6b8d7717b1d01 100644 GIT binary patch delta 1158 zcmV;11bO>}2bBqs9)DO{bJ{o*e$TJac=jQgC9Z9347@=?+e}H)Ar96 zftN@wHn)FEx~5tAP;RB`>ow)D3@RxJ#T$mV_*JGxKT|PV;+1+~D2Tqq#=x)=jk#J9 z`7C^iC8s<0CEB#8;vgFN5i$*9s>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001klvrqs4 diff --git a/spamblocker/spamwall-in-strict.json b/spamblocker/spamwall-in-strict.json index 7ea9a5d..fdc4f0b 100644 --- a/spamblocker/spamwall-in-strict.json +++ b/spamblocker/spamwall-in-strict.json @@ -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": [ { diff --git a/spamblocker/spamwall-in.gz b/spamblocker/spamwall-in.gz index fa3432780e1d960b19cb9883fb05c566163b7b1f..a60db8c986025c56ef1db3686e1d5a2411ffb7dd 100644 GIT binary patch delta 1086 zcmV-E1i|~T2F3`G7k^k?bK*7>eb2AZc>0jc5Z5-?2Hqf{-OK{nA)A?xe_Zl^SrKii5&ERV?}UlK`Yw3vL|@m*9& zG6FXd-)v9+9=fJ!aZzr$*Ow9HF!W25nBuL%d-^I>gCC`st?*hM84A$1*ccd=(3q!p07_wsTl=9nLVoilH+4ZaUkt8Bq_p)ryC!I*f_;cg4^lCTx2%pu@p466$~;k(0EFLT%{a|)SfY#EwI!(&02+Y&9%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