Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malicious code in nibra1 (npm)

The npm package nibra1 contained malicious code that installs a Python payload capable of capturing keyboard input, clipboard content, and screenshots, then exfiltrating them to a remote server and executing server-controlled keystrokes on the victim's machine.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
npm package consumers on Windows systems
Ecosystems
Attack vectors
Affected entities
  • nibra1 · <UNKNOWN>

The npm package nibra1 was found to contain malicious code in its CLI entry point (index.js) that launches a Python payload (pointer.py) designed to conduct extensive surveillance and remote control of the infected Windows system.

The payload registers global keyboard hooks, polls the clipboard, captures screenshots using mss and PIL.ImageGrab, and extracts on-screen text via UI-Automation tree traversal. All captured content is exfiltrated via POST requests to a hardcoded endpoint at https://iq-sec.vercel.app/api. The server responds with commands that drive pyautogui and keyboard keystroke synthesis, allowing remote attackers to inject keystrokes into the active window (e.g., force_paste bound to alt+v, mash-mode typing loops).

To execute the payload, index.js attempts silent installation of Python 3.12 via winget; if that fails, it downloads the official python.org 3.12.3 Windows installer to %TEMP% and executes it with /quiet flags and no user interaction. A bundled start_tool.vbs script launches the Python payload hidden in the background using Shell.Application.ShellExecute with window state 0. The Python payload further hides its runtime by constructing stealth Tk windows with empty titles, transparent overlays, and overrideredirect flags.

The malicious package was identified by the OpenSSF's malicious-packages project.

Indicators of compromise

Packages
  • nibra1
Domains
  • iq-sec.vercel.app

Remediation

  • Immediately uninstall the nibra1 npm package from all systems
  • Audit systems that installed nibra1 for signs of Python installation and pointer.py execution
  • Check for unauthorized keyboard input, clipboard access, and screenshot capture activity
  • Review network logs for POST requests to iq-sec.vercel.app/api
  • If Python 3.12 was installed by the package, verify its legitimacy and consider removal if not independently required
  • Regenerate any credentials or sensitive data that may have been captured via clipboard or keyboard hooks
  • Monitor affected systems for ongoing malicious activity

Sources

  1. GitHub Advisory GHSA-8c6w-93qr-cwc3 · GitHub Advisory Database

Cite this entry

"Malicious code in nibra1 (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 19, 2026; last updated August 19, 2026. https://supplychainattack.org/incident/malicious-code-in-nibra1-npm-1pxhfq

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. containedcritical

    Malicious code in 3-buildsight-web (npm)

    The npm package 3-buildsight-web contains malicious code that fetches and executes arbitrary JavaScript from a remote Bitbucket URL on module load, granting full page privileges to an unverified third party.

    npmCompromised package
  2. resolvedcritical

    Malicious code in @usaa-grp-personal-profile/personal-profile-common (npm)

    Malicious package @usaa-grp-personal-profile/personal-profile-common version 999.0.0 published to public npm as a dependency-confusion attack targeting an organization's internal registry. The package contains preinstall and postinstall hooks that exfiltrate hostname, username, and working directory to an attacker-controlled OAST endpoint on every install.

    npmDependency confusionCompromised package
  3. resolvedcritical

    Malicious code in create-coin (npm)

    create-coin@20.1.1 on npm contained malicious postinstall code that collected sensitive environment variables, credentials, and host reconnaissance data. The package impersonated an esbuild platform build and exfiltrated data to a hardcoded endpoint.

    npmCompromised packageTyposquatting
  4. resolvedcritical

    Malicious code in @syncraft-labs/vue (npm)

    The npm package @syncraft-labs/vue version 0.4.1 contained malicious obfuscated code in its ESM build that implements a blockchain-hosted C2 dropper (EtherHiding pattern), enabling remote code execution on any consumer importing the package.

    npmCompromised package