# PolinRider Malware Force-Pushed Into AsyncAPI, CircuitVerse and Open Food Facts Pull Requests

PolinRider loader force-pushed into open PRs at AsyncAPI, CircuitVerse and Open Food Facts; CircuitVerse CI built and published 40 infected desktop installers.

- Payout: Real-world hack
- Severity: high
- Program: CircuitVerse
- Analysis by: StepSecurity
- Disclosed: 2026-11-25
- Write-up quality: 8/10
- Original: https://www.stepsecurity.io/blog/polinrider-malware-open-source-pull-requests
- Library page: https://bugbountylibrary.com/r/blog%3Astepsecurity-io-blog-polinrider-malware-open-source-pull-requests
- Tags: area:oss domain:oss impact:data-leak impact:integrity kind:incident platform:threat-intel sev:high tech:github-actions tech:nodejs technique:recon technique:source-review vuln:secrets-leak

**Target:** GitHub pull request branches, package.json build scripts, VS Code workspace tasks, CI release workflows
**Root cause:** Malicious commits were force-pushed into still-open fork PR branches, reusing a clean signed commit's message and date but unsigned with a different committer; the loader hid after hundreds of tabs in api.js and config files and was invoked via a `node api.js &&` prefix in build/dev scripts and a hidden folderOpen VS Code task.
**Steps:**
1. Force-push a rewritten commit onto an open fork PR branch, reusing the clean commit's message/date, unsigned, different committer name.
2. Add `api.js` as one line: 315 tab characters then obfuscated loader, so the diff line looks empty.
3. Append the loader to `jest.config.js` and `postcss.config.js` after the closing `};` plus ~300 tabs.
4. Prefix package.json scripts: `"build": "node api.js && turbo build"`, `"dev": "node api.js && turbo dev"`.
5. For CircuitVerse, add `.vscode/tasks.json` with hidden task `eslint-check` running `node ./public/fonts/fa-solid.lkf` on folderOpen, `.vscode/settings.json` enabling automatic tasks and hiding the terminal, and the fake font file.
6. Loader queries public Ethereum RPCs for recent blocks, reads two IPv4 addresses from the first 8 bytes of a tx to a non-account address, followed by the text `helloipbot!!`.
7. Fetch `http://<ip>:443/0x/cls` over plain HTTP, XOR-decode with fixed key, run in-process and as detached background node process; then fetch `/0x/ls` similarly.
8. Later stages harvest browser/keychain credentials and use stolen GitHub tokens to clone and force-push rewritten commits to more repos.
**How found:** AsyncAPI maintainer noticed the account's PRs and scanned all 145 merged ones (clean), then found the loader in rewritten force-pushed commits on open PRs; unsigned commits with a different committer name and an added diff line that looked empty (315 tabs) were the tells. An automated AI reviewer flagged the empty-looking line within four minutes.
**Exploitation:** Attacker with a GitHub account having merged PRs opened 217 PRs (145 merged clean). On Oct 19 force-pushed poisoned commits into still-open PRs; CircuitVerse's fork PR workflows ran without approval, so the release workflow built Windows/Linux/macOS installers on four runners and published 40 artifacts that stayed downloadable until Nov 25. Loader ran on runners, spawned background stages outliving the build, and beaconed to a server address read live from an Ethereum wallet.
**Escalation:** Stolen GitHub tokens from infected developer machines were used to clone every reachable repo and force-push the loader, spreading to 576 repos across 311 accounts; wallet-based C2 lets the operator rotate servers without changing the payload.
**Insight:** Force-pushed commits on open PR branches can carry payloads that never appear in the final diff; check the PR timeline for force-push events and diff whitespace-only-looking lines, and treat `node <file> &&` prefixes in build scripts plus folderOpen VS Code tasks as execution vectors that bypass npm install-script blocking.

## Proof of concept (copied exactly from the original report)

**package.json build/dev scripts prefixed with node api.js**

```
"build": "node api.js && turbo build",
"dev": "node api.js && turbo dev",
```

**Hidden VS Code folderOpen task running fake font loader**

```
.vscode/tasks.json with a hidden task labelled eslint-check that runs node ./public/fonts/fa-solid.lkf when the folder is opened, with its terminal panel hidden
```

**Grep commands to detect loader in repositories**

```
grep -rnE '"(build|dev|start|test)":[[:space:]]*"node (api\.js|init) &&' --include=package.json .

# Code hidden after long runs of tabs or spaces
grep -rlE '(^|[;})])[[:blank:]]{100,}[^[:blank:]]' --include='*.js' --include='*.mjs' --include='*.cjs' .

# PolinRider's folder-open task, fake fonts and tool files
grep -rl '"runOn": *"folderOpen"' --include=tasks.json .
find . -path '*/fonts/*' \( -name '*.lkf' -o -name '*.lfk' -o -name '*.orc' -o -name '*.llf' \)
git log --all --oneline -- branch_structure.json temp_auto_push.bat
```

