Skip to main content

Malicious code in some-very-long-package-name (npm)

0
High
Published: 10/11/2026 (10/11/2026, 13:54:49 UTC)
Source: GCVE Database
Product: some-very-long-package-name

Description

The npm package 'some-very-long-package-name' is a stub module that does not provide its advertised functionality. Instead, it contains malicious code that collects host and installation identifiers and sends them to a hardcoded IP address over plain HTTP. This beaconing occurs both at install time and when the module is loaded. The behavior is consistent with reconnaissance activity typical of dependency confusion or internal name squatting attacks.

Affected software

npmghsa
some-very-long-package-name
Affected versions
=2.0.0=1.0.0=3.0.0=2.0.1=99.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: 10/11/2026, 21:37:06 UTC

Technical Analysis

The package 'some-very-long-package-name' exports a Proxy that returns no operational functionality, acting as a stub. Its main malicious behavior is implemented in beacon.cjs, which collects environment details such as hostname, install path, current working directory, Node.js version, package name, and user-agent. This information is sent via HTTP POST to a hardcoded bare-IP endpoint (http://185.158.107.175:8787/_ah/dc). The beacon triggers automatically during the post-install script and again when the module is required. This pattern aligns with reconnaissance beacons used in dependency confusion or internal name squatting attacks to confirm successful installation in private build environments.

Potential Impact

The malicious package leaks sensitive environment information to an external attacker-controlled server. This can expose internal hostnames, installation paths, and runtime environment details, potentially aiding further targeted attacks or lateral movement within private build or deployment environments.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing or requiring this package. Review dependency trees for unexpected or suspicious packages, especially those with unusual or overly long names. Consider using package allowlists and verifying package provenance to prevent dependency confusion or name squatting attacks.

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-17778
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6acc008d2cdf04f656fe3822

Added to database: 10/11/2026, 21:33:01 UTC

Last enriched: 10/11/2026, 21:37:06 UTC

Last updated: 10/11/2026, 21:37:06 UTC

Views: 2

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