PolinRider Loader Was Force-Pushed Into Pull Requests at Three Projects; CircuitVerse CI Ran It

· Original article ↗

Summary

StepSecurity reports that PolinRider was force-pushed into pull requests at AsyncAPI, CircuitVerse and Open Food Facts. CircuitVerse confirmed CI ran it and deleted 40 installers; Open Food Facts CI also ran the payload, but all four runs failed.

Key points

  • On October 19, unsigned rewritten commits containing the loader were force-pushed into open pull requests at AsyncAPI Generator, CircuitVerse and Open Food Facts; long whitespace concealed code in diffs.
  • None of the 145 merged pull requests opened by the Eternity0207 account contained the loader, according to the maintainers’ reviews. The malicious commits were present in still-open pull requests.
  • The decoded 16,674-byte loader could run through build or test commands, configuration files, or a hidden VS Code folder-open task. It reads server addresses from an Ethereum wallet and downloads later stages over plain HTTP on port 443.
  • CircuitVerse confirmed its CI ran the loader and published 40 installers; maintainers deleted them on November 25. Open Food Facts CI also ran on four poisoned commits, but all four runs failed, and a secret was rotated.
  • AsyncAPI CI did not run the payload because fork pull-request workflows required maintainer approval. The article says no project reported stolen secrets.
  • Of 622 repositories examined, 576 carried the loader across 311 GitHub accounts, according to StepSecurity’s analysis.
  • Recommended defenses include requiring approval for fork workflows, withholding artifact publication from fork pull requests, and reviewing force-pushed commits rather than relying only on the final diff.

Article Details

Attack Vectors
  • Malicious, unsigned commits were force-pushed into open pull requests, with obfuscated JavaScript concealed in long lines in api.js, jest.config.js, postcss.config.js, and a fake font file.
  • Build and development scripts in package.json were changed to run node api.js before the projects’ normal commands; tests and builds could also load the payload through configuration files.
  • A hidden VS Code folder-open task could run the payload when an infected project was opened with automatic tasks enabled.
  • Fork pull-request CI workflows ran the code in CircuitVerse and Open Food Facts; CircuitVerse’s workflow published infected installers.
  • The loader queried an Ethereum wallet for server addresses, then downloaded additional stages over plain HTTP on port 443.
Defensive Notes
  • Require approval before workflows run on fork pull requests, and do not publish artifacts from fork pull-request builds.
  • Require approval of the most recent reviewable push and inspect pull-request timelines for force-pushes, not just the final diff.
  • Review long or apparently empty lines, new node <file> prefixes in package.json scripts, and changes to jest.config.js, postcss.config.js, or .vscode/.
  • Keep VS Code Restricted Mode enabled for unreviewed code; the article says it prevents workspace tasks from running.
  • Block unexpected build-time outbound connections to Ethereum services and plain HTTP requests to the reported server IPs on port 443.
  • On potentially affected machines, inspect for the reported background node processes and rotate GitHub, npm, SSH, and cloud credentials from a clean machine.

Indicators of compromise

TypeIndicatorContext
IPV4103[.]179[.]143[.]219Earlier PolinRider stage server address listed in the wallet’s transaction history.
IPV4166[.]88[.]134[.]75First PolinRider server address posted by the wallet, according to the article.
IPV423[.]27[.]13[.]72PolinRider stage server address listed in the wallet’s transaction history.
IPV495[.]135[.]181[.]151PolinRider stage server address used from October 16 to November 12, including when the pull requests were poisoned.
IPV495[.]135[.]181[.]84Current PolinRider stage server address, posted by the wallet on November 25.
SHA2563ae470cabb9412bf5f0e64e1f71b458e14eb10b19070845597d5b8230b27d552SHA-256 of the malicious fake font file public/fonts/fa-solid.lkf found in CircuitVerse.
SHA25641a69ba3946396d2d1c15f2e43be705f0793e8773dee0f3dda89a541d31c00d9SHA-256 of the malicious api.js loader variant found in Open Food Facts.
SHA256b02a81974810532fff8f76903e09b20431857bfaff00f2473421f4a4fb8162b5SHA-256 of the malicious api.js loader found in AsyncAPI and CircuitVerse.

MITRE ATT&CK

People

Malware

Vendors

Products

Related Articles