Since the shaft on which the pulley is mounted sits in a strong magnetic field, it is most assuredly magnetized. . To hold a socket that strongly might be due to the shaft sitting directly under one of the field magnets. Remember the science class where you wrapped a wire around a steel shaft, and it became magnetic?