logic bomb
Short definition from Wiktionary
Noun
- A piece of code intentionally inserted into a software system that will set off a malicious function when specified conditions are met.
We haven’t written up logic bomb yet: Simple and Standard meanings, examples and a quiz.