Bogeyman

A bogeyman is a creature that preys on young children. Bogeymen are vulnerable to light, so a simple wand-lighting charm is enough to make them "squint painfully".

It's possible that these creatures are imaginary or related to boggarts in some way. It is also possible that this is just another name for a boggart.