Investigation Uncovers PolinRider Loaders Across Three Repositories

· Original article ↗

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

People

Malware

Vendors

Products

Countries

Related Articles