OrganizationJuly 2025
Toptal repo-visibility flip and wiper
73 repositories in the org went public within a five-minute window; at least 10 contained code to exfiltrate GitHub auth tokens and destroy victim systems. The payloads sat in preinstall/postinstall hooks, sending the token to a webhook endpoint then recursively deleting files on Windows and Linux. About 5,000 downloads occurred before removal. This was an org-owner compromise, and the very first action taken was flipping repo visibility.
Permissions abused
Org owner (bulk repo visibility change)npm pre/postinstall token exfiltration