← gociux.comall insights

Active threat · 30 Nov 2026

PolinRider: North Korea-linked malware is hiding in GitHub repos under developers' own names. How to check yours

, Gociux · 30 Nov 2026 · 7 min read

Check whether any repository your developers own or clone contains PolinRider: a hidden loader appended to build config files such as tailwind.config.js, a .vscode/tasks.json that runs on folder open, or a .woff2 "font" that isn't one. Apiiro's November count, summarised by the Cloud Security Alliance on 29 November 2026, is 7,609 poisoned repositories owned by 2,330 accounts, 2,040 of them pushed between 27 October and 6 November. If a developer opened or built an infected repo, treat the laptop as compromised: reimage it and rotate every credential it held, from a clean machine.

TL;DR

What PolinRider is

PolinRider turns established developers' GitHub repositories into malware distribution points. The CSA research note links it to North Korea's Contagious Interview operation (MITRE ATT&CK G1052), in which fake recruiters get developers to run malicious take-home assessments. CSA calls the attribution "a well-supported assessment rather than a confirmed government finding".

The trick that makes it dangerous is history falsification. According to SecurityOnline's write-up of OpenSourceMalware's research, a batch file called temp_auto_push.bat captures the author, email, timestamp and message of the most recent commit, sets the Windows clock back to match it, amends the commit with the payload and force-pushes. The poisoned commit looks like the developer's own months-old work.

The campaign has grown quickly:

How it gets onto a developer's machine

Reports describe fake job offers and take-home tests, and a malicious VS Code extension or npm package, as entry points; later reporting describes stolen GitHub tokens being used for the force-pushes (CSA). Once one developer is infected, every repository they can push to becomes a carrier, which is why Socket calls developer collaboration on Git hosting the campaign's main spread channel.

The payload doesn't wait for anyone to run npm install. It hides where tooling runs it for you:

The loader then reads its next server address from public blockchain transactions, a dead-drop technique researchers call EtherHiding and, in its newer form, NullReceiver. Earlier waves used TRON, Aptos and BNB Smart Chain (Wiz), and Socket lists an Ethereum sender address. Blocking yesterday's IPs doesn't stop tomorrow's.

What runs next: Socket assesses cryptocurrency theft as the main goal, and reported final stages include the BeaverTail backdoor and infostealer. The November payload Apiiro analysed skips CI machines, reads the clipboard, uploads files and persists in VS Code, Cursor, Discord and GitHub Desktop (CSA). On a corporate laptop, that means GitHub tokens, cloud keys, SSH keys and browser sessions.

Step 1: scan your clones

Run these on developer machines and build hosts, pointed at wherever repositories are checked out (here ~/src). They look for the patterns above. A hit isn't proof, but each one needs a human look.

# VS Code tasks that run automatically when a folder opens
grep -rl --include=tasks.json 'folderOpen' ~/src

# Config and test files with suspiciously long lines (payload hidden after whitespace)
find ~/src -path '*/node_modules' -prune -o -type f \( -name '*.config.js' \
  -o -name '*.config.mjs' -o -name '*.config.cjs' -o -name 'conftest.py' \
  -o -name 'index.php' \) -print0 |
  xargs -0 awk 'length($0) > 500 { print FILENAME ": line " FNR " is " length($0) " chars"; nextfile }'

# .woff2 files that don't start with the real WOFF2 signature
find ~/src -path '*/node_modules' -prune -o -name '*.woff2' -print |
  while read -r f; do head -c 4 "$f" | grep -q wOF2 || echo "not a font: $f"; done

Minified files can trip the long-line check, so read the end of each hit. Also check for the indicators CSA lists, including the dead-drop wallet 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, which Socket also reports. CSA advises preferring wallet and behaviour detections over IP blocklists, for example a build or editor process querying blockchain RPC endpoints and then starting node -e. That belongs in your EDR or SIEM.

Step 2: check for force-pushes

Because the dates are faked, commit dates won't help. OpenSourceMalware's advice, quoted by CSA: "trust GitHub's push times over commit dates". Two practical checks:

Don't stop at company repositories. Developers' personal accounts are 86% of the victims, and a laptop infected through a side project still holds your corporate tokens.

Step 3: if something ran, rebuild, don't clean

If a developer opened or built an affected repository, Socket says to treat it as a host compromise, and CSA recommends "reimaging such machines rather than attempting to clean them". Then, from a clean machine:

  1. Rotate GitHub personal access tokens and SSH keys, package registry tokens, cloud keys and CI/CD secrets the person could reach.
  2. Revoke browser sessions and reset saved passwords, because session cookies are on the stealer's list.
  3. Review the account's recent pushes, new repositories and collaborator changes, and restore affected branches from a known-good commit.
  4. Check what the stolen credentials could reach. A GitHub token with access to a CI pipeline that holds cloud credentials is a path into production. We covered that chain in Secrets in your repos and the GitHub Actions secret stealer.

If customer or employee personal data could have been reached, the GDPR 72-hour clock and, for NIS2 entities, the 24-hour early warning may apply. Our incident clock works out the deadlines.

Step 4: make the next one harder

For a quick look at your wider exposure, try our free stack check.

Why this matters for NIS2, DORA and PCI DSS teams

NIS2 Article 21(2) lists supply chain security and "security in network and information systems acquisition, development and maintenance" among the measures in-scope entities must take (Directive (EU) 2022/2555; our NIS2 requirements explainer covers the full list). PolinRider tests exactly that: the threat is a trusted contributor's account producing code that looks legitimate. In our view, a fintech that can show branch protection, signed commits, isolated build agents and credential rotation for developer identities has a far better answer for its auditor, whether that is NIS2, DORA or a PCI DSS assessor asking about secure development.

Questions

How do I know if my GitHub repository is infected with PolinRider?

Look for obfuscated code after long whitespace at the end of build config files like tailwind.config.js, a .vscode/tasks.json with "runOn": "folderOpen", and .woff2 files that aren't real fonts. Then check whether the branch was force-pushed, because the malware rewrites the last commit and keeps its original date.

Does PolinRider affect private repositories?

Yes, potentially. It spreads with the infected developer's own credentials, so any repository that person can push to, public or private, can be rewritten. Socket notes that public code search can't see private or already-cleaned repositories, so published counts are a floor.

Is cleaning the repository enough after PolinRider?

No. If anyone opened or built the infected code, the payload may already have run on their machine. Socket and CSA both advise treating it as a host compromise: reimage the machine and rotate its credentials from a clean device.

Want a second pair of eyes on your developer supply chain?

We review GitHub organization settings, branch protection and CI/CD secrets, wire developer and pipeline activity into your SIEM, and automate the detections, without slowing your teams down.

Get in touch →

Sources

Status as of 30 November 2026. Counts come from researchers' public scans and will keep changing.