What's 'razor' mean here? It doesn't look like an adjective. Is it used in a metaphorical way?

Native speaker’s answer
Rebecca
Here it's used as part of the name of an animal or creature called a "razor worm!" It implies that the worm is "razor-like" in some way- it has qualities that a "razor" has. Ex: The blades of grass look razor-like. Ex: I hope razor worms aren't real.