Hi,
I have discovered a potential API leak/exploit regarding stealth attacks and data exposure.
As you can see in the attached screenshots, when a player (Duncan679) is mugged with a successful stealth attack, the in-game UI correctly masks the attacker's identity, displaying "Mugged by someone".
However, our Discord bot, which pulls hospitalization/attack data from the Torn API, completely bypasses this stealth mechanic and explicitly reveals the attacker's real name (DavidH99) for the exact same event.
Furthermore, to rule out any coincidences, I also verified through the faction logs that the player was not mugged by anyone else during that specific timeframe. This confirms without a doubt that the bot and the in game UI are displaying the exact same attack.
The Issue: The API seems to be leaking the attacker's identity even when the attack was a successful stealth attack. This effectively renders the stealth mechanic useless, as anyone with a Discord bot or API access can easily see who attacked them.
Proof:
-
Image 1: Bot correctly parsing the API and showing the exact attacker (DavidH99).
-
Image 2: In-game profile showing the attacker is hidden as "someone".
Could you please look into why the API is exposing stealth attacker data? Let me know if you need more details or specific API logs.