The npm package 'zod-msg-tools' version 0.1.4 contains malicious code that monkey-patches Node.js's http.createServer to create hidden POST endpoints. These endpoints bypass application authentication and allow execution of attacker-supplied SQL queries against database pools. For PostgreSQL, the backdoor escalates to OS command execution by invoking the psql CLI with attacker-controlled commands. The package silently installs the PostgreSQL client on Alpine-based hosts to enable this functionality. The package's public description misleads developers by presenting itself as a Zod validation message helper while hiding the backdoor functionality.