The images in this article were generated with artificial intelligence. How we publish
Security researchers have detected a campaign that distributes a malware written in Go through Go modules and, for the first time publicly documented, through suppliers published in HashiCorp's Terraform registry. What is confirmed by technical analysis of different equipment (Aikido, JFrog, SafeDep and others) is that legitimate packages were chopped or published with malicious dependencies that, by joining in projects, implement a Go binary that shares command and control infrastructure with previous versions observed in npm and PyPI.
The sample has been found in at least two Go modules and two Terraform suppliers - vectors that allow attackers to reach both developers and infrastructure environments - and the sample reuses sophisticated mechanisms: two simultaneous C2 channels (one based on a chain of testnet blocks and one on the Slack API), asymmetric cryptography to protect payload and execution controls that only activate the payload under specific conditions. The HashiCorp vendor register is available here: https: / / registry.terraform.io /.

How it works technically (confirmed by the analysis): When running, malware collects system information (hardware, SO, hostname, node availability) and sends it to a channel controlled by the attacker on Slack using the API (the technique takes advantage of repeated calls to endpoint conversations.history): https: / / api.slack.com / methods / conversations.history. Then it generates an ephemeral key and combines that key with two public keys of the attackers to derive shared keys that protect communication between client and operator. In parallel, the agent consults every few seconds an intelligent contract in the Etheum test network (Arbitrum Sepolia, according to reports) looking for encrypted commands that can decipher and run as Go or JavaScript code. The testnet consultation can be verified from scouts such as Sepolia's: https: / / sepolia.etherscan.io /.
Characteristics that complicate the analysis: part of the payload is encrypted with asymmetric key and is only broken down under specific conditions (e.g. resolution of a specific linear system or performance of a particular cryptographic operation), suggesting design for directed operations or to hinder researchers who find the front without the contextual elements that activate the payload. Reports also indicate that attackers use mechanisms to inflate download counters through GitHub Actions workers, seeking the appearance of legitimacy.
Documented input vectors include social engineering techniques: false job offers, remote interviews and programming tasks that force the victim to include a dependency that introduces the back door. Security equipment has observed the same tactic applied to repositories and packages in npm, PyPI and now Terraform / Go, which shows a reuse pattern of the software supply chain.
Who it affects and why it matters: developers that incorporate third-party units without sufficient audit, equipment using third-party Terraform suppliers and organizations with CI / CD runners (GitHub Actions, etc.) are the most exposed. A malicious Terraform supplier has the potential to reach production secrets (e.g. states, credentials and cloud suppliers) more directly than an end-user library, so the emergence of manipulated suppliers increases operational risk.
Plausible real impacts (confirmed vs. estimated): confirmed: system inventory exfiltration and establishment of dual C2 channels; estimated: execution of modules delivered dynamically by operators (researchers recovered the implantation but not always the subsequent code, so the final actions that the attackers executed on compromised machines are still uncertain). The combination of a dead drop in lockchain and a second Slack channeling reduces the risk to the operator, because the orders can be encrypted so that only certain customers interpret them, also limiting third-party interference capacity.
Several teams have noted coincidences with campaigns attributed to DPRK-related actors, such as Graphalgo or PolinRider. This is an attribution suggested by external analysts.(ReversingLabs, Aikido and others have mentioned it) but, as always in cyber-threat reports, technical attribution is not an absolute certification and should be treated with caution until more public and verifiable operational evidence is collected.
What should the reader do now (concrete and immediate measures): and reduce the area of dependence and CI in a pragmatic way: 1) In critical projects, avoid accepting changes in dependencies without human review: make SCA (software composition analysis) and compare signatures and hashes; 2) Revoke and rotate tokens and credentials that may have been exposed in repositories or actions, and limit the scope of CI runners; 3) Activate MFA and preferably safety keys in maintenance and repository accounts; 4) Block or monitor unusual outgoing connections from build runners and running environments to PIs and suspicious domains (e.g. IP cited in some analyses), and limit access to APIs as Slack for unverified bots; 5) audit and restrict Terraform suppliers: treat external providers as critical infrastructure code and apply third-party review before use; 6) Implement SLSA / signed artefacts policies and demand of reproducible buildings to prevent committed actions or credentials from injecting malicious artifacts.

In addition, package holders should review the history of access to their accounts, check for unauthorized commitments, and rotate any credential with access to multiple repositories. Security teams should deploy anomalies detection (behavior signatures, unexpected egress, access to messaging APIs and calls to testnets with frequent polling patterns) and prepare playbooks to turn off C2 channels (revoke tokens, block contracts or addresses involved in malicious communications).
Information still uncertain or to be confirmed: The exact functions of the payloads after the recovered implantation have not been fully recovered by the researchers - they are encrypted and only decipher in context - and the final relationship between all the campaigns mentioned and a firm geopolitical attribution remains the subject of analysis. It is also uncertain to what scale attackers operate with Terraform suppliers: current findings show specific cases, but there is still no public evidence of massive and sustained abuse on a large scale.
This episode reinforces a key lesson: the software supply chain is no longer just library code; it includes infrastructure providers, CI runners and maintenance accounts. Effective mitigation requires technical controls, account hygiene and continuous monitoring of infrastructure units and devices.
Related
More news on the same subject.

Campaign at Hugging Face Spaces and GitHub uses game traps to steal passwords and sessions
A massive campaign has used Hugging Face Spaces pages and GitHub repositories to attract players with supposed traps and bots and push them to install malware that steals browse...

Canada detects NEXCOL intrusion and suspension of export permits
The Canadian government confirmed that its online system to manage permits for the export of military material and strategic goods, known as NEXCOL, suffered an intrusion detect...

CertiK shows Weight2Shell: identical weights, different outputs by inference environment
CertiK security researchers have demonstrated a technique - called Weight2Shell in their report - that allows two instances of the same artificial intelligence model, carrying i...

RabbitMQ: critical failure in the management interface exposes tokens OAuth2; patches 4.4.1 / 4.3.8
A critical vulnerability in RabbitMQ allows an attacker who has access to the management interface to get tokens OAuth2 signed by the identity provider without credentials and t...

Critical Vulnerability in Erlang / OTP client TLS allows MITM without certificate (CVE-2026-124286)
A critical vulnerability to the client implementation of TLS within Erlang / Open Telecom Platform (OTP) allows a malicious server to complete a TLS 1.2 handshake without presen...

pCloud Pass: cyber attack exposes emails from few users; undecipher encrypted vaults
This week pCloud Pass, the password manager integrated into the Swiss pCloud service, confirmed that it was the target of a "cyber attack" after several users reported early log...

SOCRadar identifies WeaveLotus / RedOps campaign in intrusions to Thailand and the Philippines
SOCRadar has published an analysis that attributes a series of intrusions to military, government and legislative institutions in South-East Asia to a set of tools and activitie...