The npm package chai-as-serialized (version 7.0.8) contains malicious code that executes arbitrary remote code in the consumer's Node.js process. It impersonates legitimate packages to lure installs and fetches and executes code from a remote server, granting attacker control.