Skip to main content
MalwarePublished Updated

bamru (npm) · Malicious Code

Affects bamruSource GCVE Database

0

Malicious package : remove bamru and rotate any secrets on hosts that installed it.

Data as of 7 Sep 2026, 16:08 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15674

What to do

Remove bamru from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmbamruAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'bamru' masquerades as a system binary configuration tool but installs a concealed clipboard and screen harvester that elevates itself to Administrator without user consent. It silently provisions a Python 3.12 runtime if not present, then runs a hidden, elevated Python script that captures clipboard data, screenshots, and text from other application windows. This data is exfiltrated to a hardcoded remote endpoint. The remote server can then send responses that are typed back into the user's active window, effectively enabling remote control. The package hides its true functionality by suppressing UI elements, running with admin rights silently, and providing no disclosure in its manifest or documentation.

References

Community reviews

Loading reviews…