Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

@subql/commonnpm

Advisory published Updated

@subql/common is a confirmed malicious npm package (MAL-2026-17571) that executes malicious code on install (malicious version 5.8.3). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @subql/common (npm)

MAL-2026-17571
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @subql/common

What this malware does

package.json declares a postinstall hook node./dist/project/readers/manifest-cache.js. That file embeds ~60KB of base64 chunks under MANIFEST_CACHE_SEED and a custom decodeManifestSeed routine that XOR-unmasks the bytes with 0x5a and zlib.gunzipSyncs the result. When the file runs as main (require.main === module), the decoded string is passed to new Function(decodeManifestSeed())(__filename, [...]), yielding arbitrary code execution on every npm install with no signature, no network pin, and no human-readable payload. The shipped source map's sourcesContent for manifest-cache.js ends at a benign ManifestCacheReader class and does not contain the top-level require.main === module dispatcher that appears in the compiled JS, indicating the source map was scrubbed to hide the loader from source-level review. The dropper is also reachable at runtime through the package's public API: dist/index.js re-exports ./project, which re-exports ./manifest-cache, and ManifestCacheReader.warm() spawns a detached node __filename --warm subprocess that re-enters the main-mode decode-and-eval branch outside the parent process lifecycle.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Malicious versions

1 flagged
5.8.3

Indicators of compromise (SHA-256)

f61412a3cec35a73a5b37775eec9289fff4eaca86da7ae85060fb9f6989ab2a8
f636fe7b88ce4be7e029a7685f097fe9dc65090b919906ddf0368a3c07a3464a

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for @subql/common (version 5.8.3).

  2. If you installed it — respond

    Remove @subql/common from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If @subql/common was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. @subql/common on npm has been identified as a malicious package (version 5.8.3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-9333-3c4x-x3h5IN-MAL-2026-021083

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @subql/common-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

@subql/common (npm) malicious package — MAL-2026-17571 | O3 Security