Phone-Senses
Health Pass
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 49 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Give Hermes Agent your Android phone's senses via Termux:API: notifications, SMS, UPI money, scam checks, find my phone
Stop phone scams before the money leaves. With your family, in your language.
For everyone · Money was taken? · Your data · For developers
For everyone
Scammers call pretending to be the bank, the police, the electricity office or your own son. They rush
you, and they ask for a code or a payment now. Phone Senses helps you stop, check, and ask family first.
🔍 Check a message. Not sure about an SMS, a WhatsApp message, a link or a screenshot? Share it to
Phone Senses, or paste it. You get a clear answer in English or Hindi, and the reasons in plain words:
- 🔴 "This looks like a scam."
- 🟠 "Be careful."
- 🟡 "We're not sure. Ask family."
- 🟢 "We didn't find signs of a scam."
🤝 Is it really them? Someone calls saying they are your son and needs money urgently. Phone Senses
asks your real son on WhatsApp, on the number you saved, "Is this really you?":
- He says no: you see red, "Raju says this is NOT them. Do not pay."
- He hasn't answered yet: you see "Not confirmed yet. Don't send money until Raju confirms." Silence
never makes anyone a scammer; he may simply be driving.
👨👩👧 My family. Add a son, daughter or friend. They join with one WhatsApp message. They only ever get
"Is this really you?" questions, never your messages.
✋ Wait before you pay. After a call from a number that isn't saved, or a risky message, Phone Senses
can warn you if you open a payment app such as PhonePe, Google Pay or Paytm: "Wait a moment before you
pay." There's one big button to call family. Turn on "Protect me automatically after calls", and this
also covers WhatsApp calls from unsaved numbers. That part is still to be confirmed on real phones with
real WhatsApp.
Made for everyone, not just "tech people": big text, one clear choice on each screen, Hindi or
English, and it can read everything aloud.
What Phone Senses never does
- It never reads your SMS inbox or your call history.
- It never blocks or cuts a call. It only warns you.
- It never shows your family your messages.
- It never keeps the text of the messages you check, or your screenshots. Screenshots are read on your
phone. - It never calls a real person a scammer because they didn't answer.
Status, honestly: Phone Senses is not on the Play Store yet, and the WhatsApp helper is not
live. The app runs and is tested on an Android emulator. Before release it needs a test on real phones,
a review of the Hindi by a native speaker, and approvals from Google Play, Meta (WhatsApp) and India's
SMS registry (DLT). The full list is inVERIFY_BEFORE_RELEASE.md.
If money was taken
Act at once: money is more often stopped when it is reported within hours.
- Call 1930, India's National Cyber Crime Helpline.
- Call your bank on the number printed on your card or in its official app, and block UPI, cards
and net banking. - Report at cybercrime.gov.in and keep the complaint number.
- Report the scam number on Sanchar Saathi (Chakshu).
Nobody can get your money back for a fee. Anyone who offers to is running a second scam.
The app's Money was taken button has a "Call 1930" button and these steps, and works without internet.
Your data
- Kept until you delete it:
- your mobile number;
- the name your family calls you (optional);
- your language;
- your family list;
- when you last used Phone Senses, and which optional protections are on (on/off only).
- Kept for 24 hours, then deleted automatically:
- Kin Verify questions and answers;
- your "Was this right?" answers, with your optional note.
- Never stored:
- the text of messages you check;
- your screenshots;
- your sign-in codes (only a scrambled check value is kept, for 5 minutes).
- Anonymous daily totals (for example "120 messages checked today") measure the pilot; they aren't linked
to anyone. - Before anything goes to our server, the app tells you what and why, and waits for "I agree".
- To delete everything: Settings → Delete my data. On WhatsApp, send
DELETE. - Full privacy policy (draft):
site/privacy.html.
For developers
Phone Senses is five parts in one repository. They share one decision engine.
| Part | What it is | Start here |
|---|---|---|
Android app (android/) |
Kotlin + Jetpack Compose. Sign-in with SMS Retriever, Check anything (ML Kit OCR on the phone), Kin Verify, family, Pause, Recover. Call screening and an optional notification listener; no SMS or call-log permissions. | android/README.md, android/PLAY_POLICY_NOTES.md |
Backend and WhatsApp bot (backend/) |
FastAPI with SQLite (dev) or Postgres. Signed app API, signed WhatsApp webhook, mock WhatsApp transport and dev OTP provider, Tesseract OCR for the bot. | backend/README.md, docs/WHATSAPP_TEMPLATES.md |
Decision engine (plugin/kinward_core/) |
Standard library only. Scam and link checks, OTP and UPI parsers, typed decisions with the act-or-escalate cascade, the Kin Verify state machine, Pause rules, and every sentence in English and Hindi. | docs/04-architecture.md |
Hermes Agent plugin (plugin/, phone_helper/) |
The original Phone Senses: your Android phone's senses for Hermes Agent through Termux:API, with a live scam tripwire, and rules, fingerprint countersign, a code vault and receipts for every agent. | docs/hermes-plugin.md |
MCP server and Claude Code plugin (mcp_server/, .claude-plugin/) |
The same phone_* tools as the Hermes plugin for Claude and other MCP clients, locally or over a Cloudflare tunnel. Tools that send, call or reveal anything ask first, by MCP elicitation or the client's own prompt. The phone helper installs with pip install phone-senses. |
docs/hermes-plugin.md |
Deploying for ₹0 (Render + Neon, Singapore): DEPLOY_FREE.md; later to a paid India server:MOVE_TO_PAID.md. Pilot: PILOT_PLAN.md, the setup guides (English,
हिंदी), android/PLAY_DATA_SAFETY.md.
Agents (design only): docs/AGENT_LAYER.md.
Run it locally
# Backend (dev: sign-in codes come back to the app; WhatsApp messages go to an in-memory mock)
cp .env.example .env # set SERVER_KEY (32+ random characters)
set -a; . ./.env; set +a
uv run --group backend uvicorn backend.main:app --port 8000
# Android app on an emulator (JDK 17, Android SDK 35); it reaches the host at 10.0.2.2:8000
cd android && ./gradlew :app:installDebug
Tests
uv run --group backend --group dev python -m pytest # Python: engine, backend, bot, plugin
cd android && ./gradlew :app:testDebugUnitTest # Android JVM tests
./gradlew :app:connectedDebugAndroidTest -Pphonesenses.webhookSecret=<WHATSAPP_APP_SECRET> # on an emulator
Latest results:
- Python: 431 passed, 1 expected failure (a documented OTP-detection limit), 1 skipped (the backup test, which needs a local Postgres). The backend tests also pass
on PostgreSQL 16, and inside the backend Docker image against PostgreSQL 17. GitHub runs the tests on Python 3.11 and 3.13. - Android: 6 JVM tests, and 8 instrumented tests on an API 35 emulator. The instrumented tests run
onboarding → Check anything → family invite → Kin Verify amber, then red, end to end; they also cover
the Keystore migration and auto-protect.
Before going live in India: DLT
Every SMS sent in India must come from a business, sender ID and exact message template registered on a
TRAI DLT platform. Without it, no SMS provider will deliver the sign-in code. Register the sign-in
template (its text is in backend/otp.py), then plug a provider such as MSG91 or Firebase into theOtpProvider interface. Details: backend/README.md.
WhatsApp messages the bot starts itself need Meta-approved templates, drafted in English and Hindi indocs/WHATSAPP_TEMPLATES.md. What each message costs, and a free in-app fallback for
Kin Verify: docs/WHATSAPP_COSTS.md. The free pilot signs people in with single-use invite
codes instead of SMS (backend/README.md).
Rules the code follows
- Colours: red only for an explicit "no, it's not me". No reply stays amber. Every result also shows
a symbol and words, so colour is never the only signal. - Google Play: no
READ_SMS,READ_CALL_LOG, Accessibility, overlays or full-screen intents. Every
optional permission can be refused and the app still works. Seeandroid/PLAY_POLICY_NOTES.md. - Privacy: server processing is disclosed before first use, data is kept briefly (24 h by default),
and delete-my-data works. Family members get questions, never messages. - Security:
- Signed requests everywhere, failing closed.
- The device key lives in Android Keystore.
- No OTPs, message bodies or secrets in logs.
- The Gradle wrapper is checked against Gradle's official checksum.
- Fixes and their tests:
SECURITY_FIXES.md.
- No invented numbers: no "you saved ₹X" claims, and no statistics without a source.
Contributing, security, licence
CONTRIBUTING.md · SECURITY.md · CHANGELOG.md ·
MIT © 2026 Arpit Singh (LICENSE)
Brand: ultramarine #1F2BFF, ink #050507 and paper #F1F1EE, with a chrome gradient for the
wordmark, set in Archivo. The mark is a phone frame built
from blocks, whose top corner breaks away as a sensing pixel (brand/mark.svg).
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found