Skip to main content

Malicious code in test899-auth (npm)

0
Critical
Published: 09/18/2026 (09/18/2026, 15:26:05 UTC)
Source: GCVE Database
Product: test899-auth

Description

The npm package 'test899-auth' version 1.0.1 contains malicious code that executes during installation. It collects detailed host and user identity information and exfiltrates it via DNS queries to a malicious domain, bypassing typical HTTP egress filtering. The package also has a self-referential dependency, indicating it may be a proof-of-concept or malicious probe rather than a legitimate authentication library. Installation of this package compromises the host, and removal may not fully restore system integrity.

Affected software

npmghsa
test899-auth
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: 09/19/2026, 01:35:51 UTC

Technical Analysis

The 'test899-auth' npm package version 1.0.1 includes a preinstall script that gathers sensitive system information such as hostname, platform, OS release, user identity, and system details. This data is base64-encoded, split into DNS labels, and exfiltrated through DNS queries to a hardcoded subdomain controlled by an attacker, effectively bypassing HTTP egress filtering. The package.json declares an unpinned self-dependency, consistent with a malicious or research probe package. Multiple sources, including Amazon Inspector, GHSA malware database, and OpenSSF Package Analysis, classify this package as malicious due to its behavior and communication with a known malicious domain.

Potential Impact

Any system that installs or runs this package is considered fully compromised. Sensitive information about the host and user is leaked to an attacker-controlled domain. The attacker may have gained persistent control, and secrets or keys stored on the compromised system should be considered exposed and rotated immediately. Removal of the package alone does not guarantee elimination of all malicious artifacts or backdoors.

Defensive Guidance

Immediate removal of the 'test899-auth' package version 1.0.1 is recommended. All secrets, credentials, and keys stored on the affected system should be rotated from a different, trusted machine. Due to the high likelihood of full system compromise, a full system audit and potential rebuild may be necessary. No official patch or fix is available; the package itself is malicious and should be avoided.

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-16285
Osv Schema Version
1.7.4
Aliases
["GHSA-jf2q-w77c-99vv"]
Ecosystems
["npm"]

Threat ID: 6aade4fb55bf5e2cf5eda5c2

Added to database: 09/19/2026, 01:27:23 UTC

Last enriched: 09/19/2026, 01:35:51 UTC

Last updated: 09/19/2026, 03:00:16 UTC

Views: 3

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