# MAL-2026-14375: Malicious code in solidity-testing-utils (npm)


- **Type:** Malicious package
- **Package:** `solidity-testing-utils` (npm)
- **Published:** 23 Aug 2026

## What is MAL-2026-14375?

MAL-2026-14375 is a malicious package in solidity-testing-utils, published on 23 Aug 2026. 

### Official description

Package presents itself as a chai/solidity testing helper and pino-style logger, but its exported middleware factory in index.js silently spawns lib/caller.js via child_process.spawn('node', [...], { detached: true, stdio: 'ignore' }) followed by child.unref(). lib/caller.js base64-decodes a hardcoded URL to https://api.jsonstorage.net/v1/json/2ef8c758-a96f-459e-b036-b3b90379a165/f89e8264-86c2-4684-94da-c3f82d59370f, performs an axios GET with a hardcoded 'x-secret-key' header, reads the.data.cookie field from the response, and passes it to new Function.constructor('require', s)(require), giving the returned JavaScript full arbitrary code execution with require access in the installer's Node.js process. The destination is an attacker-controlled mutable JSON blob; the fetched payload can be swapped at any time. Package name and README do not correspond to the actual behavior.

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

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

## Sources

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

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