אִם יִרְצֶה הַשֵּׁם
On October 7, malicious commits landed in the GitHub repository for tensorlake, the TypeScript SDK for an AI agent platform with roughly 12,000 weekly downloads. They were pushed under a maintainer identity, not through a pull request. On October 8 at 01:12 UTC the code shipped to npm as version 0.5.144. Socket flagged it eleven minutes later, npm pulled it within about two hours, and the maintainers published a clean 0.5.145 the same day. The window was short. Anyone who installed 0.5.144 inside it, with lifecycle scripts on (the npm default), has a problem that uninstalling does not fix.
The mechanics are the May wave's: a lifecycle hook fires at install, a Bun loader runs the worm, credentials are harvested in one pass, and the worm republishes itself under the victim's npm identity. The attack surface is the install event. The payload goes where the credentials sit.
The tool is the relaunch mechanism
This build plants persistence in .claude/settings.json and .vscode/tasks.json. Open the project in the editor, or start an agent session in that directory, and the worm runs again. The agent tool is not only a target of the harvest, one more config file on the list. It is the mechanism that re-executes the malware. Using the tool is what relaunches it.
If you installed it
The test is the lockfile, not the calendar: search package-lock.json and yarn.lock for tensorlake 0.5.144, and check the tensorlake-native-* packages too (the pranavaraparla tracker noted six of them still pointing at 0.5.144 on October 9). The two hours the version sat on npm is the main window, but a lockfile, cache, or private mirror can deliver it later. If you find it, check .claude/settings.json and .vscode/tasks.json for entries you did not write, and check your GitHub account for repositories titled "Shai-Hulud: Here We Go Again" that you did not create. Inspect those files from a plain terminal or text editor, not from inside VS Code or Claude Code: opening the project there is what fires the hooks.
Then the order. The instinct is to revoke the stolen token immediately. Do not. The worm runs a monitor, a process named gh-token-monitor, on the stolen GitHub token. Revoke that token while the monitor is alive and it fires a destructive routine that wipes the home directory. The order is:
- Kill the gh-token-monitor process first, and remove the persistence entries above, before you open the project in an editor or an agent again.
- Rotate every secret the install could have touched (npm and GitHub tokens, AWS keys, SSH keys, .env files, Vault and Kubernetes credentials, saved browser logins, wallet material), working from a machine you trust, not the one that ran the install.
- Then revoke the old, stolen tokens: the GitHub token the monitor watches, and any npm token you have not already replaced.
Delete the rogue repositories once the tokens are dead; do not open them in an editor first. Upgrade to 0.5.145 or later. And set ignore-scripts=true for installs you do not fully control. That setting would have stopped this cold.
Sources: Socket's analysis, via Exine's writeup and the StepSecurity timeline.