Malicious code in yandex-geobase (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in yandex-geobase (npm)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.