Boobie-trap Definition

noun
A trap set to surprise or injure an unsuspecting person.
He placed a boobie-trap so that a bucket of paint would fall on anyone who opened the door.
Wiktionary