The npm package 'grafeno-core' versions 1.0.0 and 1.0.1 contains malicious code executed during the preinstall lifecycle. This code fetches and runs a shell script from an attacker-controlled HTTP server, modifies user shell initialization files to persist execution, and installs a cron job to repeatedly execute the malicious payload every 30 minutes. The package's advertised entry point has no real functionality, indicating the preinstall script is the primary malicious component.