222 GitHub Repositories Used to Distribute Malicious Go Packages
What Happened — Researchers identified a coordinated operation that created 222 GitHub repositories (across 190 accounts) to host fake Go modules. The modules masquerade as legitimate utilities but, when imported, execute hidden PowerShell loaders that deliver trojan loaders, infostealers (Vidar), spyware, and Monero cryptominers.
Why It Matters for Compliance & Audit Readiness
- The campaign illustrates a supply‑chain risk where third‑party code can become a vector for malware—exactly the scenario SOC 2 vendor‑management controls are designed to detect and document.
- Continuous monitoring of open‑source dependencies provides audit‑ready evidence that your organization performed due‑diligence on third‑party assets.
- Mapping this threat to the SOC 2 CC 6.2 (Third‑Party Risk Management) control helps demonstrate a defensible posture during audits.
Who Is Affected — Software developers, SaaS providers, CI/CD platform operators, and any organization that consumes Go packages from public repositories.
Recommended Actions
- Inventory all third‑party Go modules in use and compare against a trusted SBOM.
- Deploy automated tooling that scans public package registries for known malicious signatures and anomalous publishing patterns (e.g., excessive version churn).
- Document the monitoring process and retain logs as SOC 2 evidence of vendor‑risk oversight.
Technical Notes
- Attack vector: malicious Go packages that invoke PowerShell with
-ExecutionPolicy Bypassand hidden windows, then download and decode additional payloads frommuckcoding.com. - Payloads include Vidar infostealer, XMRig cryptominer, and custom RAT loaders.
- The actors used GitHub Actions to generate >1,200 releases, fabricating “active development” to evade casual review.
Source: Security Affairs