Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. nhmpy
  4. ›
  5. GMS-2026-575

GMS-2026-575: Embedded Malicious Code (Shai-Hulud)

June 7, 2026

This package was identified by GitLab’s Vulnerability Research team as part of a coordinated Shai-Hulud copycat supply chain attack on PyPI on June 7, 2026. The package nhmpy is a typosquat of the popular NumPy scientific computing library. It contains a .pth file that auto-executes on Python startup, downloads the Bun JavaScript runtime, and runs an obfuscated credential stealer targeting GitHub, AWS, Azure, GCP, HashiCorp Vault, NPM, PyPI, RubyGems, SSH keys, Kubernetes, and Sigstore. The worm self-propagates by pushing malicious commits to accessible GitHub repositories a nd publishing poisoned packages to other registries. 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.

References

  • about.gitlab.com/blog/gitlab-discovers-widespread-npm-supply-chain-attack/

Code Behaviors & Features

Detect and mitigate GMS-2026-575 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions

Solution

Remove this package immediately and rotate any secrets that may have been compromised.

Weakness

  • CWE-506: Embedded Malicious Code

Source file

pypi/nhmpy/GMS-2026-575.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 08 Jun 2026 12:19:36 +0000.