Investigation Uncovers PolinRider Loaders Across Three Repositories

Summary
An investigation of three repositories linked to PolinRider details five redundant execution paths, a GitLab-hosted loader, and force-push evidence connecting the infections. The loader finds its server through Ethereum; the account owner was likely a victim.
Key points
- The investigation links PolinRider activity across three repositories associated with one GitHub account.
- In one repository, five paths run the same loader: a hidden VS Code folder-open task, an init file invoked by npm scripts, and three build configuration files.
- In a second repository, a base64-encoded URL disguised as an API key is fetched from GitLab and evaluated when the server starts.
- The loader searches Ethereum transactions for server addresses, with fallback searches through the wallet’s transaction history and the Blockscout API.
- Six force-pushes between August and November 2026 introduced or changed the loaders; commit discrepancies support the assessment that the account owner was likely a victim.
- The article advises checking VS Code tasks, npm scripts, build configurations, decoded environment values, and repository history when investigating these infections.
Article Details
- Attack Vectors
- Malicious loader code was added to three repositories through force-pushed rewritten Git history. The article assesses that the pushing account was likely compromised.
- A hidden VS Code folder-open task launches a shim that runs an extensionless payload with Node.js.
- Modified npm scripts run an extensionless init file before the normal development, build, or start command.
- Payloads appended beyond the visible ends of Vite, PostCSS, and Tailwind configuration files execute when those tools load their configurations.
- Earlier versions used hidden VS Code tasks to run JavaScript files disguised as font files.
- In Food_Ordering_Node, a base64-encoded GitLab URL disguised as AUTH_API_KEY is fetched and evaluated when the server starts.
- The loader queries Ethereum transactions to resolve changing server addresses, then requests and executes additional files from the resolved server.
- Defensive Notes
- If one execution path is found, inspect all repository paths: VS Code tasks and settings, npm scripts, build configuration files, and .env values that may decode to URLs.
- Review Git history and force-push activity; compare suspicious rewritten commits with the original pull-request record and commit metadata.
- Do not treat removal of one payload or trigger as cleanup: the article documents multiple independent paths serving the same loader.
- Check configuration files for code appended beyond the visible closing brace and inspect files with misleading names or unusually large padding.
MITRE ATT&CK
T1027 · Obfuscated Files or InformationThe payload is concealed with extensive padding and obfuscation; the November version stores strings as base-91 text and decodes them with custom functions.T1036.005 · Match Legitimate Resource Name or LocationThe extensionless payload is presented as an ESLint-related file, and a base64-encoded loader URL is labeled AUTH_API_KEY.T1036.008 · Masquerade File TypeEarlier loaders were JavaScript files named with font extensions, including .woff2 and .otf.T1059.003 · Windows Command ShellOn Windows, the hidden VS Code task invokes cmd.exe to run a shim that launches the Node.js payload.T1059.004 · Unix ShellOn Linux and macOS, the hidden VS Code task invokes a shell shim that launches the Node.js payload.T1059.007 · JavaScriptThe loader and its stages are JavaScript executed through Node.js, including code fetched and run with eval.T1071.001 · Web ProtocolsThe loader requests files from its command server over HTTPS on port 443.T1078.004 · Cloud AccountsMalicious force-pushes came from the FahadTariq476-dev account; the article assesses that the account was likely compromised and its owner was probably a victim.T1105 · Ingress Tool TransferThe Food_Ordering_Node code fetches a loader from GitLab, and the loader requests two additional files from its resolved server.
People
Anderson LinReported the compromised wahab12345678/labour-client-app repository, leading to the investigation described in the article.Fahad Bin TariqNamed in Git commit metadata associated with the repository rewrites. The article assesses that the account was likely compromised and that its owner was probably a victim, not the attacker.
Malware
NullReceiverURL with node-fetch and passes whatever comes back to eval. Right now, what comes back is the same NullReceiver loader that's in the other paths. If anything fails, the only output is Auth Error!. The commit alsoPolinRiderAnderson Lin reported a repo (wahab12345678/labour-client-app) that's compromised by the North Korean PolinRider campaign. That by itself isn't unusual - after all we've catalogued more than 12k repos infected with
Vendors
GitHubstatement, then 507 spaces of padding that hide the payload from a casual look at the file within the GitHub web UI.GitLabA fake API key: A committed .env holds a URL disguised as AUTH_API_KEY, and code added to index.ts fetches a copy of the loader from GitLab and runs it when the server starts.
Products
npmAn init file in front of npm scripts: node init && is added to dev, build or start, so the payload runs before the real command.ViteBuild configs: The payload is appended to vite.config.js, postcss.config.js and tailwind.config.js, pushed off-screen by tabs, and runs whenever the tool loads its config.VS Codeit has a new-to-us tasks.json file that silently runs a fake ESLint file when the folder is opened in VS Code.
