AI coding agents have become something attackers target directly. Google has reported a suspected North Korean-linked group editing a project's .claude/settings.json so that starting Claude Code pulled down a backdoor. Stolen API keys are being used to run up other people's AI bills. Three habits lower your risk: read a project's settings before you open it, set spending limits, and keep secrets away from the agent.
An 11-minute path to an unknown flaw
On November 20, Amazon Threat Intelligence reported that an AI agent found a previously unknown flaw in a live system in about 11 minutes. Coverage of the report says the target ran MONAI Label at an East Asian university and the operation took place in September. The same campaign also had failed attempts.
The change is who does the repetitive work. A person used to write a script, read the error and pick the next thing to try. An agent can run that cycle without waiting for anyone.
The CIA network breach and ARTEX
On November 24 it was reported that an unclassified open-source intelligence network used by the CIA and the Office of the Director of National Intelligence had been breached. Reporting says classified systems were not affected. Investigators reportedly suspect a tool called ARTEX, but neither the tool nor the attacker has been officially confirmed.
ARTEX is an open-source agent framework that appeared on GitHub in July. The FBI warned about it on November 13. It has no AI model of its own. A user types a goal in plain English, the framework asks an outside model for an attack script, runs it, reads the error and rewrites the script.
LLMjacking: why your API keys are worth stealing
An API key is the secret string that lets software use, and bill, your AI account. LLMjacking means stealing keys or cloud logins to use someone else's models. Google's November 2 report describes organizations as victims and says the access is mostly resold. BleepingComputer's summary notes some victims were billed more than $100,000 a day.
Those cases are large companies. Anyone with a key can still be a target, and a solo builder has less room to absorb a surprise bill.
The poisoned settings file
A coding agent is an AI tool you allow to read files and run commands on your computer. Claude Code reads settings from the project folder when it starts, and those settings can include hooks: commands that run automatically at set moments.
Google reported on November 16 that a suspected North Korean-linked actor, after getting into cryptocurrency organizations, changed .claude/settings.json so that launching the agent fetched a backdoor. Claude Code may ask whether you trust a new folder. Read the files before you answer yes.
The tool channel has been hit too. Cursor confirmed that a tampered copy of the Claude Code extension was served from its marketplace cache on October 29, and Anthropic said its official channels were not affected (BleepingComputer).
The "don't ask again" leak
This one did not make the episode. When you approve a command and tell Claude Code not to ask again, the command is saved to .claude/settings.local.json, including any password typed into it. Apiiro found real secrets in 1,122 of 104,185 public copies of that file, as reported by CSO Online.
If you have ever committed that file, rotate whatever was in it and add it to .gitignore.
Three checks to run today
Think of a store's end-of-day till close. You count the drawer without looking at what the register says it should hold, then compare and log the difference. Do the same with your agent's configuration: read the raw file instead of assuming it holds what you set up.
Read the hooks first. Open
.claude/settings.json(andsettings.local.json) in any downloaded project with a plain text editor before starting the agent. Question any command you don't recognize. Inside Claude Code,/hooksand/mcpshow what is active.Set a spending limit. OpenRouter lets you limit each key with a weekly reset. OpenAI's spend limits are monthly, set per project or organization, and not enforced instantly.
Keep secrets out of the chat. Anything you paste is stored in plain-text session history. Put keys in a
.envfile and add a read-deny rule such asRead(./.env)in your Claude Code permissions. This helps, but it is not a guarantee, since a command that prints a value can still log it.
FAQ
Can opening a downloaded project run code on my computer?
It can if the project carries hooks or tool configurations that your coding agent runs at startup. Read .claude/settings.json and related files before opening the project with an agent.
What is LLMjacking?
It is the theft of API keys or cloud logins to use AI models on someone else's account. The owner can receive the bill while the attacker resells the access.
Was the CIA breach done with ARTEX?
That is a reported suspicion and has not been officially confirmed. Reporting says the affected network was unclassified.
Is a .env file enough to protect my API keys?
No. The agent can still read the file unless you block it, and printed values can end up in session logs. Use a deny rule, set spending limits and rotate any key that may have been exposed.
Companion episode:
Want more like this?
Get the daily AI breakdowns and free playbooks at joebuildsai.com.

