Malicious code in @coralxyz/anchor (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in @coralxyz/anchor (npm)
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
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 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.
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 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.
External Links
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.