chalk-pack
chalk-pack - Postinstall npm Token and Credential Stealer
One of nine packages in the kwakom cluster — a coordinated campaign of malicious npm packages typosquatting popular utility names. chalk-pack carries an identical postinstall credential harvester across all four published versions (1.0.0, 1.0.2, 1.0.3, 1.0.4). On install, a postinstall hook exfiltrates npm tokens, git credentials, environment variables, and bash history. Secrets are collected from ~/.npmrc, ~/.git-credentials, ~/.env, ./.env, and ~/.bash_history, then POSTed to a hardcoded C2 endpoint (149.28.127.35:8888). A local dump is also written to /tmp/.npm-harvest-test.json. The payload is entirely unobfuscated, suggesting a development or test build deployed to production.