Skip to content
Submit incident
AII-1002-12223
ConfirmedA court, a regulator or the organization itself has stated the core facts, or the record cites a court or regulator source.

PromptLock AI-powered ransomware prototype discovered

Researchers at New York University created a proof-of-concept ransomware called PromptLock that uses OpenAI's open-source GPT-OSS:20b model to generate malicious code via hardcoded prompts. The prototype was misidentified as functional malware when uploaded to VirusTotal for testing and does not work outside the lab environment.

26 August 2025 Β· New York University Tandon School of Engineering Β· Security and cyberattacks
26 August 2025
AII-1002-122232 sources ↓
Quick facts
Category
Security and cyberattacks
Country
United States
Source
PCMag UK
Date
26 August 2025
Drafted by
Raidu Incident Detection

What happened

Cybersecurity company ESET discovered what it called the first known AI-powered ransomware, named PromptLock, in August 2025. According to ESET, PromptLock uses OpenAI's open-source GPT-OSS:20b model to generate malicious Lua scripts via hardcoded text prompts, which then enumerate files, exfiltrate data, and perform encryption on infected systems.

An update revealed that PromptLock was actually a research prototype from New York University's Tandon School of Engineering that researchers had uploaded to VirusTotal during testing. The prototype was non-functional outside the lab environment, and its academic origin was not indicated in the uploads.

Reported impact

The malware was designed to run on Windows, Linux, and macOS systems and could exfiltrate, encrypt, or potentially destroy files on compromised computers. The code contained functionality to implement NSA-developed SPECK 128-bit encryption.

Index analysis

PromptLock used hardcoded prompts to instruct the GPT-OSS:20b model to generate Lua scripts that would execute malicious actions. The ransomware could access the model either locally on a 16GB GPU or remotely via the Ollama API through a proxy or tunnel.

Classification

Category
Security and cyberattacks
Industry
Digital security
Country
United States
Harm status
Potential harm
Intent
Unknown
Timing
Pre-deployment
Harm types
Economic or property, Public interest
Failure modes
Prompt injection, Misidentification
Consequences
None recorded
AI systems
GPT-OSS:20b

Sources and evidence

This record was researched and written by the Index, based on the following original reporting.

PCMag UK
Mysterious 'PromptLock' Ransomware Is Harnessing OpenAI's Model
26 August 2025
iTnews
ESET spots "PromptLock" AI-powered ransomware
27 August 2025