The Middle English word bugge is the basis for the terms bugbear and bugaboo as terms used for a monster.

— Bug (engineering), Wikipedia