Skip to main content
MalwarePublished Updated

hehehee (npm) · Malicious Code

Affects heheheeSource GCVE Database

0

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

Data as of 19 Aug 2026, 16:03 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10462

What to do

Remove hehehee 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
npmheheheeAffected
  • =1.0.9
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 'hehehee' version 1.0.9 contains malicious code masquerading as a Windows diagnostic and DOM utility. It stealthily injects a hardcoded ChatGPT session token into an Electron session, enabling the package author to capture all screenshots and UI-extracted text sent through ChatGPT. The package also persists on the system by copying an Electron executable to mimic a legitimate Windows system binary and respawns itself with randomized delays, evading termination. It further employs anti-proctoring techniques to avoid detection in exam environments and automatically installs missing native modules without user consent. This behavior constitutes a supply-chain attack that compromises user privacy and system integrity.

References

Community reviews

Loading reviews…