# MAL-2026-14381: Malicious code in fund-portfolio (npm)


- **Type:** Malicious package
- **Package:** `fund-portfolio` (npm)
- **Published:** 23 Aug 2026

## What is MAL-2026-14381?

MAL-2026-14381 is a malicious package in fund-portfolio, published on 23 Aug 2026. 

### Official description

Package declares `scripts.preinstall`: `node index.js`, causing index.js to run automatically on `npm install`. The script collects hostname, username, home directory, INIT_CWD, local IPv4, public egress IP (via api.ipify.org, icanhazip.com, ifconfig.me), DNS resolver IP and client subnet (via o-o.myaddr.l.google.com), and the parent project's package.json fields (name, author, repository, homepage). The collected JSON is exfiltrated to the hardcoded callback host `da51rv0hb2uc72tg4gvgdepinjcallbk1.oast.fun` (Interactsh/OAST) via DNS-chunked queries and HTTPS POST to `/poc/<uuid>`. The unscoped name is published at version 999.9.12 to defeat internal resolvers that fall back to the public npm registry, so any build referencing `fund-portfolio` without a private-registry pin will resolve to and execute this payload.

The OpenSSF Package Analysis project identified 'fund-portfolio' @ 999.9.12 (npm) as malicious.

It is considered malicious because:

- The package communicates with a domain associated with malicious activity.

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

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

## Sources

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

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