Skip to main content
MalwarePublished Updated

gehneb (npm) · Malicious Code

Affects gehnebSource GCVE Database

0

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

Data as of 20 Aug 2026, 14:17 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-4570

What to do

Remove gehneb 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
npmgehnebAffected
  • =1.0.1
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 'gehneb' version 1.0.1 contains malicious code that executes arbitrary code on any system installing it. This occurs because the package.json overrides a legitimate dependency 'consolefy' with a GitHub repository URL controlled by an attacker, without pinning to a specific commit, allowing the attacker to change the code at any time. The malicious code executes during installation and runtime, potentially compromising the entire system and exposing all stored secrets and keys.

References

Community reviews

Loading reviews…