A malware dev has committed a magnificent self-own after an AI-coded malicious package leaked its own GitHub private token
🖥 PCNews
🎮 A malware dev#Security#Software

A malware dev has committed a magnificent self-own after an AI-coded malicious package leaked its own GitHub private token

PC Gamer RSS FeedAndy Edser2 min read(4 months ago)

We're continually warned about the prospect of AI-generated malware these days, but there is one important factor working in our favour: sometimes, it's kinda rubbish.

Ox Security researchers have discovered an info-stealing malicious npm package called mouse5212-super-formatter, designed to target Claude users. The nasty little blighter reached 676 downloads before being unmasked, after the apparently AI-coded malware leaked its own GitHub private token (via The Registry).

The researchers say the infostealer posed as an internal "archive deployment sync utility", but in reality, it "authenticates to GitHub (using an environment token or a hard-coded fallback), checks whether a target repository exists, creates it if needed, then recursively walks a local directory and uploads every file through the GitHub Contents API."

Latest Videos From

The malware then stores stolen files under a random per-run folder name, while also writing a fake network connections log to make "execution look like diagnostics rather than theft."

The GitHub private token allowed the researchers to trace the stolen files and analyse the malware, raising suspicions of AI coding involvement. The threat actor's GitHub account linked to the package has since been deleted.

(Image credit: skaman306 via Getty Images)

My favourite part? OX Security has put together a handy chart to show how it all works, labelling its type as "Infostealer/Malware-Slop." Damn.

"While threat actors have been leveraging their techniques in recent years, this is a good example showing how some... are using AI to generate malware without understanding basic opsec concepts and best practices," says the company.

Keep up to date with the most important stories and the best deals, as picked by the PC Gamer team.

"Now that the bar to create malicious code [has been] reduced significantly, we’re going to see more threat actors getting into the game–uploading more sloppy malwares, mostly mimicking APT groups to get a slice of the cake until npm starts automatically blocking malware completely."

Well, this particularly insecure, err, security risk appears to have been neutralised, and we can all rest easy in our beds tonight. Hey, just be glad we're still in the early days of the AI self-owning age. If things keep developing at the current rate, these stories are going to become a lot less fun as the years go on.

Best gaming rigs 2026

Share:

More in PC

Valve is still figuring out ‘how and when’ to do Steam Deck 2🖥 Steam Deck, PC, Multi-platform

Valve is still figuring out ‘how and when’ to do Steam Deck 2

Now that Valve has finally launched its entire 2026 hardware lineup - the Steam Controller, the Steam Machine, and today's Steam Frame - are we any closer to a next-gen Steam Deck handheld? Valve isn't saying so yet. The company is figuring out "how and when we can deliver something like that," Valve designer Pierre-Loup &8230;

🎮 Valve
TheNewsabout 1 hour ago
Wordle hint and answer today #1914 (September 15 2026)🖥 Mobile, PC

Wordle hint and answer today #1914 (September 15 2026)

!(https://assetsio.gnwcdn.com/wordle-cat.jpg?width=690&quality=85&format=jpg&auto=webp) Need a hint for today's Wordle answer? It can get rough out there in the grid. If you're starting to lose hope, we've got your back. Every day, Wordle presents its legions of players with a deviously simple quandary: can you guess the right five-letter word within just six guesses? All you have to help you in finding the Wordle answer are the contextual clues you gain from each guess - but often, that's not enough. Wordle can be tricky, you see, and it's not unusual to look for a little bit of help if you want to preserve your year-long winstreak. In this guide we'll offer up a selection of Wordle hints to help you figure out today's solution for Tuesday September 15. Scroll down a bit further and we'll also reveal today's Wordle answer for 15/9, and a definition of the word if you need it. Read more(https://www.rockpapershotgun.com/wordle-hint-and-answer-today-15-09-26)

RockGuides / Walkthroughsabout 1 hour ago
NYT Connections hint (Tue, 15 Sep)🖥 PC

NYT Connections hint (Tue, 15 Sep)

!(https://assetsio.gnwcdn.com/rps-connections-header-image-2.jpg?width=690&quality=85&format=jpg&auto=webp) Connections can really eat up your morning, afternoon, or evening. Instead of spending hours racking your brain for the answers, let us give you a hand! We specialize in both hints and answers for Connections here, so you never have to lose your hard-earned streak. Read more(https://www.rockpapershotgun.com/connections-hint-answers-15-09-26)

RockGuides / Walkthroughsabout 1 hour ago