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

gpt-sdknpm

gpt-sdk is a confirmed malicious npm package (MAL-2026-5612) that opens a backdoor for remote access (malicious versions 0.1.0, 0.1.1, 0.1.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in gpt-sdk (npm)

MAL-2026-5612
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall gpt-sdk

What this malware does

On npm install, postinstall.js runs unconditionally and collects a wide range of installer-side reconnaissance data: hostname and FQDN, contents of /etc/hosts (non-loopback entries, often internal domain controllers and service mappings on corporate machines), Windows Active Directory variables (USERDNSDOMAIN, USERDOMAIN, LOGONSERVER), USERNAME, USERPROFILE, OneDrive folder name (frequently contains the company name), VPN client signals, the configured npm registry URL, and CI repository identifiers (GITHUB_REPOSITORY, CIRCLE_*, CI_PROJECT_PATH, BITBUCKET_REPO_FULL_NAME, BUILD_REPOSITORY_URI, TRAVIS_REPO_SLUG, JENKINS_URL, CI_SERVER_URL). The collected fields are concatenated into a query string and sent via plaintext HTTP GET to http://46.224.67.169:3000/ping. The package's main module is empty (module.exports = {}), so the postinstall beacon is the package's only effect, and the README falsely claims No data is collected. This is a classic supply-chain reconnaissance/targeting payload designed to map corporate networks, internal AD topology, and CI/CD environments of installers.

Malicious versions

9 flagged
0.1.00.1.10.1.20.1.30.2.00.2.10.2.20.2.30.2.4

Indicators of compromise (SHA-256)

3b189d67039a0809f379bfa3326c53c2dc3101cd478a1e4eb824f5340127f9b8
56a2edaa039d88ff00946f2f6cf04c4e71125e19eb6acf14f55b204dad6fc6a5
62c573f4f046136e5e8b204006307dfb27c12f44cac368760039012774f9d9cd
6aa9f69c9cd28d936a9ee48cab500d7e54fc9340c6b7dad04f61abb0be1c548f
8b9bdc5e04979d5b4f73407bcedaecc9df24dbb03e0bfbc0edefe333023dc50c
9b1433569a2b005d72e07401c5c9df2b8deeccd28d0c2f4dcee04290de1a16c3
a7f3cb39fa444c54e0daf12fc82164d246c10ab3ed8a03d6744c5208f5673da3
fe482d9e0f67751436a60e3fd47a6abedf64cefc9ba52f75d73dabab6ecfbbca
403431c755cda3be79aeb830bfc9e9c938a1bd4101f4f4740309ee7685b9d258
e8e8cdd50efa8c893fdeafae0de943d1170131254f02386fdf293a6dd1e4ee7a

Detection & response playbook

Backdoor / remote access
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for gpt-sdk (9 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging gpt-sdk across your stack and pipelines.

  2. If you installed it — respond

    gpt-sdk establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.

  3. Did it already run?

    If gpt-sdk was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks gpt-sdk before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. gpt-sdk on npm has been identified as a malicious package (versions 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.2, 0.2.3, and 1 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-005630IN-MAL-2026-005629IN-MAL-2026-005632IN-MAL-2026-005627IN-MAL-2026-005628IN-MAL-2026-005635IN-MAL-2026-005631IN-MAL-2026-005633IN-MAL-2026-005634RLMA-2026-05106

References

Credits

  • Amazon Inspector · finder
  • ReversingLabs · finder

Detect & block this

O3 blocks gpt-sdk-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.

Explore

gpt-sdk (npm) malicious package — MAL-2026-5612 | O3 Security