OSHI

The Messenger Security Review

AI · Endpoints and plaintext

The assistant has to read it

AI reached encrypted messaging from two directions at once: as the thing writing the convincing message, and as the helpful feature that has to be handed the plaintext before it can help. Only the second one is a design decision you get to make.

An assistant that summarises your unread messages has to read your unread messages. That sentence contains the entire problem, and no amount of product design removes it. The only decision available is where the reading happens — and it is a decision most messengers have now made on their users' behalf.

Before the assistant, though, the attacker. Generative models arrived first as a way of writing convincing messages at scale, and the public-sector warnings are specific about it. The FBI's Internet Crime Complaint Center issued alert I-051525-PSA in May 2025 on a campaign impersonating senior US officials, noting that actors are “exploiting AI-generated audio to impersonate well-known, public figures or personal relations.” Its December 2025 follow-up warns that “AI-generated content has advanced to the point that it is often difficult to identify”, and records the operators steering victims onto encrypted apps — the encryption working exactly as designed, for them.

Does it actually work better?

Worth being careful here, because this is where the marketing lives. A 2023 study by Heiding, Schneier and colleagues found GPT-4-written phishing (30–44 % click-through) beat a generic control but lost badly to a hand-built expert method (69–79 %). Their 2024 follow-up is the one that matters: a control group at 12 %, human experts at 54 %, and “fully AI-automated emails 54%”, concluding the automated attacks “performed on par with human experts and 350% better than the control group.” The change is not that AI writes better lures than the best humans. It is that it writes as well as they do, for everyone, at no cost.

The deepfake numbers deserve the same discipline. ENISA's 2025 threat landscape reports that AI-supported phishing is more than 80 % of observed social engineering — but writes “reportedly” and footnotes vendor blogs, while its own dataset puts phishing at “about 60% of observed cases”. The concrete case beats any percentage: in 2024 a finance employee in Hong Kong transferred HK$200 million — about US$25.6 million — after a video call in which, as the police put it, “everyone [he saw] was fake.” He had correctly suspected a phishing email; the video call talked him out of it.

Nothing in that story is a cryptographic failure. The channel was authentic. The person was not.

Which is why the defence is not detection. The IC3's advice is a secret word agreed with your family out of band; in a messenger the equivalent already exists — verify the safety number over a channel the attacker does not control. The UK's NCSC judged in 2024 that AI “will primarily offer threat actors capability uplift in social engineering”, removing the “translation, spelling and grammatical mistakes that often reveal phishing.” Those were never authentication. They were just free.

The assistant is another end

Two ways an assistant can read your conversation Above, a hosted assistant: the message is decrypted on the device, then sent in the clear to a provider's server, crossing the boundary of the end-to-end encrypted conversation. Below, a local model: the plaintext is passed to a model file stored on the device and the answer comes back without leaving it, at the cost of several gigabytes of storage, battery and a smaller model. YOUR DEVICE the conversation, decrypted HOSTED MODEL reads it in the clear a third end you did not add LOCAL MODEL FILE several GB on disk runs on hardware you own no request leaves the box nothing crosses no request to send, so nothing to log, retain, subpoena or leak the price: storage, battery, a smaller and weaker model AN ASSISTANT HAS TO READ THE PLAINTEXT. THE QUESTION IS WHERE.
Both vendors below say the same thing about the top path, in their own words. The bottom path is not more clever — it is just smaller, slower and weaker, in exchange for the plaintext never being sent anywhere.

Two of the largest companies in the industry have published the honest version of this. Apple, introducing Private Cloud Compute: a server model “requires unencrypted access to the user's request and accompanying personal data. That precludes the use of end-to-end encryption.” Meta, introducing Private Processing for WhatsApp: “the current state of AI processing — which relies on large language models often running on servers, rather than mobile hardware — requires that users' requests are visible to the provider.”

Both built the same mitigation: a hardened enclave you are asked to trust rather than verify yourself. Genuinely better than a plain API call, and not end-to-end encryption. The shift is visible in WhatsApp's own grammar: end-to-end encryption is asserted for “your personal messages and calls”, while for AI features the claim becomes that Private Processing lets Meta AI respond “without Meta or WhatsApp being able to read your messages.” Different promise, different mechanism, same paragraph.

What local inference costs

Running the model on the device removes the question rather than answering it: there is no request, so there is nothing to log, retain, subpoena or leak. The bill arrives in three parts, and none of them is small.

Size. llama.cpp's own perplexity tables put Llama 3 8B at 14.97 GiB in 16-bit and 4.58 GiB at q4_K_M. Quality. That 4-bit step costs about 0.15 perplexity — nearly free — but the same table shows 2-bit post-training quantization adding 3.52, and a 2.24 GiB variant adding 7.86, which is not a smaller model but a worse one. Apple ships its on-device model at “approximately 3-billion-parameter” scale compressed “to 2 bits per weight” — and gets away with it only by quantizing during training rather than after. Energy. Instrumented measurements on a Raspberry Pi 4 with a hardware power meter report 2.61 J per token for a 0.5B model and 8.40 J for a 1B one; a phone is not a Pi, but the shape of the cost is real, and it is charged to the battery of the person being helped.

Where OSHI is

OSHI's assistant runs entirely on the device, via llama.cpp. We grepped the whole codebase this week: there is no call to any remote AI API, on any platform. That is the checkable answer to “how do you use an assistant without handing your plaintext to somebody's server” — not a policy, not a data-processing agreement, an absent network call.

The cost is exactly the one above: a multi-gigabyte model file on your device, and a model materially weaker than anything running in a datacentre. If you want a state-of-the-art assistant, we do not have one and cannot have one. That is the trade, stated plainly rather than sold.

Signal's warning about the layer below is the right place to end. When an OS-level assistant screenshots or indexes what is on screen, the app's encryption is irrelevant; hence its request that “operating system vendors, especially those who are shipping AI agents, need to ensure that the developers of apps like Signal always have the necessary tools and options at their disposal to reject granting OS-level AI systems access to any sensitive information within their apps.” The next argument about encrypted messaging will not be about ciphers. It will be about which processes on your own device are allowed to read the screen.

Sources

  • FBI IC3, Senior US Officials Impersonated in Malicious Messaging Campaign, alert I-051525-PSA, 15 May 2025. ic3.gov · Senior U.S. Officials Continue to be Impersonated…, I-121925-PSA, 19 December 2025. ic3.gov · Criminals Use Generative Artificial Intelligence to Facilitate Financial Fraud, I-120324-PSA, 3 December 2024 — the shared-secret-word advice. ic3.gov
  • NCSC, The near-term impact of AI on the cyber threat, 24 January 2024. ncsc.gov.uk
  • ENISA, ENISA Threat Landscape 2025, October 2025 — both the 80 % figure (which ENISA itself attributes as reportedly, footnoting vendor sources) and its own ~60 % dataset figure. enisa.europa.eu
  • CNN, Finance worker pays out $25 million after video call with deepfake ‘chief financial officer’, 4 February 2024. edition.cnn.com · Arup revealed as victim of $25 million deepfake scam involving Hong Kong employee, 16 May 2024. edition.cnn.com
  • F. Heiding, S. Lermen, A. Kao, B. Schneier, A. Vishwanath, Evaluating Large Language Models' Capability to Launch Fully Automated Spear Phishing Campaigns, 30 November 2024 — the 12 % / 54 % / 54 % / 56 % click-through figures. arxiv.org · F. Heiding, B. Schneier, A. Vishwanath, J. Bernstein, P. Park, Devising and Detecting Phishing: Large Language Models vs. Smaller Human Models, 2023 — the earlier study where the expert method still won. arxiv.org
  • Apple Security Engineering and Architecture and others, Private Cloud Compute: A new frontier for AI privacy in the cloud, 10 June 2024. security.apple.com
  • Engineering at Meta, Building Private Processing for AI tools on WhatsApp, 29 April 2025. engineering.fb.com · WhatsApp, Meta AI in WhatsApp — the product page wording quoted above. whatsapp.com
  • Signal, By Default, Signal Doesn't Recall, 21 May 2025. signal.org
  • llama.cpp — LLM inference in C/C++. github.com/ggml-org/llama.cpp · the project's own perplexity and file-size table for Llama 3 8B. tools/perplexity
  • Apple Machine Learning Research, Updates to Apple's On-Device and Server Foundation Language Models, 9 June 2025 — the ~3B parameter on-device model at 2 bits per weight via quantization-aware training. machinelearning.apple.com
  • E. J. Husom, A. Goknil, M. Astekin, L. K. Shar, A. Kåsen, S. Sen, B. A. Mithassel, A. Soylu, Sustainable LLM Inference for Edge AI, 4 April 2025 — joules per token measured with a hardware power meter on a Raspberry Pi 4, not a phone. arxiv.org
  • That OSHI's assistant runs only on the device, and that a grep of the whole codebase this week found no remote AI API call on any platform, is our own statement; the public repository makes the same claim. github.com/Lastoneparis/OSHI

Readers' notes

No account, no name, no email. Nothing is stored about you — not an address, not a browser string. Notes appear immediately and are not reviewed first, so they are capped at 160 characters, and a link can be typed here but will never be made clickable.

160 characters left

    Loading notes…