WD (western digital) has put out a statement asking you to turn off and disconnect your My Book from the internet. (not all models are affected at this stage). It seems there is some malicious code doing the rounds that is wiping the external hard drives.

https://petapixel.com/2021/06/24/if-...t-immediately/