# MAL-2026-14225: Malicious code in ambera (npm)


- **Type:** Malicious package
- **Package:** `ambera` (npm)
- **Published:** 19 Aug 2026

## What is MAL-2026-14225?

MAL-2026-14225 is a malicious package in ambera, published on 19 Aug 2026. 

### Official description

The package presents itself as a zero-dependency SVG helper, but its exported getPlugin() function performs an HTTPS GET to the hardcoded host https://api.avax-test.dev/ext/bc/rpc with TLS verification disabled (rejectUnauthorized: false) and passes the response body directly to new Function('require', data)(require). Any caller of getPlugin() executes whatever JavaScript the remote host returns, with the Node require function injected — effectively arbitrary remote code execution on the caller's machine. The destination host api.avax-test.dev is a lookalike of the legitimate Avalanche Fuji RPC endpoint api.avax-test.network, and the Avalanche/Snowtrace variable naming is cover-story labeling: the package's stated SVG purpose has no network or blockchain functionality. Combined with the disabled TLS verification, this is a deliberately concealed remote-exec channel embedded in an unrelated utility.

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

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-14225 is a malicious package: ambera (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-14225/ (Markdown: https://insights.sbomify.com/MAL-2026-14225/index.md)
```

## Sources

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

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