Compromised npm Library @subql/common Steals Cloud Credentials

Short & clear answers
Frequently asked questions about this incident
Am I affected by the @subql/common attack?
Affected are systems where version @subql/common@5.8.3 was installed or imported. For an SME running only a website without its own Node.js development and without any SubQuery dependency, direct impact is unlikely. The case is highly relevant for web agencies, development teams, SaaS and Web3 projects, and anyone running automated build pipelines (CI/CD).
How do I check whether the malicious version is installed?
Search your lockfiles with the command: grep -R -nE '@subql/common|5\.8\.3' package-lock.json npm-shrinkwrap.json yarn.lock pnpm-lock.yaml. Also inspect the dependency tree with npm ls @subql/common --all, as this command does not run any lifecycle scripts. What matters is the resolved transitive version in the lockfile, not just the entry in package.json.
What should I do now if I am affected?
According to the GitHub Advisory, any system with the package installed or running must be considered fully compromised. Isolate the environment and rotate all secrets: GitHub tokens, AWS credentials, SSH keys, npm tokens and cloud secrets. Also review your CI logs as well as firewall, proxy, DNS and EDR telemetry from October 5, 2026 onward.
Is it enough to roll back to version 5.8.2?
In the npm registry, latest points back to the clean comparison version 5.8.2 as of October 7, 2026, and 5.8.3 is no longer in the current version object. However, this is not a vendor-signed fix release, only a rollback. Rolling back does not replace rotating all secrets on systems that were already affected.
What data could the malware steal?
The payload attempted to read environment variables, .npmrc and .env files, AWS credentials, SSH keys, kubeconfig files, GitHub tokens, Kubernetes and Vault secrets, and exfiltrate them encrypted. It also included a channel for remote commands and a reverse shell. These capabilities are technically confirmed, but as of October 7, 2026 there is no public evidence of successful data theft at any specifically named victim.
More security news
You might also be interested in
JFrog Artifactory: Active Attacks Enable Admin Takeover
Attackers are already exploiting CVE-2026-82329: The critical JFrog Artifactory flaw endangers admin access and your entire supply chain.
KillSec Ransomware: Attacks on Swiss Companies Exposed
KillSec attacked Swiss firms between 2023 and 2025. Authorities seized 110 terabytes of stolen data – here's what's behind it.
CVE-2026-88771: Attackers Install Web Shells on Citrix NetScaler
Multiple groups have actively exploited CVE-2026-88771 since September – using PHP web shells and root access on Citrix NetScaler.