Skip to main content
NewsPublished

Opening a cloned repo is no longer safe

Source Reddit Cybersecurity

0

Discussion

A recently highlighted security concern involves malicious code embedded in configuration files within cloned repositories. The Miasma worm demonstrates how a single commit can wire a malicious dropper into multiple configuration files across popular development tools and package managers, such as VS Code, npm, and Composer. This means that simply cloning and opening a repository can execute harmful code without needing to install any malicious dependencies. The issue is exacerbated by the fact that these configuration files are often not reviewed during pull requests, increasing the risk of unnoticed malicious code execution.

r/cybersecurity (opens in a new tab)u/No_Plan_34420 points0 comments

Solid breakdown of the Miasma worm — one commit, same dropper wired into 7 config files across VS Code, Claude Code, Gemini, Cursor, npm, Composer, and Bundler. No malicious dep needed, just clone + open.

Nobody reviews these files in PRs.

https://safedep.io/config-files-that-run-code/

Anyone actually treating dotfile diffs as code?

References

Community reviews

Loading reviews…