The tests asked the blockchain
On November 24, SafeDep reported a 58-line Python loader planted in 375 GitHub repositories by PolinRider, a North Korea-linked campaign that Apiiro now counts in at least 7,609 repositories. In some of them it sits in conftest.py, so a plain pytest run reads an Ethereum wallet, decodes the newest transaction as JavaScript and hands it to Node.js, with every error hidden. Running the tests is the first thing a coding agent does in a new repository. In Bromure Agentic Coding, that first request to the Ethereum indexer meets a default-deny network on the Mac, the agent is told what its test run just tried, and anything that gets further finds stand-ins and a push that waits for you.

The repository's only change was a conftest.py. Running pytest
was enough for it to read its next instructions off the Ethereum
blockchain.
On November 24, SafeDep published PolinRider Moves to Python with an Ethereum Calldata Loader. It describes a 58-line Python loader planted in 375 public GitHub repositories belonging to 260 accounts. The first public report came from Jay Maier of Rising Sun Solutions, in an issue on a community PolinRider scanner. Two days later, The Hacker News put the loader next to Apiiro's count of the wider campaign: at least 7,609 repositories owned by 2,330 accounts, 2,040 of them pushed between October 27 and November 6.
PolinRider is linked to North Korean operators and assessed to run alongside Contagious Interview, the fake-recruiter campaign. Contagious Interview gets onto a developer's machine. PolinRider uses that access to change the developer's repositories, and the people who clone those repositories get the loader.
The loader isn't in PyPI or npm, and it uses only Python's standard library. Dependency scanners have nothing to flag.
Where it hides
SafeDep found the loader in two places:
- A planted
utilspackage (363 files), with five import lines added to start files such asapp/main.pyorcore/asgi.py. The loader files carry ordinary names:session.py,transport.py,clients.py,http_session.py,net.py. conftest.py(12 files). pytest imports it while collecting tests, so the loader runs on anypytestin that folder. Nothing in the project has to import it.
The utils variant often breaks before it runs. In SafeDep's tests,
three of five example apps stopped on ModuleNotFoundError first. The
conftest.py variant has no such problem. One of SafeDep's examples, a
regex data-extraction exercise, runs the loader through plain pytest.
What a test run does
On import, the loader does four things:
- It asks the Ethplorer API (
api.ethplorer.io, with the public keyfreekey) for a wallet's recent transactions, and picks the newest one the wallet sent to itself. - It fetches that transaction in full from
ethereum.publicnode.comwitheth_getTransactionByHash. - It decodes the transaction's input data as JavaScript, writes it to
a temporary
.jsfile and runsnodeon it, with a 20-second timeout and every error hidden. - The JavaScript reads a second wallet for the command-and-control
address, using
eth.blockscout.comas a fallback indexer. It then starts a detachednode -iand writes the next stage to its stdin, so the code never appears on a command line.
The loader wallet sent itself eight transactions between October 24 and
November 11. The newest holds a 31 KB JavaScript stage. The second
wallet has posted 366 heartbeats since September 4, each one naming the
current server. That server moved five times, the latest move to
95.135.181[.]84 on November 12. Taking a server down doesn't stop the
loaders: the operator writes a new address on-chain, and every planted
copy reads it on its next run.
SafeDep didn't connect to the server, so this variant's final payload is unconfirmed. In the wider campaign, the second stage looks for GitHub Desktop, Cursor, VS Code and Google Antigravity, modifies the ones in use so they run attacker code, and delivers infostealers.
How it spreads
The loader is how PolinRider reaches new machines. The spreading uses the access of the developers it has already hit.
Apiiro describes a worm that "uses stolen GitHub access to rewrite commits the developer already made", keeping the author, the message and the date. The loader goes after hundreds of spaces in a build config file, where a reviewer scrolling the diff won't see it. In the newest wave, opening the folder in VS Code is enough to run it. An earlier OpenSourceMalware analysis showed how the history stays clean: a batch script sets the system clock back to the last real commit, amends it and force-pushes. In SafeDep's words, commit dates "are unreliable", and some commits labeled as malware removal still hold the loader.
Pull requests carry it too. On October 19, malicious commits landed in
two pull requests against asyncapi/generator, adding a JavaScript
variant to 14 jest.config.js files and to the build and dev
scripts. The branch was force-pushed to the malicious commits and back.
The maintainers caught it and merged nothing. A GitHub account that
opened more than 200 pull requests against projects such as CircuitVerse
and Open Food Facts did the same, and has been suspended.
SafeDep's closing advice says how the loop keeps going: "clean up the machines that push to a repository and replace their GitHub tokens and SSH keys, or the repository will be reinfected."
Why coding agents walk into it
Give a coding agent a repository and a task, and it runs the tests
before it changes anything. It's how the agent
learns what passes, what fails and how the project is laid out. Ask it
to review a pull request, fix a failing test, evaluate a take-home
assignment from a recruiter, or try a starter project you found on
GitHub, and pytest comes first.
On a conftest.py repository, that one command runs the loader, with no trick
or injected instruction involved. The agent reports the test results it was asked for, because the loader hides its
errors and gives up after 20 seconds. Nothing on screen says the test
run also asked the Ethereum blockchain for code.
On a laptop, the shell that ran it holds the developer's GitHub token, SSH keys, cloud sessions, browser profile and any wallet files. SafeDep's list for a machine that ran the loader is to rotate shell secrets, browser passwords and cookies, and move funds out of wallet files. The same machine then pushes to other repositories.
The same pytest 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. Every connection a machine makes leaves through Bromure's virtual switch and proxy on the Mac, outside the agent's reach. That's where the firewall, the credential swap and the write guardrails run.
Say you hand Claude Code the regex exercise from SafeDep's report, on a
machine using OpenShell + Sentry, and ask it to get the tests
passing. It clones the repository and runs pytest.
The first request goes nowhere
The loader's first move is an HTTPS request to api.ethplorer.io. The
OpenShell starter policy allows GitHub, npm and PyPI read-only plus
Ubuntu's package mirrors, and denies everything else. Ethplorer isn't on
the list, so the request gets a 403 with OpenShell's policy_denied
body and goes no further. The same goes for ethereum.publicnode.com
and eth.blockscout.com. A machine on the Bromure Firewall with
Unmatched traffic set to Deny refuses them the same way.
Without the transaction, the loader has no JavaScript to write out.
node never starts, there's no detached node -i, and nothing reaches
95.135.181[.]84.
The allowlist doesn't need to know any of those hosts. When the operator moves the server with a new transaction, as it did five times since September, the policy stays as it was. The new address isn't on your list either.
The agent hears what its tests did
The loader swallows its own errors, so the 403 never reaches the
terminal. Bromure tells the agent anyway. With Tell the agent when
policy blocks it, on by default for OpenShell machines, the kernel
sentry ties the blocked connection to the process that made it, and
Claude Code gets a note right after the pytest command:
[Bromure policy] This workspace's network policy blocked connecting to
api.ethplorer.io:443— no network policy allowsapi.ethplorer.io:443. … This is a deliberate restriction, not a fault: don't retry it or reach the same thing another way … If your task needs it, stop and tell the user what you need and why so they can decide.
A regex exercise has no business talking to an Ethereum indexer, and Claude Code can see that at once. It stops and tells you the test suite just tried to reach an Ethereum API. The loader was built to keep anyone from noticing that, and the agent says it in its next message. Values in the note that came from the VM are quoted as data, so the malware can't use the block to slip words into the agent's context.
The Timeline names the file
The same refusal is a red Firewall row in the
Security Timeline:
api.ethplorer.io:443, deny — default policy. The Network row
beside it carries the chain from the kernel sentry. Double-click it for
the network lineage: the prompt you gave, the pytest tool call
with an exact match, and the processes from claude through bash
to the python3 that opened the connection. Other flows from this
tool call lists any other host the same test run tried.
You know which command did it, in which repository, within seconds of
the run. On a laptop, SafeDep suggests searching your own code and git
history for wallet addresses and for getAddressTransactions. Here the
Timeline tells you which test run to look at.
The Sandbox drawer shows the blocked host with a count and a red badge on the shield. Leave it blocked. If you turn the agent watchdog to Quarantine, a burst of blocks or new destinations after the session has settled cuts the VM's network and pauses it before anything else happens.
A stage that got further would find stand-ins
Say the machine still runs the firewall's default, with unmatched traffic allowed, and the JavaScript stage runs. The infostealer it delivers looks where infostealers look, and finds very little.
- Tokens.
GH_TOKEN,~/.git-credentialsand every environment variable hold stand-ins: aghp_token GitHub never issued, anANTHROPIC_API_KEYthat startssk-ant-api03-brm-. No file, variable or process in a Bromure VM holds a real API key, OAuth token or cloud secret. The real values are encrypted on the Mac, and the proxy swaps each one in only on requests to the host it belongs to. - SSH keys.
~/.sshhas no private key to copy.SSH_AUTH_SOCKis a bridge to the Mac, which signs on the VM's behalf and never hands over the key. Turn on Ask before use for a key, and every signature request waits for you. - Browser data and wallets. The agent's VM has no browser profile of yours. The machine's embedded browser runs in a separate sidecar VM, and your Mac's browsers, Keychain and wallet files are outside the VM altogether.
- Developer apps. The second stage modifies GitHub Desktop, Cursor and VS Code. The copies you use every day are installed on your Mac, and nothing inside the VM can write to them.
When the stealer posts its haul, the proxy reads the request first. A stand-in headed for anywhere other than the host it was minted for trips the compromise detector. The proxy refuses the request with an HTTP 451, forwards none of it, and pauses the VM with an alert titled This environment may have been compromised listing the token preview and the host it was sent to. Shut down marks the machine compromised, and it won't boot again until it's wiped.
The worm needs a push
PolinRider grows by rewriting commits and force-pushing them. In Bromure, a push from the VM goes through the Mac like everything else.
New machines put GitHub, GitLab and Bitbucket under Prompt before
write. Fetches and clones pass. Every git push over HTTPS stops
for a dialog on the Mac, Allow write on "github.com" from workspace "…"?, showing the exact request. A force push looks like any other
push on the wire, and Prompt before write stops it all the same: a push
you didn't ask for raises a dialog you didn't expect, and Don't
allow sends the agent a hard 403. The OpenShell starter policy goes
further and allows GitHub read-only, so it refuses a push outright
until you open it up.
The stand-in token is no use for pushing from somewhere else, either. It only turns into your real token inside Bromure's proxy, on requests to GitHub, so the commit-rewriting step has nothing to take to the next machine. SafeDep's reinfection loop needs a machine that holds a real token, and a Bromure machine holds none.
Cleaning up
SafeDep's advice for a machine that ran the loader is to treat it as
compromised. On a Bromure machine, that takes a few clicks. Shut the
machine down, which ends any detached node -i with it, and open
⋯ › Rewind home…. Every successful boot takes a rollback point of
the home folder, so pick the one from before the clone. Reset disk
re-clones the system disk from the base image if anything was installed
system-wide.
The rotation list is short. The GitHub token, SSH keys and API keys you configured in Bromure never entered the VM, so the stand-ins the stealer could have read open nothing outside your Mac's proxy.
One search for the fleet
On Macs enrolled with bromure.io, every firewall verdict is an
egress.firewall event, and machines with the kernel sentry send
net.flow events with the process chain. A security team can search
those for api.ethplorer.io, ethereum.publicnode.com,
eth.blockscout.com, 95.135.181.84 and 95.135.181.151, and see in
one query which machines ran a test suite that tried to reach them.
The first request fails
Default deny refuses the Ethereum indexers the loader needs, so no JavaScript stage arrives and node never starts. When the operator moves its server on-chain, your allowlist stays as it was.
The agent says what its tests did
Bromure tells Claude Code what its pytest run tried to reach, the loader's hidden error included, and network lineage traces the connection to the exact tool call.
Nothing worth stealing
Tokens are stand-ins, SSH keys never enter the VM, and your browser and wallets aren't there. A stand-in sent to the wrong host is refused with a 451 and the VM pauses.
No push without you
Prompt before write holds every git push for a dialog on the Mac, force pushes included, and the OpenShell starter policy keeps GitHub read-only.
What to do this week
- Search the repositories you maintain, and their full history, for the
loader wallet
0x3b1574417524c11a7403c4b232CAcBb320CceBC6,getAddressTransactions,eth_getTransactionByHashandNamedTemporaryFilein.pyfiles andconftest.py. Usegit log --all -S <wallet>: clean-up commits may leave the loader in history. - For the npm variant, look for
node api.jsinpackage.jsonscripts and for long runs of trailing spaces injest.config.js,next.config.mjs,tailwind.config.jsand other build configs. - Don't trust commit dates on a repository that may have been hit. Look for force pushes in your forge's audit log.
- On machines that may have run it, look for
node -iornode -eprocesses with no terminal, and for traffic to95.135.181[.]84or95.135.181[.]151on ports 80 and 443. - Treat any such machine as compromised. Rotate its shell secrets, browser passwords and cookies, GitHub tokens and SSH keys, and move funds out of any wallet files on it.
Then give your agents machines where a test run can only reach the hosts you listed, the tokens in reach are stand-ins, and every push waits for you on the Mac.


