Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in test-nonmal-pkg-5 (npm)

0
Critical
Published: 05/26/2026 (05/26/2026, 07:16:06 UTC)
Source: GCVE Database
Product: test-nonmal-pkg-5

Description

The npm package 'test-nonmal-pkg-5' version 1.0.1 contains malicious code that exfiltrates environment variables by sending them via an obfuscated HTTP POST request upon import. The exfiltration target is currently a loopback address, preventing data leakage in normal environments, but the code is designed to be easily modified to target external hosts. The package also includes deceptive comments and user-agent strings intended to mislead automated security reviewers. Installation of this package compromises the host, potentially exposing all stored secrets and keys.

Affected software

npmghsa
test-nonmal-pkg-5
Affected versions
=1.0.1

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: 06/29/2026, 22:18:06 UTC

Technical Analysis

The 'test-nonmal-pkg-5' npm package version 1.0.1 includes an obfuscated payload that, when imported, enumerates all environment variables and sends them as JSON to a specified HTTP endpoint. Although the current endpoint is a local loopback address (127.0.0.1:4000), the obfuscation and code structure indicate intent to exfiltrate sensitive data. The package contains explicit hostile indicators such as misleading comments and a crafted HTTP User-Agent string to evade detection. This behavior constitutes an active attack vector, compromising any system where the package is installed or executed.

Potential Impact

Any system with this package installed or running is considered fully compromised. All secrets and keys accessible via environment variables may be exposed. Because the package executes code on import that sends environment data externally, attackers could gain unauthorized access to sensitive information. Removal of the package does not guarantee full remediation, as the attacker may have established persistent control or installed additional malicious software.

Mitigation Recommendations

No official patch or fix is available for this malicious package. Immediate removal of 'test-nonmal-pkg-5' version 1.0.1 is strongly recommended. All secrets and keys stored on the compromised system should be rotated from a separate, trusted environment. Treat any system with this package as fully compromised and conduct a thorough security assessment to identify and remove any additional malicious artifacts.

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-4785
Osv Schema Version
1.7.4
Aliases
["GHSA-gqhv-x4hg-wqv4"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a42ed2327e9c79719933b10

Added to database: 06/29/2026, 22:09:39 UTC

Last enriched: 06/29/2026, 22:18:06 UTC

Last updated: 07/18/2026, 17:27:21 UTC

Views: 13

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