Process Attendant was checking the rejects magnet, the PA observed a piece of metal stuck to the magnet. When the PA had the piece of steel outside the plane of the door, PA attempted to remove the steel from the doorway when a rock came in contact with the piece of steel debris and PA's right thumb.