I've noticed that torrent websites like the Pirate Bay are served over http.
This means that when using a network like the Tor onion network, where the first server in the response chain receives the website unencrypted, could they not change the links on the website? Let's say that a node is compromised, or run by a hostile owner.
http request -> onion network -> server http response -> server 1 (s1) -> s2 -> s3 -> client
If server 1 is compromised, can it alter the data?