Could be a non problem depending on the atmosphere
That's why I mentioned the hypothesized mercury situation, as mercury has got a very thin mantle and its core is VERY outsided, so it has got a very strong magnetic field. This is consequence of likely early solar system crash, Mercury might just be the core remnants of a planetary collision elsewhere
But yeah, this rock wont have athmosphere