Skip to main content

Malicious code in ve-hemi-rewards (npm)

0
High
Published: 06/15/2026 (06/15/2026, 15:09:15 UTC)
Source: GCVE Database
Product: ve-hemi-rewards

Description

The npm package 've-hemi-rewards' version 999.0.0 is a malicious package designed to harvest sensitive environment variables during installation. It executes a postinstall script that collects hostname, username, current working directory, and environment variables matching sensitive keywords, then exfiltrates this data to a hardcoded IP address. This package is a dependency confusion attack vector, masquerading as a high-version stub to override an organization's private package. There is no legitimate functionality in this package; its sole purpose is credential theft.

Affected software

npmghsa
ve-hemi-rewards
Affected versions
=999.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 14:38:39 UTC

Technical Analysis

The 've-hemi-rewards' npm package at version 999.0.0 contains malicious code triggered during the preinstall lifecycle. The package runs a postinstall.js script that collects system information and filters environment variables for keys related to secrets and credentials (e.g., tokens, passwords, API keys). It then serializes and sends this data via HTTPS POST to a hardcoded IP address (185.130.46.35:8443/collect). This package exemplifies a dependency confusion attack, where a high-version public package is published to override a private package with the same name, enabling attackers to steal sensitive installation environment secrets. No legitimate functionality is present in this package.

Potential Impact

Sensitive environment variables including CI tokens, cloud credentials, SSH keys, API tokens, and other secrets can be exfiltrated to an attacker-controlled server during package installation. This can lead to credential compromise and potential further attacks on the victim's infrastructure or accounts. The malicious package does not provide any legitimate functionality and is solely designed for secret harvesting.

Mitigation Recommendations

Avoid installing the 've-hemi-rewards' package version 999.0.0 from public npm registries. Verify package sources and use scoped or private registries to prevent dependency confusion attacks. Remove any instances of this package from your dependency tree. Rotate any secrets that may have been exposed if this package was installed. Monitor for unexpected network connections to suspicious IP addresses during package installation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-5785
Osv Schema Version
1.7.4
Aliases
["GHSA-wx43-hfx3-xw46"]
Ecosystems
["npm"]

Threat ID: 6a96f316acd9273b49e4937a

Added to database: 09/01/2026, 15:45:26 UTC

Last enriched: 09/08/2026, 14:38:39 UTC

Last updated: 10/01/2026, 22:40:21 UTC

Views: 37

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses