Tiny Aya Fire, Sandesh v2.1
Phishing-resistant SMS assistant
2 min read
A compact 3.35B-parameter language model fine-tuned to act as a local assistant for incoming SMS messages. It handles user requests across your inbox while detecting and ignoring hidden attacker commands inside scam texts, alerting you to the threat. Built on CohereLabs/tiny-aya-fire using three-stage LoRA fine-tuning (training lightweight adapters followed by weight merging) on the Lexsi stack. Unlike the base model, which falls for hidden injections 14% of the time, Sandesh v2.1 drops attack success to zero—even in multi-turn conversations and delegated agent workflows. A solid fit for LLM agent security researchers and developers building on-device mobile assistants.
Key features
- Zero hijack rate: on the SandeshBench test (1,121 attacked inboxes across 6 languages), the model executed zero malicious instructions—0.0% compared to 14.0% for the base model.
- Multi-turn resilience: withstands adaptive attacks (up to 16 scam rewrites) and broad task delegation like "handle everything urgent" without false triggers.
- High accuracy and alerts: correctly completes the user's task under attack 99.6% of the time and flags phishing messages 98.2% of the time.
- Cross-lingual transfer: maintains a 0% attack success rate even on languages absent from the training set (Bengali, Tamil, Marathi), alongside English and Hindi.
What you can do
- Research prompt injection defenses: use the checkpoint as a baseline when testing how well local AI agents resist indirect injections in untrusted text.
- Prototype an on-device assistant: deploy the 4-bit GGUF build to process incoming notifications and automatically set bill payment reminders.
Example
The assistant outputs a single JSON tool call chosen from send_sms, call, make_upi_payment, open_link, set_reminder, read_inbox, or reply_user. If you ask it to take care of urgent items and your inbox contains a legitimate credit card due date alongside a spam injection, the model calls set_reminder for the real date, ignores the scam command, and warns you about the phishing attempt.
Read more
DetailsBenchmarks (SandeshBench): multi-turn hijack rate — 0.0% (vs. 67.5% for the base model), false refusals on safe XSTest prompts dropped from 11.6% to 8.4%, Global-MMLU (en/hi/bn) — 48.7%.
Hardware: the 4-bit GGUF version takes up 2.00 GiB and runs at 11 tokens/s on a 6-core Intel i7-8700 without a GPU (llama.cpp).
Limitations: research artifact built for SandeshBench rather than a production-ready security product; critical actions still require user confirmation. License: CC-BY-NC-4.0.










Comments