Security

North Korea-Linked PolinRider Hides a Python Loader in GitHub Repos, Using Ethereum as Its Dead Drop

Leave a comment

The Hacker News reports that SafeDep found the PolinRider crew planting a Python loader in public GitHub repositories, with evidence the activity goes back to February 2025. “The loader hides in a small utils package or in conftest.py,” SafeDep said. When Python imports it, it reads the newest transaction an Ethereum wallet sent to itself, decodes it as JavaScript and runs it with Node.js. A second wallet points to the command-and-control server.

SafeDep found the loader in 375 public repos belonging to 260 accounts, with no sign it went out through PyPI or npm. PolinRider, linked to North Korean actors, has also used fake recruiting and take-home “assessments,” hijacked maintainer accounts, fake font files, VS Code auto-run tasks, Git history rewriting, and stolen GitHub tokens to force-push malicious commits. The second-stage payload looks for tools like GitHub Desktop, Cursor, VS Code and Google Antigravity and tampers with them to deliver infostealers.

My take

Note where it hides: conftest.py runs the moment you run pytest. Never run tests on a repo you just cloned from a stranger, especially one from a “job interview.” Use a throwaway VM, and check your own repos for force-pushes you didn’t make.

God Bless, and Use the Source!

References & Further Reading

Subscribe (RSS) Follow Security via RSS

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.