The ts-rand-sdk npm package contains malicious code that executes a hidden payload with full Node.js capabilities on the host machine. It disguises itself as a random transactions SDK but loads and executes obfuscated JavaScript code from a disguised data file. This code execution grants arbitrary filesystem, process, and network access, effectively compromising any system running the package. Immediate removal and secret/key rotation are strongly advised.