The npm package 'tyepescript-core' is a typosquatting malicious package impersonating 'typescript'. It contains a post-install script that decodes and downloads a Windows executable to the installer's temporary directory and executes it silently. Additionally, it sends a beacon with platform information to attacker-controlled infrastructure. This results in arbitrary code execution on the machine during 'npm install'.