Security
A boundary you can inspect.
PocketLLM Lite is local-first, not magic. This page explains what stays on the phone, what can leave it, how downloads and backups are checked, and where the guarantees stop.
1. Where your data lives
Chats, settings, imported documents, indexes, memories, notes, personas, skills and local diagnostic logs are stored in the Android application sandbox. Provider API keys and the embedded server's key use the platform's secure storage. There is no PocketLLM account and no developer-hosted copy of your chats.
The app can display device RAM, storage, ABI, CPU cores, battery and thermal information locally. It does not automatically upload those measurements. The on-device benchmark writes its results locally; sharing them is your choice.
2. The network boundary
Every app-managed connection goes through one policy gateway, and the app keeps a live session audit log. Strict Offline blocks non-loopback application-owned HTTP/Dio requests and policy-aware link handoffs before PocketLLM makes them.
Loopback stays available deliberately, so a local Ollama server works.
| Action | Needs the network? | Who receives data |
|---|---|---|
| On-device chat | No | Nobody. Inference runs on the phone. |
| Starter model download | Yes | Hugging Face (or the Cactus catalog for legacy bundles). |
| Hugging Face search | Yes | Hugging Face, with the query you type. |
| Web search | Yes | The search provider named in the confirmation (DuckDuckGo with no key, or one you set up), when you approve a search. |
| GitHub skills and updates | Yes | GitHub, when you import a skill or check for an update. |
| Remote model provider | Yes | The Ollama, LM Studio, vLLM or OpenAI-compatible endpoint you configured. |
| Text-to-speech | Maybe | Your phone's installed speech engine. Its vendor may use the network. |
| Link, email or installer handoff | Maybe | The app you hand the action to. It is outside PocketLLM's transport. |
3. What Strict Offline does not cover
- It is an application-level boundary, not an OS firewall. Another app on your phone is not governed by it.
- A browser, email composer, package installer or other app you intentionally hand an action to can use the network on its own.
- Your phone's text-to-speech engine may contact its vendor. Install an offline voice if that matters to you.
- A remote provider you configure receives whatever the request needs, which can include prompts, history, attachments and embedding text.
4. The optional local API server
PocketLLM Lite can expose an OpenAI-compatible server from inside the app: /v1/models, /v1/chat/completions with SSE streaming, and /v1/embeddings. Requests require an API key, and the server binds to loopback by default.
LAN mode is available with an in-app warning. The server does not yet implement TLS, trusted-host checks or configurable CORS allowlists. Treat LAN mode as an unencrypted service on a trusted network, put a firewall in front of it, and turn it off when you are done.
5. Download and model integrity
The ten starter GGUF models are pinned by byte size, SHA-256 and licence. A download that differs is rejected. Legacy Cactus catalog entries have their own checks. Hugging Face searches and imported files are not vouched for by the project beyond the checks the app performs; review the model card and licence before you run a file.
Model files are executable-ish input to a native runtime. A malicious or malformed file can crash the app, and the project does not claim a sandbox around llama.cpp beyond Android's process isolation.
6. Backups and exports
New .pllm backups use AES-256-GCM with a password-derived PBKDF2 key. A restore validates the archive before it changes live data and rolls back if a step fails. An OS or process kill during low-level file replacement still cannot provide a database-wide ACID guarantee. Keep an export you trust, and store the password separately from the backup.
7. Supply chain and release signing
The Android build downloads llama.cpp native archives from the llamadart release assets at build time. That makes builds dependent on a network and not yet reproducible, which is why F-Droid is blocked until the runtime is vendored or built from source.
Since v1.0.60 the APKs on GitHub are signed with a PocketLLM Lite production key. Releases up to v1.0.58 were debug-signed. Check the SHA-256 in SHA256SUMS.txt on the release page, and run apksigner verify --print-certs to compare the certificate with the fingerprint published in SECURITY.md. There is still no Play Store listing and no independent security audit. See the download page for update steps, including the backup-first reinstall that Android 7 and 8 need.
8. What this page does not claim
- No independent security audit or certification.
- No protection against a compromised, rooted or unlocked device.
- No encrypted database at rest beyond Android's app sandbox.
- No guarantee that a model's output is true, safe or lawful.
- No claim that OCR, voice, reminders, widgets or LAN mode have all been verified on physical phones.
9. Report a vulnerability
Do not open a public issue for an unpatched vulnerability. Email prashantc592114@gmail.com with the affected version, reproducible steps, expected impact and a safe way to contact you. Receipt is normally acknowledged within 48 hours, but remediation time depends on severity and reproducibility.
Read the full policy in SECURITY.md ↗, the technical limits in KNOWN_LIMITATIONS.md ↗, and the privacy policy. The source is MIT licensed ↗.
Keep reading
The same claims, from another angle.
Read it, then test it.
Install the app, turn on Strict Offline, and watch what still works. The boundary is only useful if you can see it.