regarding the bitflip - I've seen a hypothesis that these silent corruptions most often happen on the cables between the HDD and the host CPU, or in host RAM.
There's a thing called T10 Protection Information (T10-PI a.k.a. DIF) where the SAS controller calculates a checksum of each LBA, sends it along with the write, the HDD checks it, writes it (to a 520- or 4160-byte sector), and then returns it on read, so that the controller can check it again.
1/