In November 2026, Telegram introduced interactive bot widgets capable of running JavaScript directly inside chat threads through the lightweight QuickJS engine. Within two days, a researcher under the handle V12 posted proof-of-concept footage claiming remote code execution via chat messages, and by November 17, 2026, Kaspersky warned that threat actors were exploiting Telegram widget interactions in channels to launch PowerShell scripts delivering WebRAT (also tracked as Salat Stealer), a Rust trojan built to siphon cryptocurrency wallets and active sessions.

Inside Telegram Android 13.2.2 Build 7303 and Its Seccomp Gaps

Responding to early reports, Telegram pushed Telegram for Android 13.2.2 (build 7303), isolating the QuickJS interpreter inside a dedicated Android process and attaching a seccomp system-call filter. Telegram's leadership emphasized that real-world exploitation requires user interaction with third-party bot services rather than passive message receipt.

However, source-code audits published by NebuSec and The Hacker News uncovered four structural weaknesses in how 13.2.2 (7303) constrained untrusted JavaScript:

Defense Layer in 13.2.2 (7303) Observed Implementation Detail Practical Exposure
seccomp policy model Denylist blocking ptrace, bpf, mount, leaving ioctl open Attackers reach unfiltered kernel interfaces
Filter enforcement mode Configured in audit mode inside published source Blocks new processes yet logs many other syscalls
Multi-bot process sharing Single process hosts widgets from every bot One memory corruption exposes peer widget data
Engine-enforced sandbox Network blocks enforced inside QuickJS runtime code Any UAF or OOB write nullifies runtime checks

Because the rules prohibiting network access lived inside QuickJS itself, a single memory safety flaw—such as a use-after-free or out-of-bounds write—lets hostile JavaScript read and overwrite process memory. NebuSec demonstrated two separate escape paths on 13.2.2 (7303): one leveraging a widget defect outside seccomp coverage, and a second chaining a covered widget defect with an underlying kernel bug to launch external apps such as Android's calculator.

Leaving ioctl unfiltered inside a seccomp denylist carries particular weight on Android hardware. Android relies heavily on ioctl multiplexing to reach vendor GPU drivers, IPC layers such as Binder, and memory allocators—the exact attack surface where local privilege-escalation bugs regularly appear. Putting every bot's widgets inside one shared process amplifies that weakness: a compromised widget can inspect memory belonging to other interactive sessions running in the same runtime.

From Interactive Widgets to Rust-Based WebRAT Theft

Kaspersky's threat telemetry highlights why messaging sandboxes matter far beyond laboratory proofs of concept. Attackers lure victims inside public trading, gaming, or crypto channels into interacting with malicious bot widgets and third-party prompts that trigger staged scripts on companion desktop or mobile setups, deploying WebRAT (Salat Stealer).

Once resident, this Rust stealer targets browser session cookies, seed phrases, local wallet files, and saved credentials. Users who trade digital assets or run Telegram Mini App TON wallets inside the same daily device face compounded risk whenever unvetted bots can execute untrusted code inside chat windows.

Why Process-Per-Bot Isolation and Network Egress Controls Matter

NebuSec advised replacing shared denylist seccomp sandboxes with strict per-bot process boundaries and compiler-enforced isolation frameworks such as RLBox. While users wait for messaging apps to harden client runtimes, layering device hygiene with network-level filtering dramatically shrinks post-exploitation reach:

  • Block C2 resolution with RiceGuard DNS: Even if a malicious widget redirect or staged script attempts to fetch second-stage WebRAT payloads or beacon stolen tokens outward, VPNRice RiceGuard DNS filtering blocks known malware and phishing command-and-control domains before sockets connect.
  • Encrypt mobile transport over WireGuard: On public cafés, airports, or shared cellular hotspots, routing traffic through VPNRice WireGuard prevents local rogue gateways from injecting captive-portal traps or harvesting metadata around messaging and exchange sessions.
  • Contain wallet exposure: Never store primary hardware-wallet recovery phrases or hot-wallet keys on the same workstation or phone used to interact with unverified Telegram channels and experimental bots.

Verifying Telegram Builds, WireGuard Tunnels, and Defense Limits

Confirming protection against QuickJS widget escapes and WebRAT delivery requires verifying two separate layers: the installed Telegram for Android build and strict tunnel enforcement for outbound DNS and socket traffic. Client patches remove shared-process seccomp and ioctl memory exposure, while VPNRice WireGuard and RiceGuard DNS constrain only the network stage when loaders fetch second-stage binaries or exfiltrate wallet credentials.

Verification Check Diagnostic Method Expected Baseline
Telegram APK build Check App Info or run adb shell dumpsys package org.telegram.messenger for versionName Version newer than 13.2.2 (7303); update before opening bot widgets
WireGuard & DNS leak check Open What Is My IP and WebRTC Leak Test over the active tunnel Only the VPNRice exit IP appears, with zero ISP IPv4, IPv6, or WebRTC exposure
Android VPN lockdown In Settings > Network & internet > VPN > VPNRice, enable Always-on VPN and Block connections without VPN Drops unencrypted fallback sockets if the tunnel drops during payload staging
Companion host audit Inspect PowerShell command history and running processes on desktops linked to Telegram No unsigned Rust binaries, unknown scheduled tasks, or unexplained outbound sockets

Operational Trade-Offs and Coverage Boundaries

RiceGuard DNS and WireGuard cannot stop local memory corruption inside QuickJS, kernel ioctl privilege escalation, or manual execution of a WebRAT (Salat Stealer) binary saved to disk. Domain filtering also misses payloads hosted on raw IP addresses or newly compromised legitimate cloud hosts absent from threat feeds.

Enabling Block connections without VPN prevents socket-fallback leaks during roaming, though it blocks captive-portal sign-in pages and local LAN devices until temporarily paused on trusted networks. Keep split tunneling disabled for Telegram and companion browsers, and install VPNRice on both mobile and desktop endpoints for consistent DNS filtering.

Practical Hardening Steps for Telegram Users Today

  • Update Telegram and OS security patches immediately: Keep Telegram for Android beyond 13.2.2 (7303) and apply monthly Android and desktop security patches to close kernel escalation bugs used in chained escapes.
  • Restrict bot widgets and unknown channels: Disable auto-downloads for files and scripts in Telegram settings, avoid clicking interactive prompts from newly joined channels, and enable Two-Step Verification with a strong cloud password.
  • Pair RiceGuard DNS with VPNRice WireGuard: Keep VPNRice WireGuard active on mobile and desktop devices to shield network transport and drop outbound C2 lookups from infostealers like WebRAT.

Get VPNRice.