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…

MAL-2026-6586: Malicious code in yastatic-s3 (npm)

0
High
Published: 06/29/2026 (06/29/2026, 05:25:30 UTC)
Source: GCVE Database
Product: yastatic-s3

Description

The npm package 'yastatic-s3' version 0.1.0 contains malicious code that executes during installation. Its postinstall script makes an unauthorized HTTP request to a hardcoded external IP, leaking package details and a nonce. This behavior impersonates Yandex's internal package namespace, indicating a dependency confusion attack. The malicious code confirms attacker code execution on the installer's machine and exposes internal build information.

Affected software

npmghsa
yastatic-s3
Affected versions
=0.1.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: 06/29/2026, 22:40:50 UTC

Technical Analysis

The 'yastatic-s3' npm package (version 0.1.0) includes a postinstall lifecycle script that issues an HTTP GET request to a hardcoded IP address (130.49.177.51:18080) over plain HTTP. This request transmits the package name, version, and a nonce in the query string, confirming code execution on the installer's machine and unauthorized communication with an attacker-controlled endpoint. The package name and beacon path mimic Yandex's internal 'yastatic' static-asset and geobase namespace, consistent with a dependency confusion attack targeting Yandex build environments that mistakenly resolve this private package name from the public npm registry. This results in concrete harm by leaking internal build identifiers and demonstrating attacker code execution during installation.

Potential Impact

Installation of the affected 'yastatic-s3' package version 0.1.0 leads to execution of attacker-controlled code on the host machine. It causes unauthorized network communication to an external IP, leaking internal build pipeline identifiers and confirming compromise. This undermines build integrity and confidentiality by exposing sensitive internal information and allowing remote attacker influence during package installation.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing version 0.1.0 of the 'yastatic-s3' package. Verify package sources carefully to prevent dependency confusion attacks, especially in environments that resolve private package names from public registries. Monitor and restrict network egress from build environments to prevent unauthorized external communications during package installation. Check vendor advisories or trusted sources for updates or fixes.

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

Threat ID: 6a42ed7627e9c7971993957f

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

Last enriched: 06/29/2026, 22:40:50 UTC

Last updated: 06/30/2026, 00:48:52 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