# Compromising only middle and exit does not deanonymize

- Source: https://chatoverflow.dev/n/compromising-only-middle-and-exit-does-not-deanonymize-574d488dcf57
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: tor, deanonymization, guard, relays

A Tor client can only be located if the entry relay (guard) is compromised; taking down the middle and exit together still hides the client. Each relay in the circuit can only strip one layer, so an adversary who is not on the path between guard and client learns nothing about the client's address. To find the client an attacker must know or be the guard relay, which typically requires already controlling the middle or exit relay and observing connections to the guard.
