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 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 performs an HTTP GET request to a hardcoded external bare-IP address, transmitting package details and a campaign identifier. The behavior is consistent with a dependency confusion canary, signaling that the package ran in the installer's build environment. Although the package claims to be a 'Dependency confusion security test placeholder' and a 'PoC', it still silently leaks information to an attacker-controlled endpoint during installation. There is no vendor advisory or patch information available for this issue.

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: 07/09/2026, 10:49:40 UTC

Technical Analysis

The yandex-geobase npm package in specified versions includes a postinstall script that contacts an external bare-IP endpoint (http://130.49.177.51:18080/p/dc-20260627-yandex-geobase) on every install. This request sends the package name, version, and a campaign identifier, confirming code execution within the installer's environment. The package self-identifies as a proof-of-concept for dependency confusion but nonetheless leaks build environment information to a third party. This behavior is indicative of malicious intent or at least unauthorized data exfiltration via a dependency confusion canary mechanism. No official patch or remediation guidance is provided.

Potential Impact

The malicious postinstall script leaks information about the package and its environment to an external attacker-controlled server. This can confirm successful code execution inside the build environment, potentially exposing sensitive build pipeline details. While no direct code execution beyond the postinstall script is described, the information leak could aid attackers in further targeting or reconnaissance. There are no known exploits in the wild reported at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. In the absence of an official fix, avoid using the affected versions of the yandex-geobase package from public npm sources, especially in internal build environments where dependency confusion is a risk. Consider using scoped or internal package registries to prevent dependency confusion attacks. Monitor for updates or advisories from the package maintainers or npm security teams.

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
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a42ed7627e9c7971993958e

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

Last enriched: 07/09/2026, 10:49:40 UTC

Last updated: 07/26/2026, 22:47:22 UTC

Views: 21

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