Skip to main content

Malicious code in yandex-geobase (npm)

0
Medium
Published: 06/29/2026 (06/29/2026, 04:17:52 UTC)
Source: GCVE Database
Product: yandex-geobase

Description

The yandex-geobase npm package versions 2.1.0, 2.1.2, 2.2.0, 2.9.0, and 3.9.0 contain malicious code that executes a postinstall script. This script sends an HTTP GET request to a hardcoded bare IP address on a non-standard port, leaking package and environment information to an external host. The package is described as a dependency confusion test placeholder, but its behavior can compromise build environments and potentially the host system. Removal of the package is recommended, but full system compromise is possible, requiring secret and key rotation.

Affected software

npmghsa
yandex-geobase
Affected versions
=2.9.0=2.1.2=3.9.0=2.1.0=2.2.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: 08/21/2026, 16:28:22 UTC

Technical Analysis

The yandex-geobase npm package in specified versions includes a postinstall script that performs an HTTP GET request to a hardcoded external bare IP address (http://130.49.177.51:18080/p/dc-20260627-yandex-geobase) on every installation. This beacon transmits the package name, version, and a campaign identifier, confirming code execution in the installer's environment to a third party. Although labeled as a 'Dependency confusion security test placeholder' and 'PoC', this behavior effectively signals that attacker-controlled code ran inside the build environment. The use of a bare IP on a non-standard port, unrelated to any official registry or telemetry endpoint, indicates malicious intent consistent with dependency confusion attack infrastructure. The package compromises any system it is installed on, potentially granting full control to an external entity.

Potential Impact

Any system with the affected yandex-geobase package installed or running should be considered fully compromised. The package's postinstall script allows external actors to confirm code execution within the build or host environment, potentially enabling further malicious actions. All secrets and keys stored on the compromised system are at risk and should be rotated immediately from a secure, unaffected system. Removing the package alone may not eliminate all malicious software or backdoors introduced during installation.

Defensive Guidance

Remove the yandex-geobase package immediately from all affected systems. Rotate all secrets and keys that were stored on the compromised systems using a secure, unaffected environment. Due to the potential full compromise of the host, additional forensic analysis and remediation may be necessary. There is no official patch or fix available; therefore, avoid using this package and monitor for any signs of persistent compromise.

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

Threat ID: 6a42ed7627e9c7971993958e

Added to database: 06/29/2026, 22:11:02 UTC

Last enriched: 08/21/2026, 16:28:22 UTC

Last updated: 09/15/2026, 05:56:22 UTC

Views: 49

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