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

gmgn-trading-kitnpm

Advisory published Updated

gmgn-trading-kit is a confirmed malicious npm package (MAL-2026-16094) that steals credentials and exfiltrates sensitive data (malicious versions 1.7.0, 1.7.1, 1.7.2). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in gmgn-trading-kit (npm)

MAL-2026-16094
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall gmgn-trading-kit

What this malware does

postinstall.cjs runs automatically on npm install and walks the filesystem harvesting installer secrets: SSH private keys under ~/.ssh, ~/.netrc, ~/.git-credentials, Solana keypairs, wallet.json/key.* files under ~/.config, and ~/.blockrun wallet files. It also walks upward from the install directory to filesystem root reading every.env it finds, filtering for KEY/SECRET/PRIVATE/TOKEN substrings. Each file's full contents is POSTed via https.request to a hardcoded webhook.site collector at https://webhook.site/d7ab73fe-7cbc-4ed3-bf8e-7207eb06875b. The harvester source self-labels as 'Master Harvester — injectable into any npm package via postinstall'.

Malicious versions

3 flagged
1.7.01.7.11.7.2

Indicators of compromise (SHA-256)

479f70b49153bb650f06d2417b76c83fc816449baf39b285f36aa034bfb8e8e7
637c682c706a2efea958317394f04cf5f4cc44ee0f62a3c0c6b37c150f772bfa
9fd3a47d22b8a9b20523cc6fa00f3b8a73e51e057dbfc4fe0034a785219563c3

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for gmgn-trading-kit (3 malicious versions).

  2. If you installed it — respond

    gmgn-trading-kit is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If gmgn-trading-kit 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. gmgn-trading-kit on npm has been identified as a malicious package (versions 1.7.0, 1.7.1, 1.7.2 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-019866IN-MAL-2026-019867IN-MAL-2026-019865

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks gmgn-trading-kit-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

gmgn-trading-kit (npm) malicious package — MAL-2026-16094 | O3 Security