AI Estate · AI Security
Codex Found a Critical Java Flaw in One Hour
Calif used OpenAI's Codex to find Java4Shell for under $200 in tokens. A U.S. cyber agency urged organizations to patch it, and New York pressed its banks to act.
· 2 min read
- ORCL
- CSCO
- TEAM

A researcher at the security firm Calif pointed OpenAI’s Codex at Java’s core code, and within an hour it surfaced a flaw that can let an attacker run code on a server without logging in.
Finding a hole this deep in Java, and building an attack on it, took a few hours of one person’s time and less than $200 in tokens. A company cannot count on a flaw like this staying unknown, and Java is easy to lose track of: it ships inside vendor products and appliances, so the patch queue has to cover copies the company never installed itself.
How was it found?
Calif researcher Quang Luong directed Codex to audit Java’s core code, and the flaw surfaced in about an hour. He spent two more hours building the first working attack. The total cost in tokens came to less than $200.
The flaw is in OpenJDK, the most popular Java runtime, in the code that decodes Base64 text on certain processors. No single exploit works everywhere: each application needs its own tailored attack. Calif showed login-free code execution against default setups of Keycloak, Atlassian’s Jira and Confluence, Jenkins, JFrog Artifactory and PingFederate, and says Java powers 90% of Fortune 500 companies.
The bug was not new. A Java user had reported it in June, and a proposed OpenJDK fix went unmerged. Oracle’s patch came after Calif showed the flaw could be exploited.
Who is telling companies to act?
The Cybersecurity and Infrastructure Security Agency (CISA) urged organizations to patch immediately, starting with systems exposed to the internet, and to check vendor software, container images and appliances for their own copies of Java.
New York’s Department of Financial Services followed with a letter to the companies it regulates, a group that, according to a published report, includes state-chartered banks. It urged them to “expeditiously identify and remediate” affected systems, and to confirm with their own developers and software suppliers whether affected Java versions are present.
Are attackers using it?
Cisco’s Talos security group said at first that it had not seen exploitation in the wild. Probing followed. The threat-intelligence firm GreyNoise had recorded more than 150 requests shaped like a Java4Shell attack from five IP addresses, the report said. It saw no successful intrusion on its sensors.
The report also put the number of affected Cisco products at 25. Cisco has named fixed releases for 10 of them and offers no workarounds, it said, and the company’s security team is aware of proof-of-concept code but knows of no malicious use.
Can the company name every vendor product in its estate that ships its own copy of Java, and say which of them have a fixed release?

