The settings file was the dropper
On November 16, Google's Threat Intelligence Group reported that a suspected North Korean cluster, MIDNIGHT NEPTUNE, got into cryptocurrency companies through fake recruiters and ClickFix lures, then edited .claude/settings.json in their internal repositories so that starting Claude Code downloaded the SOMBERMEME backdoor. One commit put it on every developer who opened those repositories. In Bromure Agentic Coding, that download starts inside a VM holding stand-in credentials, meets a default-deny network on the Mac, and shows up as a connection from Claude Code that no tool call explains.

MIDNIGHT NEPTUNE phished one developer, edited a file that every developer's coding agent reads at startup, and waited for the team to start work.
On November 16, Google's Threat Intelligence Group published
GTIG AI Threat Tracker: Agentic Threat Activity Crosses a Significant Threshold,
by Aurora Blum, Kelli Vanderlee, Jess Xia and David Mainor. Most of the
coverage, from
Help Net Security
to The Hacker News,
leads with exploit_agent, a framework that turns patch diffs into working
exploits with no human in the loop. For anyone running coding agents, the
paragraph to read is a few screens further down, under North Korea.
GTIG tracks a suspected DPRK cluster it calls MIDNIGHT NEPTUNE, which went after cryptocurrency companies in North America and Europe this year. GTIG lays out the sequence, and its own words carry the key steps:
- Fake recruiter profiles on professional networks, with profile photos carrying SynthID watermarks, which confirms they were generated.
- Those recruiters sent targets to fake meeting platforms with ClickFix lures, which "prompted targets to run diagnostic fix scripts."
- With a foothold, the actor "pivoted into internal code repositories"
and modified "
.claude/settings.jsonconfiguration files so that when users started up Claude Code, it would automatically trigger the download of the SOMBERMEME backdoor." - To hide its lateral movement, it generated GitHub personal access tokens named after Microsoft Copilot.
GTIG calls this "exploiting native AI agent execution hooks as enterprise access vectors." The post doesn't publish indicators for SOMBERMEME.
Why one file reached the whole team
.claude/settings.json is the project-level settings file, and it's
designed to be committed. Anthropic's documentation says so: check it in,
and everyone who clones the repository gets the same permissions, hooks
and plugin settings. A hook is a shell command Claude Code runs at a set
point in a session, and one point is the start of a session. GTIG doesn't
quote the modified file, but a hook that runs at session start matches
what it describes.
So the second stage needed no second phish. The edit went into the internal repository like any other change. Every developer who pulled it and started Claude Code in that checkout ran the downloader, on their own laptop, as themselves. In a cryptocurrency company, that laptop has signing keys, cloud consoles, the wallet infrastructure's deploy tooling and a GitHub session that can push to everything.
Reviewers wave through a diff to a JSON config. A hook that runs
curl … | sh can be dressed up as environment setup, and the
history in many repositories now holds plenty of small config commits
from agents. The PATs named after Copilot follow the same idea: an
AI tool's name makes a line in an audit log look routine.
The same commit in Bromure Agentic Coding
Bromure Agentic Coding runs Claude Code, Codex, Grok, Kimi and omp in Ubuntu VMs on your Mac, one VM per machine. The agent, its shell, and every hook it starts run inside that VM. Credentials inside are stand-ins, and every connection the VM makes goes through a virtual switch and a proxy on the Mac, where the agent can't reach.
Take the case GTIG describes. The tampered .claude/settings.json is on
main. A developer pulls, opens a session on that repository, and Claude
Code starts in the VM, and the hook fires there.
The hook runs in the VM, not on the laptop
The download and whatever it starts run as ubuntu in a Linux home that
holds the machine's checkouts and caches. The Mac's home folder, its
Keychain, its browser profiles and the developer's wallet tooling aren't
in the VM. The VM sees only the folders you chose to share with it.
That changes what SOMBERMEME lands on. On a bare laptop it gets the developer's whole account. In a Bromure machine it gets a disposable Linux user with stand-in credentials.
The download has nowhere to come from
Set the Bromure Firewall's Unmatched traffic to Deny, or switch the machine to OpenShell + Sentry, whose starter policy allows GitHub, npm and PyPI read-only plus Ubuntu's mirrors and denies everything else. A hook that fetches a backdoor from the actor's server is a connection to a host nobody listed, so it's refused. The refusal is a red row in the Security Timeline, with the host the hook tried to reach.
GTIG published no domains for SOMBERMEME. Default deny works without them: the Mac refuses the server because you never listed it, and nobody has to flag it first.
A connection no tool call explains
On a machine with the kernel sentry, a small kernel module in the VM reports every program launch and every connection to the Mac, over a channel the agent can't silence. Double-click the refused row and its network lineage opens.
For a normal agent action, lineage shows the prompt, the agent's stated
intent, the tool call and the process chain. For this row, the Why
card reads "Not traced to an agent's tool call." The Processes card
shows the chain from claude down to the program that tried to connect.
The agent's transcript has nothing about it, because the model never
asked for it. A download that claude started before you typed anything,
with no tool call behind it, points straight at configuration the agent
loaded.
The agent watchdog looks at the session from outside the VM: bursts of blocked requests, credentials that don't belong, new destinations, outbound volume far above baseline. Set to Quarantine, it cuts the VM's network, pauses it, and asks you what to do.
What it steals is a stand-in
Say the backdoor does run, on a machine someone left with open egress.
It goes looking for credentials and finds them where they belong, in the
format each tool expects. ~/.git-credentials and GH_TOKEN hold a
ghp_ token GitHub never issued. ANTHROPIC_API_KEY starts with
sk-ant-api03-brm-. The AWS secret key is fake. The real values stay on
the Mac, and the proxy swaps a stand-in for its real value only on
requests to the hosts that credential belongs to.
There's no SSH private key to copy either. The VM's SSH_AUTH_SOCK is a
bridge to an agent on the Mac. It can ask for signatures, and the key
bytes never enter the VM.
When a stand-in leaves for any other host, the proxy answers HTTP 451, pauses the VM, and opens an alert titled This environment may have been compromised, naming the credential and both hosts. A backdoor that ships its loot home trips that alert in the same request.
It can't spread the hook to the next repository
MIDNIGHT NEPTUNE's move was lateral: from one laptop into the
repositories everyone shares. From inside a Bromure machine, that move is
a write to GitHub, and Bromure watches writes on the wire. New machines
put every git forge in Prompt before write. A git push, or a REST
call that changes a repository, stops and opens a dialog on the Mac
titled Allow write on "<scope>" from workspace "<name>"?, with the
operation shown verbatim as METHOD /path. A push you didn't start,
arriving while the agent is busy with something else, is easy to refuse.
Don't allow returns a 403, and the refusal is remembered so a retry
loop doesn't nag you.
Under OpenShell's starter policy, GitHub is read-only in the first place, so the proxy refuses the push and, with Enforce binaries on, names the program that tried it.
Your security team sees the whole fleet
GTIG's actor needed every developer to pull and start Claude Code. The
incident response question is who did. On an enrolled Mac, Bromure
streams net.flow events (each connection with its process chain and
the host's decision) and egress.firewall verdicts to your
organization. Search them for the download host once you know it, or for
connections from claude with no tool call behind them, and you get a
list of machines and times. You don't have to reconstruct it from
laptops that ran the payload as their owners.
Undoing it
Everything the hook wrote lives in the machine's home or system disk.
Bromure takes a copy-on-write checkpoint of the home on the first
successful boot of each day. Shut the machine down, open
⋯ › Rewind home…, pick a point from before the pull, and the next
start comes up with the home as it was. If the payload used sudo,
Reset disk re-clones the system disk from the signed base image and
leaves the home alone. A machine the 451 alert marks as compromised
refuses to boot until you choose Wipe and Launch, which clears the
disk and home and keeps your tokens, keys and settings, which never
left the Mac.
Then revert the commit, and the next pull brings a clean
.claude/settings.json back.
The hook runs in a VM
Starting Claude Code in a poisoned repository runs the hook as a Linux user in a VM, away from the Mac's home, Keychain and keys.
Default deny refuses the download
The backdoor's server isn't on your list, so the fetch is refused on the Mac before anyone has published an indicator for it.
No tool call, and it shows
Network lineage traces the refused connection to claude with no
tool call behind it, so you know the agent's configuration asked for it.
No quiet push to the next repo
Stolen stand-ins trip a 451 and pause the VM. A push to GitHub waits for your OK in a dialog that shows the method and path it writes.
What to do this week
- Search every repository, including internal ones, for
.claude/settings.jsonand.claude/settings.local.json, and read every hook. Treat a hook that downloads or runs a remote script as an incident until you've traced it. - Add
.claude/(and.vscode/,.cursor/,.codex/) to CODEOWNERS so a change to agent configuration needs a reviewer who knows what a hook is. - If your organization doesn't need project hooks, use Claude Code's
managed settings:
allowManagedHooksOnlykeeps hooks to the ones you ship, anddisableAllHooksturns them off. - Review GitHub personal access tokens across your organization. A token named after an AI tool deserves the same look as any other.
- Treat "run this diagnostic script" from a meeting page as an attack, in your awareness training and in your EDR rules.
Then move your agents into machines where a poisoned settings file runs in a VM, finds stand-ins, and can't reach its own server. Default deny, OpenShell policies and the kernel sentry are covered in the Sandbox Policy chapter of the manual, and write policies in Prompt Injection & Guardrails.


