SentinelAI
Every app has a secret. SentinelAI finds it.
Created on 11th March 2026
•
SentinelAI
Every app has a secret. SentinelAI finds it.
The problem SentinelAI solves
Most people install apps without knowing what they do in the
background. A flashlight app should never be uploading data
at 3AM while your screen is off — but how would you know?
SentinelAI solves exactly this.
-
For everyday users — shows a clear risk score for
every app on their phone. No technical knowledge needed.
Just open the app and see which apps are behaving
suspiciously. -
For privacy-conscious users — detects apps silently
uploading data in the background, running hidden services,
or waking your device repeatedly without your interaction. -
For everyone — existing solutions like Google Play
Protect only scan apps at install time using signature
databases. SentinelAI monitors behavior continuously at
runtime using on-device AI — catching threats that
activate after install or were never seen before.
What makes it different:
All analysis happens 100% on your device. No data is sent
to any server. No internet required for scanning. Your
behavioral data never leaves your phone — which is deeply
ironic given that we are a privacy protection app.
Challenges we ran into
1. Android blocks direct access to mic, camera and sensors
Third-party apps cannot directly detect if another app is
recording audio or accessing the camera. We had to rethink
our entire approach — instead of detecting the act of
spying, we detect the consequence of it. If an app is
recording you, it must eventually upload that file. That
upload appears in our TrafficStats signals. This pivot from
direct detection to behavioral inference was our biggest
architectural challenge.
2. TFLite export of Random Forest completely broke
The standard tensorflow-decision-forests library is
incompatible with TensorFlow 2.20+. Our entire export
pipeline failed silently. We had to manually rebuild each
decision tree as pure TensorFlow Lambda operations using
tf.gather_nd, tf.where, and tf.one_hot — essentially
hand-translating 100 decision trees into TFLite-compatible
tensor operations.
3. TrafficStats returns cumulative bytes not rate
TrafficStats.getUidTxBytes() returns total bytes uploaded
since device boot — not since last scan. We were
accidentally dividing cumulative bytes by uptime, causing
risk scores to drop every scan even for the same behavior.
We built a delta cache system that stores the previous
reading and calculates actual upload rate per interval.
4. TrafficStats returns zero on emulator
Spent hours debugging why all risk scores were near zero
before realizing Android emulators do not support
TrafficStats. All real-device testing had to be done on
physical hardware only.
5. First scan always shows zero
Since our network scoring is delta-based, the very first
scan has no previous reading to compare against — producing
zero network scores. We solved this by capturing a baseline
reading during app startup before any scan runs, so the
first real scan already has a reference point.