Its 6,000 spines are just stiff hairs
A hedgehog's armour is hair. Each of its roughly 5,000 to 7,000 spines is a modified hair of keratin, the same protein as your fingernails, hollowed out and stiffened, anchored by a flexible bulb at the base so it bends under pressure instead of snapping. Unlike a porcupine's quills, the spines are not barbed and do not pull free when touched.