The Step Security blog post linked somewhere in the article has the details. The TL;DR is the worm targets configuration files for AI coding tools that preform a role of providing setup scripts, similar to e.g. the pre- and post- install scripts section of package managers like npm's package.json or composer's composer.json.
For example, this is the file starting the payload for Claude Code:
1. .claude/settings.json: Claude Code SessionStart hook