OpenAI Codex Breaks USB Encryption in Minutes, Exposing Hardcoded Keys and Security Flaws
OpenAI Codex helped a researcher find security flaws in four USB products, including hardcoded keys that let files be decrypted without passwords.
Overview
A researcher named Xusheng Li used OpenAI Codex to find security flaws in four USB protection products. The AI tool identified weaknesses in the software in as little as seven minutes. These flaws included hardcodedPasswords or secret keys written directly into source code instead of stored in a separate vault encryptionScrambling readable data with a mathematical key so only someone with the right key can read it keysThe secret value that locks or opens a message and hidden accounts that allowed files to be decrypted without the owner's password. The findings show that the products failed to handle secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys properly rather than proving a breakthrough against encryption algorithmsA step-by-step procedure or mathematical recipe a computer follows to solve a problem or process data. The research was published on BinaryBase 2, where each byte is written as 8 ones and zeros Ninja's blog on October 22, 2026. Users of these specific USB protection tools are affected because their data can be accessed without the intended password.
Terms in this story
- Hardcoded
- Passwords or secret keys written directly into source code instead of stored in a separate vault. When a vendor ships a router or server appliance with hardcoded credentials inside its firmware, every customer device shares the exact same secret backdoor password.
- Encryption
- Scrambling readable data with a mathematical key so only someone with the right key can read it. Online services use encryption to protect credit card numbers in transit, while ransomware gangs use the same math to lock a company's files until a ransom is paid. Security+ objective 1.4 lists the term
- Keys
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- secrets
- Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
- algorithms
- A step-by-step procedure or mathematical recipe a computer follows to solve a problem or process data. In cybersecurity news, an algorithm usually refers either to a cryptographic cipher and hashing method or to the scoring rules an AI system uses.
- Binary
- Base 2, where each byte is written as 8 ones and zeros. In security news, the word binary refers either to raw data made of ones and zeros or to a compiled executable program that runs directly on a computer's processor. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- MCP server
- A connector program that gives an AI assistant access to a specific database, file system, or web API. When a developer connects an AI agent to an MCP server, a bug or malicious prompt in that connector can let the agent run unintended shell commands or read private files.
- encrypted
- Turn plaintext into ciphertext with a key. News stories use this verb when a defense scrambles sensitive records before storing them, or when ransomware locks a company's files so staff cannot open them without paying for the key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
- backdoor
- A hidden way into a computer or program that skips the normal login check. Attackers plant a backdoor on a compromised server so they can return later even if the administrator changes passwords or fixes the original flaw. Security+ objective 2.4 lists the term
- MD5
- An old hash of 128 bits, written as 32 hex characters. Although threat reports still list legacy file fingerprints from this older algorithm alongside newer ones, it is never safe for digital signatures or passwords because attackers can generate collisions. From the CYBR 101 room CYBR 101: What is a hash?
- AES
- The standard symmetric cipher today, with 128, 192 or 256-bit keys. From laptop disk encryption and wireless networks to HTTPS traffic, AES is the workhorse cipher that protects everyday data, and even ransomware gangs use it to lock victims' files. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2)
- bits
- 1 binary digit, a 1 or a 0 (a switch that is on or off). Every file, network packet, and cryptographic key in a computer is stored as a long sequence of bits, and key strength is measured by how many bits the key contains. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"...uncover flaws in four USB protection products..." Found by reading the article; these exact words are in it - Who is affected: "...four USB protection products..."
Copied word for word from the article - Security+ 1.4 Explain the importance of using appropriate cryptographic solutions.
"OpenAI Codex Breaks USB Encryption in Minutes, Exposing Hardcoded Keys and Security..." Found in the headline - Security+ 2.2 Explain common threat vectors and attack surfaces.
"OpenAI Codex Breaks USB Encryption in Minutes, Exposing Hardcoded Keys and..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"......Encryption in Minutes, Exposing Hardcoded Keys and Security Flaws..." Found in the headline - Security+ 2.5 Explain the purpose of mitigation techniques used to secure the enterprise.
"OpenAI Codex Breaks USB Encryption in Minutes, Exposing Hardcoded Keys and Security..." Found in the headline - Security+ 3.3 Compare and contrast concepts and strategies to protect data.
"OpenAI Codex Breaks USB Encryption in Minutes, Exposing Hardcoded Keys and Security..." Found in the headline - Security+ 3.4 Explain the importance of resilience and recovery in security architecture.
"OpenAI Codex Breaks USB Encryption in Minutes, Exposing Hardcoded Keys and Security..." Found in the headline - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......files to be decrypted without the owner's password. In one test, Codex identified the..." Found in the opening sentences - Security+ 5.1 Summarize elements of effective security governance.
"OpenAI Codex Breaks USB Encryption in Minutes, Exposing Hardcoded Keys and Security..." Found in the headline - CYBR 101 week 1: the course, logins and two-factor sign in, cyber roles and jobs
"......files to be decrypted without the owner's password. In one test, Codex identified the..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"OpenAI Codex Breaks USB Encryption in Minutes, Exposing Hardcoded Keys and..." Found in the headline - CYBR 101 week 4: encoding, ciphers, symmetric and asymmetric encryption
"OpenAI Codex Breaks USB Encryption in Minutes, Exposing Hardcoded Keys and Security..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"OpenAI Codex Breaks USB Encryption in Minutes, Exposing..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of security implications of device and software configurations.
"...failures in how these products handle secrets..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Apply cryptography primitives to protect the confidentiality and integrity of sensitive data.
"...hardcoded encryption keys and hidden accounts..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role