Unbelievable but true. Hackers are leveraging ChatGPT to deliver malware. A new attack "s1ngularity" accessed 2,180 GitHub accounts, and what is scarier is the attack went faster than expected due to the enhanced technique of leveraging AI.
The hackers had ChatGPT write the fake projects so they included regular commits, standard names, and descriptions so that if someone was searching GitHub for code, they would have easily been compromised with the installed malware.
So scary right? To even create a simple script and with one click "clone" boom, without any awareness malware has been installed.
• Create tons of fake repos quickly.
• Make projects appear real.
• Disseminate malware to more people while drawing little attention.
In short, AI is making hackers smarter and faster.
• Revoked the stolen tokens.
• Alerted the impacted users.
• Opened an investigation of the attack on their platform.
Despite these corrective actions, there were still over 2000+ accounts compromised. That's many projects that could potentially spread malware to thousands of developers.
• Enable two-factor authentication.
• Change and rotate your tokens regularly.
• Thoroughly double-check repositories before downloading.
• Keep an eye out for suspicious commits or unrecognized contributors.
So what exactly happened?
Hackers stole Access tokens and credentials on the GitHub and created fake projects that looked exactly like real projects.The hackers had ChatGPT write the fake projects so they included regular commits, standard names, and descriptions so that if someone was searching GitHub for code, they would have easily been compromised with the installed malware.
So scary right? To even create a simple script and with one click "clone" boom, without any awareness malware has been installed.
Why AI makes it worse
Usually, fake repos are pretty easy to identify—bad grammar, weird names, and sloppy work. Here, with AI, those mistakes go away. The s1ngularity attack showed AI can:• Create tons of fake repos quickly.
• Make projects appear real.
• Disseminate malware to more people while drawing little attention.
In short, AI is making hackers smarter and faster.
What GitHub did
GitHub moved quickly. They:• Revoked the stolen tokens.
• Alerted the impacted users.
• Opened an investigation of the attack on their platform.
Despite these corrective actions, there were still over 2000+ accounts compromised. That's many projects that could potentially spread malware to thousands of developers.
How to protect yourself
Don’t freak out—you can protect yourself with a few easy precautions:• Enable two-factor authentication.
• Change and rotate your tokens regularly.
• Thoroughly double-check repositories before downloading.
• Keep an eye out for suspicious commits or unrecognized contributors.