A CivIdle Chat Exploit Pushed Malware to Windows Players, and the Developer Wants You to Check for Two Files

PC | MacA glowing chat notification bubble on a dark computer screen cracking open to leak tendrils of red light across a keyboard at night.

The developer of CivIdle, a free-to-play idle civilization game on Steam, has confirmed that an attacker used the game’s own chat system to push malicious scripts onto players’ Windows PCs on November 15. According to the studio’s security advisory, reported by TweakTown, a malicious actor “exploited a vulnerability in the game client by sending a specially crafted direct message,” which injected scripts in what the developer describes as a cross-site scripting (XSS) attack.

The weak spot was the game’s pop-up notifications. Chat messages were escaped in most of CivIdle’s interface “but not in toast notifications,” the small alerts that appear when a new message arrives. The developer says the flaw was not specific to direct messages; the attacker used DMs to hide their activity.

The response came quickly. The first player report reached the game’s Discord at 00:40 UTC on November 15 (6:40 p.m. CT on November 14), a moderator blocked the attacker from chatting at 00:51 UTC, and DMs were disabled at 01:18 UTC. A server-side fix that strips HTML from all chat messages went live at 02:08 UTC, and an optional client update, Build 1018, followed at 05:48 UTC. The fix is also visible in the game’s public source code. Direct messages remain disabled indefinitely as a precaution.

Only Windows players were affected; Linux and macOS players were not. The developer says Windows users should look for three signs of infection: a file named q.exe in the CivIdle installation folder, a file named p.bat in C:\Users\Public, and a randomly named executable inside the AppData\Roaming\Microsoft\DeviceSync folder. Finding any of them means the PC was very likely compromised.

Anyone who played on Windows around the time of the attack should update the game, update their antivirus definitions and run a full or offline scan. The advisory also recommends changing passwords from a trusted device, turning on two-factor authentication and signing out of Steam, Discord and other accounts everywhere before logging back in on a clean system. Windows Defender may have blocked the malware, but the developer says that protection is not guaranteed.

It is the latest reminder that games with online features can become an attack surface. Last month Capcom temporarily delisted Street Fighter 5 and shut off its servers over a PHP security issue.