2+

Threat actors on system

Masked

Symptoms, not diagnosed

Codex

Used as IR tool

EDR

Flagged Codex as malicious

WHAT HAPPENED

A developer running a Linux system noticed behavior they thought looked off. Instead of calling an incident responder, running forensic tools, or engaging a SOC, they opened OpenAI Codex and asked it to investigate and remediate. Huntress published the full case study on April 17 and their analysis is worth reading in full. The short version is that the user was compromised by at least two distinct threat actors who were actively running cryptominers on the system and harvesting credentials, API keys, tokens, and cloud metadata.

The pivotal moment in the Huntress writeup is specific and worth quoting. The user complained to Codex: "My fans are running very loud." Codex, working as designed, treated this as a performance complaint. It suggested CPU throttling. The user applied a Linux terminal command to quiet the fans. Codex marked the problem resolved. The user responded: "That worked. Silent. Perfect. Resolved."

The cryptominer was still running. The loud fans were the primary observable symptom of the cryptominer consuming CPU cycles. Codex did not diagnose the cryptominer. It masked the symptom that would have caused the user to keep looking. The threat actors continued operating. The exfiltration continued. The attackers came back repeatedly over the course of the incident, and Huntress analysts eventually had to intervene because it became clear that the user's AI-assisted "incident response" was not actually stopping anything.

WHY THIS HAPPENED

Codex is a coding agent. It is trained and optimized to complete tasks a developer gives it: write this function, fix this bug, quiet these fans. It is not trained to adopt an adversarial mindset. It does not know that the fan noise might be a symptom of a hostile process. It does not know that the CPU spike the user is annoyed by might be the actual attack. It treats the user's stated complaint as the problem to solve, applies the most direct solution, and reports success.

An incident responder operates on an entirely different model. When a user says "my fans are loud," an IR analyst's first instinct is to ask why. They pull process lists. They look for unsigned binaries. They check crontabs and systemd units. They assume the environment is hostile until proven otherwise. The mindset is fundamentally different from the task-completion mindset that shapes coding agents.

This matters beyond the specific Codex incident. The broader issue is that AI agents are being adopted as general-purpose assistants for work they were not designed to do. A coding agent is not a therapist. A medical chatbot is not a physician. And a coding agent is not an incident responder. The user in the Huntress case did not use Codex maliciously or stupidly. They used it the way the product is marketed: as a smart assistant that can help with technical problems on their computer. The failure mode is built into the assumption that a coding agent knows when to stop being helpful and start being suspicious.

THE EDR PROBLEM

There is a second failure worth understanding. Huntress noted that Codex's legitimate commands were flagged in EDR detection because they looked very similar to how threat actors format their commands. The SOC analyst who eventually looked at this machine had to sort through a tangle of genuine malicious activity, genuine remediation activity, and AI-generated activity that visually resembled both.

This is a structural problem for incident response in an AI-assisted environment. When a user runs Codex-suggested commands to investigate their own system, those commands touch the same surfaces an attacker would touch. They enumerate processes. They inspect network connections. They modify configuration files. They download utilities. EDR systems are trained to alert on this kind of activity because it is tradecraft. The system cannot tell whether the person typing the command is a developer trying to help themselves or an attacker trying to escalate.

For SOC teams, this means triage is about to get harder. The baseline of "what normal user activity looks like" is shifting as more users run AI-generated commands on their own machines. A flood of legitimate Codex-like activity will make it more expensive to identify actual attacker tradecraft. The signal-to-noise ratio gets worse. The analysts investigating the Huntress case had to deconflict Codex activity from attacker activity in real time. That is a new incident response skill that did not exist eighteen months ago.

THE AI ARC THIS WEEK

This is the fifth AI-related story we have covered in seven days. The arc has a shape.

April 14 PM: Anthropic's Claude Mythos autonomously finds zero-days in every major OS and browser. The capability signal.

April 15 AM: Microsoft's second-largest Patch Tuesday ever, 167 CVEs. ZDI confirms AI has tripled submissions. The volume signal.

April 17: NIST announces it cannot keep up with CVE enrichment. The institutional capitulation.

April 19: ZionSiphon OT malware targeting Israeli water utilities. Darktrace confirms the OT skill floor dropped. AI lowering the attacker barrier to entry.

April 20: Huntress publishes Codex IR failure case study. AI expanding the defender blind spot.

Five posts. Five distinct signals. One coherent picture. AI is reshaping every layer of the vulnerability and threat ecosystem, from discovery to volume to institutional response to attacker capability to defender capability. The Codex failure is the mirror image of Mythos. Mythos shows what happens when AI is turned against defense. Codex shows what happens when AI is relied on for defense without the right mindset. Both point to the same conclusion: AI changes the threat model at every layer, and defenders who assume a coding agent will function as an incident responder are going to lose ground they did not know they had.

WHAT DEFENDERS SHOULD DO

  1. 1

    Do not use coding agents as incident responders. This sounds obvious. The Huntress case study proves it is not obvious to users. When a developer suspects compromise, the answer is not to open Codex or Claude Code and ask for help. The answer is to isolate the system, preserve state, and engage someone trained in adversarial thinking. AI coding agents will make the compromise worse, not better, because they are optimized to satisfy user requests, not to detect hostile activity.

  2. 2

    Train your workforce on the difference between coding agents and security agents. Many developers now use Codex, Claude Code, or similar tools daily. They think of these tools as general-purpose smart assistants. When something goes wrong on their machine, they will instinctively turn to the tool they trust for technical problems. That instinct is the failure mode. Security awareness training in 2026 needs a specific module on when to stop using AI and call a human.

  3. 3

    Expect your SOC triage workload to increase. The Huntress analysts spent time deconflicting legitimate Codex commands from attacker commands. That work is going to become routine. Every compromised machine where the user attempted AI-assisted remediation will require analysts to sort three signals: attacker activity, genuine user activity, and AI-generated activity that resembles both. Build time for this into your incident response playbooks and staffing models.

  4. 4

    Implement monitoring that captures user intent, not just command execution. Traditional EDR sees commands. It does not see why the commands were run. In an AI-assisted environment, knowing that a user ran a series of commands because Codex suggested them is different from knowing that an attacker ran those commands through a reverse shell. Logging the prompts and context around AI-generated commands is a new requirement for thorough incident investigation.

  5. 5

    If you are a developer and you suspect your machine is compromised, do not remediate yourself. Disconnect it from the network. Take notes on what you observed. Call a security professional or your company's SOC. The instinct to fix it yourself with the tool you already use daily is natural. It is also the mistake the Huntress case documents. The cryptominer kept running while the user celebrated the silence of their fans.