# MAL-2026-5327: Malicious code in @listings/energy-labels (npm)


- **Type:** Malicious package
- **Package:** `@listings/energy-labels` (npm)
- **Published:** 8 Jun 2026

## What is MAL-2026-5327?

MAL-2026-5327 is a malicious package in @listings/energy-labels, published on 8 Jun 2026. 

### Official description

The package declares `"preinstall": "node index.js || true"` in package.json, so on every `npm install` the script executes automatically and silently swallows errors. index.js collects host identity (os.hostname(), os.userInfo().username, __dirname, process.cwd(), package label), hex-encodes the JSON payload as a DNS subdomain of `d8jbmnsqcfu78dfs8vdg34ohqhirb4pbg.oast.live` (an out-of-band interaction service used for exfiltration), and additionally POSTs the same payload over plain HTTP to a hardcoded bare IP `http://172.201.213.59:9090/c`. There is no TLS, no authentication, no documented purpose, and the bare-IP plus OOB DNS pattern is consistent with dependency-confusion / supply-chain reconnaissance infrastructure. Installer machines are fingerprinted and reported to the attacker on install with no user consent.

The OpenSSF Package Analysis project identified '@listings/energy-labels' @ 99.0.1 (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-5327?

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-5327 is a malicious package: @listings/energy-labels (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-5327/ (Markdown: https://insights.sbomify.com/MAL-2026-5327/index.md)
```

## Sources

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

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