Creatures that would die for any reason this turn are exiled instead, not just creatures that would die after getting -2/-2.
18-02-2022
wotc
While the -2/-2 applies only to creatures that are on the battlefield as Malicious Malfunction resolves, the replacement effect applies to all creatures that turn, including ones that enter the battlefield after Malicious Malfunction resolves or noncreatures that become creatures after Malicious Malfunction resolves.
Random a card of Magic: The Gathering (MTG), but you can also roll the D20 dice, random a Planeswalker, have fun with the random rules and more.