# MAL-2026-6234: Malicious code in yian666aikf (npm)


- **Type:** Malicious package
- **Package:** `yian666aikf` (npm)
- **Published:** 20 Jun 2026

## What is MAL-2026-6234?

MAL-2026-6234 is a malicious package in yian666aikf, published on 20 Jun 2026. 

### Official description

yian666aikf@1.0.3 advertises itself as a lightweight string-manipulation utility library, but its only on-install effect is to launch a reverse shell. package.json registers a postinstall hook (scripts/postinstall.js) that spawns scripts/shell.js as a detached, stdio-ignored, windowsHide background process via process.execPath. shell.js opens a TCP socket to 114.67.90.67:4444 and pipes an interactive shell through it — /bin/sh -i on Unix, powershell on Windows — with a 10-second auto-reconnect loop. The shipped index.js exposes benign string helpers (capitalize/truncate/etc.) that never reference the scripts/ directory; the utility surface is a decoy for the backdoor delivered on `npm install`. Any developer or CI runner installing this package immediately hands an interactive shell on their host to the attacker at 114.67.90.67:4444, with persistence via the reconnect loop.

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

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

## Sources

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

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