Creatures that would die for any reason this turn are exiled instead, not just creatures that would die after getting -2/-2.

Artwork
Loading artwork…
Malicious Malfunction
Kamigawa: Neon Dynasty · #110 · EN
Nonfoil—Foil—
Card rules
All creatures get -2/-2 until end of turn. If a creature would die this turn, exile it instead.
"That? A minor test, nothing more. Incompleat flesh is weak." —Jin-Gitaxias
Uncommon · Illustrated by Deruchenko Alexander
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
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.