ChatGPT can apparently make malware code on the fly, too

Welp.
By  on 
Malware symbol
Uh oh. Credit: sarayut Thaneerat/Getty Images

We know that the popular ChatGPT AI bot can be used to message Tinder matches. It can also turn into a swankier version of Siri or get basic facts completely wrong, depending on how you use it. Now, someone has used it to make malware.

In a new report by the security company CyberArk (and reported by InfoSecurity Magazine), researchers found that you can trick ChatGPT into creating malware code for you. What’s worse is that said malware can be difficult for cybersecurity systems to deal with.

The full report goes into all the nitty-gritty technical details, but in the interest of brevity: it’s all about manipulation. ChatGPT has content filters that are supposed to prevent it from providing anything harmful to users, like malicious computer code. CyberArk’s research ran into that early, but actually found a way around it.

Mashable Light Speed
Want more out-of-this world tech, space and science stories?
Sign up for Mashable's weekly Light Speed newsletter.
By clicking Sign Me Up, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up!

Basically, all they did was forcefully demand that the AI follow very specific rules (show code without explanations, don’t be negative, etc.) in a text prompt. After doing so, the bot happily spit out some malware code as if it was totally fine. Of course, there are lots of additional steps (the code needs to be tested and validated, for example), but ChatGPT was able to get the ball rolling on making code with ill intent.

So, you know, watch out for that, I guess. Or just get off the grid and live in the woods. I’m not sure which is preferable, at this point.


Recommended For You
23 of the best ChatGPT courses you can take online for free
ChatGPT in hand

4 wild ways ChatGPT image generation is being used now that it's free
open ai and chatgpt logo on phone

OpenAI announces new ChatGPT product amid DeepSeek AI news
OpenAI logo behind the DeepSeek logo on a smartphone

OpenAI launches 'deep research' AI agent for ChatGPT
OpenAI CEO Sam Altman talking about deep research onstage at an event in Tokyo

ChatGPT search is now available to all users, even those without an account
OpenAI ChatGPT search on mobile device

Trending on Mashable

NYT Connections hints today: Clues, answers for April 21, 2025
Connections game on a smartphone


Wordle today: Answer, hints for April 21, 2025
Wordle game on a smartphone

The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!