Over 100k Infected Repos Found on GitHub

Malicious actors have seeded over 100,000 infected repositories on GitHub, exploiting easy account creation and automation to hide supply-chain attacks among legitimate open source projects. Commenters debate how much responsibility platforms and package managers should bear versus individual developers, and describe defensive practices ranging from strict environment separation and sandboxing (VMs, Qubes, containers) to dependency auditing tools and reputation systems. Many see this as symptomatic of a deeper problem: modern software’s heavy reliance on sprawling, opaque dependency trees and blind trust in third‑party code, which current security tooling only partially mitigates.

Developer isolation and sandboxing

  • Many commenters now treat any third-party code as untrusted, even from “legit” repos.
  • Common strategies: separate machines/VMs for work vs personal vs hobby, ephemeral cloud VMs (e.g., EC2) destroyed after use, containers/devcontainers, Codespaces, and Qubes OS-style per-activity VMs.
  • Some run almost all development remotely; others still prefer local for control and performance.

Remote development and latency

  • Some see remote desktops (Citrix, Guacamole, SSH + VNC/RDP) as the inevitable future and already common in enterprises.
  • Others report severe latency and fatigue for interactive work (coding, window switching, gaming), even on corporate setups in the same country.
  • Gaming and rich media are viewed as much less latency-tolerant than “office” or coding workloads.

GitHub’s role and infection scale

  • Debate over whether ~100k malicious repos on a platform with hundreds of millions of repos means “failure” or a relatively small, managed problem.
  • GitHub reportedly deletes many obviously automated forks; subtler malicious repos survive.
  • Smaller hosts (e.g. Codeberg) may be protected by low attacker ROI but could be overwhelmed if targeted.

Tooling and mitigations

  • Practices: favoring package registries with proxies/firewalls (e.g., Sonatype), self-hosted GitLab, reviewing packages via services like socket.dev, using npm --ignore-scripts, devcontainers, and network-limited build servers.
  • Tools mentioned: Trivy, Semgrep Supply Chain, Packj, LavaMoat, container-shell, cargo-audit/deny, npm audit.
  • Several comments stress that most tools find known vulnerabilities, not novel malware or backdoors.

Dependency culture and supply-chain risk

  • Strong criticism of huge, deep dependency trees (especially in JavaScript). Transitive dependencies greatly expand blast radius.
  • Some argue teams should write more of their own libraries, accept upfront cost, and avoid package managers for critical systems.
  • Others propose snapshotting all dependencies under a controlled namespace to “own” the supply chain.

Trust, verification, and responsibility

  • Suggestions: better indication of “official” repos, org verification tied to domains, reputation systems at package-manager level.
  • Disagreement over whether GitHub should curate/trust-rate code vs being a neutral host.
  • Questions raised about involvement of national security agencies (e.g., CISA) and the difficulty of attribution.

LLMs and malware

  • Concern that widespread malware in public repos may taint LLM training, leading to vulnerable or even malicious code suggestions.
  • Some see this as alarmist; others note LLMs already emit insecure patterns, making human review essential.
  • Ideas include curated training datasets and malware-scanning or AI-based filters on training and output.