PolinRider Is Rewriting GitHub Commits to Plant Malware: What SaaS Teams Should Check

PolinRider is a malware campaign that researchers link to North Korea. It has moved from hijacking npm packages to editing GitHub repositories directly. Attackers take a developer's GitHub access, rewrite existing commits so they keep the original author, message and date, and force-push a small loader into the repository. Anyone who later clones the repo and runs its tests, build or dev server runs the loader.
As of November 26, 2026, The Hacker News reports more than 7,600 affected repositories, citing Apiiro's count of 7,609. That is a researcher's figure, and this brief could not read Apiiro's report directly. If your team clones third-party repos, or if a developer's GitHub account could be taken over, this is worth an hour today.
This week also brought 1Password's November 25 statement about a breach that began the same way, with one employee's GitHub account. That is covered in the second half.
What Happened
The campaign has come in waves.
- npm, early November. Sonatype reported on November 4 that attackers published loaders in 12 releases across 10 hijacked npm packages on November 3. Most are under the
@adminide-stack,@cdmbaseand@pubngo-stackscopes. The loader runs when the module loads, not through an install hook, so disabling install scripts does not stop it. - GitHub repositories, October to November. Per The Hacker News, Apiiro counts 2,040 repos pushed between October 27 and November 6. The loader is hidden after hundreds of spaces on one line of a build config file, so a normal diff view can push it off-screen.
- A Python wave, found November 24. SafeDep found a Python version in 375 public repositories under 260 accounts. It hides in
conftest.pyor in a smallutilspackage with files such asutils/session.py,utils/net.pyandutils/transport.py. It is not in any PyPI or npm package. It is planted in the repos themselves. - New npm flags on November 27. GitHub's advisory database added GHSA-ghxr-rx67-45jh for
itsa-jsext2.0.3. The Hacker News, citing OpenSourceMalware, ties that package and otheritsa-*packages to the campaign. GitHub's text is the standard malware notice: treat any machine that installed it as fully compromised.
In every wave the loader reads instructions from an Ethereum wallet, fetches JavaScript and runs it with Node. That gives the attacker remote control of the machine. Blockchain-hosted instructions are hard to take down, so blocking known C2 addresses is a stopgap, not a fix.
Who Is Affected
- Your organization's repositories, if any developer with push access had their GitHub token, SSH key or session stolen. Forged commits look like normal history, so you can't rule this out by skimming the log.
- Anyone who cloned and ran a poisoned third-party repo: a sample app, a starter kit, a fork you test against, or an interview project. Running
pytest,npm run build,npm run devor Jest can be enough. - Anyone whose lockfile, internal mirror or cache holds one of the npm versions in Sonatype's list, or
itsa-jsext2.0.3.
Production servers that only run built artifacts are less directly exposed. The risk is developer laptops and CI runners: the machines that hold GitHub tokens, cloud keys and .env files.
What to Do Today
-
Search your own repositories for the loader. SafeDep publishes the wallet strings and loader calls to search for. Run this across every repo you own, including the full history:
git log --all --oneline -S 0x3b1574417524c11a7403c4b232CAcBb320CceBC6 grep -rniE 'getAddressTransactions|eth_getTransactionByHash' --include='*.py' --include='*.js' --include='*.cjs' --include='*.mjs' .Also check any
conftest.pyand top-levelutils/folder you did not write, and any config file with a single line far wider than the rest. -
Look for force-pushes you did not expect. In a clone,
git fetchprints(forced update)when a branch was rewritten. In the GitHub organization audit log, look for force-push events on default branches over the last two months. -
Block force-pushes on protected branches. Use a branch ruleset that blocks force pushes on
mainand release branches. This is the control that stops a stolen token from rewriting history quietly. -
Check lockfiles and mirrors for the package versions in Sonatype's post and
itsa-jsext@2.0.3. Block them in Artifactory, Nexus, or whatever proxy you use. -
Decide whether the loader ran. A hit in a lockfile or repo is not proof of execution. Check whether anyone ran tests, builds or dev servers from that checkout. SafeDep and Sonatype describe a detached
node -iornode -eprocess with no window. Look for one on developer machines. -
If it ran, treat the machine as compromised. From a different machine, rotate GitHub tokens and SSH keys, cloud credentials, npm tokens, AI provider keys, and anything in
.envfiles on that host. Sign out browser sessions. Then clean the affected repos and re-check their history.
For the CI side, the controls in our GitHub Actions workflow lockfiles guide limit what a single poisoned commit can reach.
How to Verify You Are Clean
- The searches in step 1 come back empty across all branches and tags, not just
main. - The audit log shows no force-pushes you can't explain, and branch rules now block them.
- No lockfile or mirror resolves a listed version.
- Every developer machine that ran code from a suspect checkout has had its credentials rotated.
A Second Case: 1Password's Backend Breach
1Password says that on November 19, 2026, it began investigating after an attacker got into an employee's corporate GitHub account. The attacker copied source code from private repositories, reached the CI/CD system, and pushed malicious code to backend services that then downloaded customer administrative data.
According to the statement, the data taken for a subset of users includes names and email addresses, account and user identifiers, sign-in times, public keys, SRP parameters, and tokens in some invitation, provisioning and account-recovery emails. 1Password says customer vaults, the keys that protect them, and account recovery keys were not affected, and that customers do not need to change anything in their accounts. It has rotated exposed internal credentials and lengthened the email verification codes that recovery tokens require. A root cause analysis is promised but not yet published, so how the account was taken is unconfirmed.
What to do if your team uses 1Password: expect phishing. Treat unexpected invitation, provisioning or recovery emails, texts and calls with suspicion. 1Password says it will never ask for your account password or Secret Key. The statement does not mention service account, Connect or CLI tokens. Unless 1Password updates its guidance, rotating them is your own call, not a requirement.
The lesson is the same as PolinRider's: a developer's GitHub account can reach your source code, your CI/CD and, through CI, your production. Phishing-resistant sign-in, short-lived tokens, branch rules and CI permissions all limit how far one stolen account can reach.
What to Watch Next
- Apiiro's full report and any updated repository counts.
- More
itsa-*or other npm packages flagged in GitHub's malware feed. - 1Password's root cause analysis, and any change to its guidance for service account or Connect tokens.
Related Reading
- GitHub Actions Workflow Lockfiles: A Safe Rollout Guide for SaaS
- Shai-Hulud 2.0: The npm Worm Spreading Through SAP and Intercom Packages This Week
- Microsoft's agent-framework Package Was Hijacked on PyPI: What AI SaaS Teams Should Check
Next Step
If the searches come back clean and force-pushes are now blocked, what remains is routine hygiene. If you find a planted file, or you can't say what a stolen developer token could reach, that is a production readiness question. The production readiness upgrade covers branch rules, CI permissions, token lifetimes and where secrets are kept. Bring your GitHub organization settings, your workflow files and a list of where your keys live.
Working on a SaaS that's starting to feel fragile?
Talk to an engineer about the parts that break first — without rewriting what already works. We'll recommend focused support or a compact team based on your scope.
Talk to an Engineer