PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

Mysterious 'PromptLock' Ransomware Is Harnessing OpenAI's Model

ESET says PromptLock runs gpt-oss:20b locally on an infected device to help it generate malicious code using hardcoded text prompts, though it might be a proof of concept.

 & Michael Kan Principal Reporter

Our team tests, rates, and reviews more than 1,500 products each year to help you make better buying decisions and get more from technology.

Our Expert
LOOK INSIDE PC LABS HOW WE TEST
65 EXPERTS
43 YEARS
41,500+ REVIEWS
(Photo by Utku Ucrak/Anadolu via Getty Images)

Don't miss out on our latest stories. Add PCMag as a preferred source on Google.


UPDATE 9/4: The PromptLock ransomware is actually a research project from a team at the New York University Tandon School of Engineering.

"The Tandon researchers had uploaded their prototype to VirusTotal during testing procedures, and the files there appeared as functional ransomware code with no indication of their academic origin," the school said. "While it is the first to be AI-powered, the ransomware prototype is a proof-of-concept that is non-functional outside of the contained lab environment."

Original Story:
Whether for malicious purposes or simply research, someone appears to be using OpenAI’s open-source model for ransomware attacks, according to antivirus company ESET. 

On Tuesday, ESET said it had discovered “the first known AI-powered ransomware,” which the company has named PromptLock. It uses OpenAI's gpt-oss:20b model, which the company released earlier this month as one of two open-source models, meaning a user can freely use and modify the code. It can also run on high-end desktop PCs or laptops with a 16GB GPU. 

ESET says PromptLock runs gpt-oss:20b “locally” on an infected device to help it generate malicious code, using “hardcoded” text prompts. As evidence, the cybersecurity company posted an image of PromptLock’s code that appears to show the text prompts and mentions the gpt-oss:20b model name. 

The ransomware will then execute the malicious code, written in the Lua programming language, to search through an infected computer, steal files, and perform encryption. 

“These Lua scripts are cross-platform compatible, functioning on Windows, Linux, and macOS,” ESET warned. “Based on the detected user files, the malware may exfiltrate data, encrypt it, or potentially destroy it.”

ESET appears to have discovered PromptLock through malware samples uploaded to VirusTotal, a Google-owned service that catalogs malware and checks files for malicious threats. However, the current findings suggest PromptLock might simply be a “proof-of-concept” or “work-in-progress” rather than an operational attack. ESET noted that the file-destruction feature in the ransomware hasn’t been implemented yet. One security researcher also tweeted that PromptLock actually belongs to them.

At 13GB, the gpt-oss:20b model's size raises questions about viability. Running it could also hog the GPU's video memory. However, ESET tells PCMag that, "The attack is highly viable. The attacker does not need to download the entire gpt-oss model, which can be several gigabytes in size. Instead, they can establish a proxy or tunnel from the compromised network to a server running the model and accessible via the Ollama API. This technique, known as Internal Proxy (MITRE ATT&CK T1090.001), is commonly used in modern cyberattacks."

In its research, ESET also argues that it's "our responsibility to inform the cybersecurity community about such developments." John Scott-Railton, a spyware researcher at Citizen Lab, also warned: "We are in the earliest days of regular threat actors leveraging local/private AI. And we are unprepared."

In its own statement, OpenAI said, "We thank the researchers for sharing their findings. It’s very important to us that we develop our models safely. We take steps to reduce the risk of malicious use, and we’re continually improving safeguards to make our models more robust against exploits. For example, you can read about our research and approach in the model card."

OpenAI previously tested its more powerful source model, gpt-oss-120b, and concluded that despite fine-tuning, it “did not reach High capability in Biological and Chemical Risk or Cyber risk."

Disclosure: Ziff Davis, PCMag's parent company, filed a lawsuit against OpenAI in April 2025, alleging it infringed Ziff Davis copyrights in training and operating its AI systems.

About Our Expert

Michael Kan

Michael Kan

Principal Reporter

My Experience

I've been a journalist for over 15 years. I got my start as a schools and cities reporter in Kansas City and joined PCMag in 2017, where I cover satellite internet services, cybersecurity, PC hardware, and more. I'm currently based in San Francisco, but previously spent over five years in China, covering the country's technology sector.

Since 2020, I've covered the launch and explosive growth of SpaceX's Starlink satellite internet service, writing 600+ stories on availability and feature launches, but also the regulatory battles over the expansion of satellite constellations, fights with rival providers like AST SpaceMobile and Amazon, and the effort to expand into satellite-based mobile service. I've combed through FCC filings for the latest news and driven to remote corners of California to test Starlink's cellular service.

I also cover cyber threats, from ransomware gangs to the emergence of AI-based malware. In 2024 and 2025, the FTC forced Avast to pay consumers $16.5 million for secretly harvesting and selling their personal information to third-party clients, as revealed in my joint investigation with Motherboard.

I also cover the PC graphics card market. Pandemic-era shortages led me to camp out in front of a Best Buy to get an RTX 3000. I'm now following how the AI-driven memory shortage is impacting the entire consumer electronics market. I'm always eager to learn more, so please jump in the comments with feedback and send me tips.

The Best Tech I've Had:

  • My first video game console: a Nintendo Famicom
  • I loved my Sega Saturn despite PlayStation's popularity.
  • The iPod Video I received as a gift in college
  • Xbox 360 FTW
  • The Galaxy Nexus was the first smartphone I was proud to own.
  • The PC desktop I built in 2013, which still works to this day.

Read full bio