PolinRider malware force-pushed into AsyncAPI, CircuitVerse and Open Food Facts pull requests

· CyberSecurity

TLDR

  • A loader was force-pushed into pull requests at AsyncAPI Generator, CircuitVerse and Open Food Facts; GitHub suspended the account.23
  • CircuitVerse says the loader ran in CI and it deleted 40 installers; StepSecurity says no merged pull request had it.26
  • Apiiro reported the loader in at least 7,609 GitHub repositories owned by 2,330 accounts.15

The Hacker News reports, citing Apiiro's estimates, that PolinRider, a campaign linked to North Korean threat actors, has been found in more than 7,600 GitHub repositories.1 On 25 November a maintainer of AsyncAPI Generator opened issues in other projects, including Meshery, saying the GitHub account Eternity0207 had force-pushed an obfuscated malware loader into pull requests at AsyncAPI Generator, CircuitVerse and Open Food Facts.367 The maintainer says the payload stayed on each branch for 30 to 40 minutes before another force-push removed it, so the final diff looked clean, and that GitHub suspended the account and removed all of its pull requests, merged ones included.3 The maintainer adds that the account has more than 200 pull requests, that the malicious commits were unsigned and used a different committer name, and that it may have been compromised rather than run by an attacker from the start.3

StepSecurity says it decoded the payload from all three projects and identified it as the PolinRider loader, which reads its server address from an Ethereum wallet.2 It says the account opened 217 pull requests, 145 of them merged, that none of the merged ones contains the loader, and that the loader arrived on 19 October in rewritten commits pushed into pull requests that were still open.2 At CircuitVerse, StepSecurity says 10 pull requests carried the payload and their workflows ran with no approval step, including the release build for the desktop app.2 CircuitVerse's maintainers say on GitHub that the loader ran in their desktop build CI, but from a fork, so no secrets were exposed, that none of the pull requests was merged, and that they deleted all 40 artifacts.6 At Open Food Facts, StepSecurity says 4 pull requests carried the loader, its CI ran on each and all four runs failed; the project's maintainers say they rotated the only secret that could matter.27 At AsyncAPI, fork workflows need a maintainer's approval, none was given and nothing ran, StepSecurity says.2 It says no project has reported stolen secrets, and that the loader can start through a node api.js && build prefix, a test or build config file, or a hidden VS Code task, none of which uses an npm install script.2

On scale, Apiiro's report dated 9 November counts PolinRider in at least 7,609 GitHub repositories owned by 2,330 accounts, which it treats as a lower bound, and says the loader was pushed to 2,040 repositories between 27 October and 6 November.5 Apiiro says the worm uses stolen GitHub access to rewrite commits a developer already made, keeping the author, message and date, and that 1,949 repositories were infected again after being publicly listed.5 SafeDep reports that on 24 November it found a Python loader, hidden in a small utils package or in conftest.py, in 375 public repositories belonging to 260 accounts.4 The Hacker News says there is no evidence the loader has been distributed via PyPI or npm.1 StepSecurity separately reports that GitHub code search returned 2,776 package.json files with the node api.js && hook, and that 576 of the 622 repositories it checked carry the loader across 311 accounts.2

The Hacker News says the exact nature of the payloads fetched by the Python loader remains unknown, although earlier waves installed a stealer that harvests environment secrets, browser passwords, cookies and wallet data.1 Apiiro describes a second-stage remote-access tool and later stages that steal wallet and browser data.5 StepSecurity says the wallet re-posted its current server address, 95.135.181.84, on 25 November, that blocking one server IP does not stop the loader, and that blocking build-time calls to Ethereum services does.2 It also says the wallet received funds from an address that funded the wallet of the AccuraSoftHire fake interview campaign, and concludes the two share an operator.2 Apiiro advises anyone who finds the loader to rotate every GitHub and npm token the machine could reach, because removing the code does not revoke the access that pushed it.5

Why it matters: a poisoned pull request can execute inside a project's own CI before any review, and StepSecurity says blocking npm install scripts does not stop this loader.2

Sources

  1. North Korea-Linked PolinRider Poisons Over 7,600 GitHub Repositories to Spread Malware (The Hacker News)
  2. PolinRider Malware Force-Pushed Into AsyncAPI, CircuitVerse and Open Food Facts Pull Requests (StepSecurity)
  3. FYI: contributor account Eternity0207 was suspended after pushing malware to other projects. Please review its merged changes (GitHub (Meshery issue 24312))
  4. PolinRider Moves to Python with an Ethereum Calldata Loader (SafeDep)
  5. PolinRider: North Korea-Linked Worm Forges GitHub Commits (Apiiro)
  6. Security: malware was force-pushed into PRs from Eternity0207 (now suspended) and ran in your CI (GitHub (CircuitVerse cv-frontend-vue issue 1586))
  7. Security: malware was force-pushed into PRs from Eternity0207 (now suspended) and ran in your CI (GitHub (Open Food Facts explorer issue 2267))