It's a neodymium magnet, very very strong for their sizes. Which begs the question if magnetic fields can disrupt the storage capacity of a computer hard drive, why are they also inside the hard drive cases?
By the way this can be demonstrated if you try to open an old hard drive. Remove the screws to the cover, its impossible to pull it off against the magentic attraction, you have to lever it off with a sharp instrument.