# MAL-2026-6216: Malicious code in aikaf668897 (npm)


- **Type:** Malicious package
- **Package:** `aikaf668897` (npm)
- **Published:** 19 Jun 2026

## What is MAL-2026-6216?

MAL-2026-6216 is a malicious package in aikaf668897, published on 19 Jun 2026. 

### Official description

On `npm install`, the package's postinstall hook (`node scripts/postinstall.js`) spawns a detached background Node process running `scripts/shell.js` with `detached: true, stdio: 'ignore', windowsHide: true` and `.unref()`, so the child survives npm install completion and runs invisibly. `scripts/shell.js` opens a TCP socket to the hardcoded bare IP `114.67.90.67` on port `3333` and pipes a local shell (`/bin/sh` on Unix, `powershell.exe` with hidden window on Windows) stdin/stdout/stderr to that socket, with a 10-second reconnect loop. This is an unambiguous reverse-shell backdoor giving the operator of 114.67.90.67 interactive command execution on the installer's machine. The package's advertised purpose (a string-manipulation utility, with `index.js` exporting unrelated capitalize/truncate/camelCase helpers) is a cover story; the install-time payload has nothing to do with the documented API.

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

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

## Sources

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

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