
Critical vulnerability report detailing zero-day Remote Debugging Port exposure in Discord macOS client leading to account takeover, spyware, worm propagation, and backdoor persistence.
Date: 2026-01-25 Target: Discord Client (macOS Stable 0.0.373) Author: Antigravity
We have identified a critical security vulnerability in the Discord macOS Client (Electron-based) involving the forced exposure of the Remote Debugging Port (9222) via local configuration or command-line flags. This allows a local attacker to completely bypass authentication (2FA, Password) and achieve Remote Code Execution (RCE) context within the client.
settings.json injection is a known technique, demonstrating Worm Propagation and Real-Time Spyware capabilities elevates this to a critical security risk.getToken() via the Debug Console to extract the unencrypted User Token.Network.enable and DOM access via the Debug Port to capture all rendered text and WebSocket traffic.discord_spyware_v2.py successfully extracted the victim's Private DM List and Server List (e.g., "White Hat Community", "LGU+ Security Hackathon") as plaintext in real-time.proof_spyware.png (Terminal output showing extracted private UI text).settings.json to permanently enable the debug port on every application launch.The vulnerability was verified through the following steps:
--remote-debugging-port=9222.alert("GOD MODE ACTIVE") to freeze the UI (Screen Defacement) and executing discord_spyware_v2.py to dump screen content.--remote-debugging-port. (Disable in electron.main).settings.json should be signed (HMAC) or encrypted to prevent external tampering.