# MAL-2026-13629: Malicious code in @coralxyz/anchor (npm)


- **Type:** Malicious package
- **Package:** `@coralxyz/anchor` (npm)
- **Published:** 8 Aug 2026

## What is MAL-2026-13629?

MAL-2026-13629 is a malicious package in @coralxyz/anchor, published on 8 Aug 2026. 

### Official description

Package @coralxyz/anchor impersonates the legitimate Solana Anchor framework package @coral-xyz/anchor (hyphen removed). The npm postinstall hook, implemented in scripts/postinstall.js, hides all string literals behind a hex-escaped string-array decoder (_0x5a2f / _0xf). On Windows (win32), the decoded logic downloads a zip archive from the anonymous file host https://files.catbox.moe/9bppy2.zip, extracts it via PowerShell Expand-Archive to a temporary directory, walks the extracted tree, and spawns any.exe file it finds detached with windowsHide. index.js is a minimal stub; the package's advertised Anchor framework functionality is not present, and the postinstall dropper is the sole meaningful behavior. The delivery vector is name confusion with the widely used @coral-xyz/anchor package.

## What should I do about MAL-2026-13629?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-13629 is a malicious package: @coralxyz/anchor (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-13629/ (Markdown: https://insights.sbomify.com/MAL-2026-13629/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-13629

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-13629/
Summaries are generated and may contain mistakes; the official description above is the record.
