# MAL-2026-5449: Malicious code in morningstar-design-system (npm)


- **Type:** Malicious package
- **Package:** `morningstar-design-system` (npm)
- **Published:** 9 Jun 2026

## What is MAL-2026-5449?

MAL-2026-5449 is a malicious package in morningstar-design-system, published on 9 Jun 2026. 

### Official description

On `npm install`, the package's `preinstall` lifecycle script runs `wget` against a hardcoded bare-IP HTTP endpoint, passing the output of `id`, `pwd`, `hostname`, and `ip a` as URL query parameters. This leaks the installing user's username/UID/GID, working directory, hostname, and full network interface configuration to an attacker-controlled host automatically, before any other code runs. The package name targets Morningstar's organizational namespace and is published at an absurd `99.0.1` version — the canonical dependency-confusion shape designed to override an internal package of the same name. README self-identifies as a dependency-confusion PoC. Whether labeled research or not, the published artifact actively exfiltrates installer data to a third-party IP and is unsafe to install in any environment.

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

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

## Sources

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

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