# MAL-2026-5328: Malicious code in @zimmo/last_search (npm)


- **Type:** Malicious package
- **Package:** `@zimmo/last_search` (npm)
- **Published:** 8 Jun 2026

## What is MAL-2026-5328?

MAL-2026-5328 is a malicious package in @zimmo/last_search, published on 8 Jun 2026. 

### Official description

The package's preinstall hook runs index.js on every `npm install`. The script collects host identity data — `os.hostname()`, `os.userInfo().username`, `__dirname`, `process.cwd()`, and the package name — and ships it two ways: (1) hex-encoded into a DNS subdomain resolved against `*.d8jbmnsqcfu78dfs8vdg34ohqhirb4pbg.oast.live` (an interactsh out-of-band canary), and (2) POSTed as JSON to the hardcoded bare IP `http://172.201.213.59:9090/c`. The package has no legitimate functionality — index.js is an exfiltration-only payload. The inflated `99.0.0` version under the `@zimmo` scope, combined with the `"security research"` description and recon-only payload, is the canonical dependency-confusion shape: if a build pipeline at Zimmo (or a misconfigured installer) resolves the `@zimmo/last_search` name from the public npm registry instead of an internal one, the attacker receives internal hostnames, usernames, and install paths as reconnaissance for a follow-on attack.

The OpenSSF Package Analysis project identified '@zimmo/last_search' @ 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-5328?

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

## Sources

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

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