ghtier

These write-ups are not threat intelligence and are not kept up to date as an incident develops. They are here to show how each attack worked, so you can find and fix the same techniques in your own setup. For the latest on an incident, read its sources.

← All incidents

Toptal repo-visibility flip and wiper

July 2025 · Contained

With old credentials that Toptal traced to the LastPass breaches, someone made 73 of Toptal's GitHub repositories public and published ten Picasso and Xene npm versions whose install scripts sent the installer's GitHub CLI token away and then tried to wipe the machine.

Access held
T0OwnerT0reponpm publish rights
Full summary

On 20 July 2025 73 repositories in Toptal's GitHub organization became public within five minutes, and within the same hour malicious versions of ten packages from its Picasso design system and Xene appeared on npm. Each version's package.json ran gh auth token in an install script, posted the token to a webhook.site address, and then ran rm -rf on / with sudo, or a recursive delete on Windows. Socket found it, counted about 5,000 downloads and could not say how the attacker got in or how the GitHub changes and the npm releases were connected. Toptal deprecated the versions by 23 July. In a statement in early August it said the two packages were compromised for a few hours through credentials traced back to the LastPass breaches, that the downloads were mostly security scanners, and that 17 IP addresses reached the webhook. It has not said whose credentials they were or whether they were a GitHub password, a token or an npm login.

How it unfolded

Pick a step to zoom into it. A dashed line is a step the sources do not state. Blue dots are the checklist items that break the step.

Whole path

Phished or hijacked accountway inOwnerUnnamed Toptal accountnpm publish rights@toptal and @xene scopesFlip private repositoriesto publicescalationRead or expose private codePublish a malicious versionwith a stolen tokentechniqueCompromised Action orpackageway inrepoInstallers' gh CLI tokens

The whole attack, one row per step. Pick a step on the left, or click a box in its row.

Frameworks

Contained. First seen July 2025. Mapping by ghtier, not yet reviewed. Threat landscape

Sources