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 @coralxyz/anchor (npm)

0
High
Published: 08/08/2026 (08/08/2026, 00:52:09 UTC)
Source: GCVE Database
Product: @coralxyz/anchor

Description

The npm package @coralxyz/anchor is a malicious package impersonating the legitimate Solana Anchor framework package @coral-xyz/anchor by removing the hyphen in the name. Its postinstall script on Windows systems downloads and extracts a zip archive from an anonymous file host, then executes any .exe files found, without providing any legitimate functionality. This package is a supply chain threat relying on name confusion to trick users into installing it.

Affected software

npmghsa
@coralxyz/anchor
Affected versions
=0.30.2

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/08/2026, 15:00:12 UTC

Technical Analysis

The malicious npm package @coralxyz/anchor (version 0.30.2) impersonates the legitimate Solana Anchor framework package @coral-xyz/anchor by a subtle name difference (missing hyphen). Its postinstall hook uses obfuscated code to download a zip archive from https://files.catbox.moe/9bppy2.zip, extracts it using PowerShell, and executes any .exe files found in the extracted content on Windows systems. The package does not provide any legitimate Anchor framework functionality and serves solely as a dropper for potentially harmful executables. This attack vector exploits user confusion due to the similar package name.

Potential Impact

Users who install @coralxyz/anchor version 0.30.2 on Windows systems may inadvertently execute malicious code delivered via the postinstall script. This can lead to arbitrary code execution on the affected system. The package does not deliver any legitimate functionality, indicating its sole purpose is malicious payload delivery. No known exploits in the wild have been reported yet.

Mitigation Recommendations

No official patch or fix is currently available. Users should avoid installing the @coralxyz/anchor package and instead ensure they use the legitimate @coral-xyz/anchor package with the hyphen. Verify package names carefully before installation to prevent supply chain attacks based on name confusion. Monitor for updates from the legitimate package maintainers or npm advisories for any remediation.

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

Threat ID: 6a77428cbf8831d539b06f35

Added to database: 08/08/2026, 14:51:56 UTC

Last enriched: 08/08/2026, 15:00:12 UTC

Last updated: 08/08/2026, 15:00:12 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