Malicious code slipped into open GitHub pull requests for three open-source projects in October and ran in CircuitVerse’s desktop release workflow, producing 40 installers that maintainers later deleted, according to researchers and a project maintainer’s investigation published this week.
The incident shows how a pull request can pose a risk before it is merged. The malicious commits were force-pushed into branches and, in some cases, replaced by clean-looking changes shortly afterward. A review of 145 merged pull requests from the account involved found no copy of the loader in those merged changes, according to AsyncAPI maintainer Łukasz Górnicki’s incident index.
Security firm StepSecurity identified the loader as PolinRider, a malware family associated with credential theft and the spread of malicious code through repositories. The affected pull requests targeted AsyncAPI Generator, CircuitVerse and Open Food Facts. The GitHub account involved has been suspended; the maintainer’s investigation notes that the account may itself have been compromised.
What ran, and where
The malicious commits appeared on October 19. At AsyncAPI, forked pull-request workflows required a maintainer’s approval, and none was granted, so its CI did not execute the code. CircuitVerse’s workflows did run on the poisoned commits, including the workflow that built desktop applications for Windows, macOS and Linux. The project deleted the resulting 40 installers, StepSecurity reported.
Open Food Facts also had CI runs on four affected commits, including a build step. The maintainer’s cross-project analysis notes that investigators could not access CI logs to confirm which steps executed the payload. A run on a malicious commit should not automatically be treated as proof that the loader executed or that secrets were stolen.
The review found no malicious payload merged among the pull requests it checked. That does not establish that every machine or artifact touched by an affected workflow is clean: teams still need to investigate the specific runs and any downloads or checkouts associated with them.
Why a clean final diff can miss the attack
In the AsyncAPI pull requests, malicious commits remained on the branches for roughly 30 to 40 minutes before subsequent force-pushes replaced them, StepSecurity found. A reviewer looking only at the final diff could miss code that an earlier automated workflow had already run.
The loader was hidden in several places. Researchers found a node api.js && prefix in build or development scripts, obfuscated JavaScript appended to Jest and PostCSS configuration files, and a fake font file invoked by a VS Code folder-open task where automatic tasks were allowed. These are different execution paths: disabling npm install scripts alone would not stop a malicious build command or a configuration file loaded during a test.
The loader obtained its server address through an Ethereum wallet, according to the researchers. A fixed IP blocklist can therefore become stale; teams should use the report’s indicators as leads alongside process, network and repository history, rather than as an exhaustive test.
Checks for maintainers
- Review historical runs, not just current branches. Look for October workflow runs on untrusted pull-request commits, including force-pushed revisions. Preserve available logs and artifacts before removing or rebuilding anything, and check whether reviewers ran those revisions locally.
- Inspect scripts and configuration as text. Look for unexpected commands preceding build or development scripts, unusually long or whitespace-padded lines in JavaScript configuration, and unfamiliar
.vscode/tasks.jsonfolder-open tasks. A matching string alone is not proof of infection, and a clean search does not rule out a variant. Do not execute suspicious files to inspect them. - Contain a suspected execution. Follow your incident-response process, isolate affected runners or developer machines, preserve evidence and rotate credentials that could have been exposed from a clean system. Examine repository and access logs for unauthorized changes. Treat artifacts produced by suspect runs as untrusted until investigated.
- Separate testing from publishing. Ensure untrusted pull-request code cannot publish release artifacts or access release credentials. Review self-hosted runners and workflows using privileged triggers separately; their exposure can differ from ordinary forked pull-request runs.
For public repositories, GitHub’s Actions settings offer an option to require approval for workflows from all external contributors. GitHub warns that policies limited to first-time contributors can exempt someone after an innocuous contribution is merged. Approval is not a substitute for reviewing the code that will run, and organizations should check how their own settings and workflow triggers interact.
In a separate November 24 investigation, SafeDep found a Python loader attributed to the same malware family in 375 public repositories. It could run through pytest or a successful import, although the researchers found broken import paths in three example applications. That count describes a different sample and should not be added to the CircuitVerse pull-request totals.