# MAL-2026-6559: Malicious code in lc-chatbot (npm)


- **Type:** Malicious package
- **Package:** `lc-chatbot` (npm)
- **Published:** 28 Jun 2026

## What is MAL-2026-6559?

MAL-2026-6559 is a malicious package in lc-chatbot, published on 28 Jun 2026. 

### Official description

package.json declares both preinstall and postinstall scripts that run `node callback.js`, so the callback fires automatically on `npm install` with no user interaction. callback.js collects identifying data from the installer's machine — os.hostname(), os.userInfo().username, process.cwd(), the consuming package name@version, and process.platform/arch — and transmits it to two attacker-controlled collectors: (1) a DNS lookup whose label is the hex-encoded hostname under a canarytokens.com subdomain, and (2) an HTTPS GET to https://eolxuw8fddeyjj8.m.pipedream.net carrying the collected fields as query parameters. The callback wraps all I/O in try/catch and forces process.exitCode=0, so the install completes silently even if the network call fails, hiding the beacon from the installer. The package self-describes as a dependency-confusion proof-of-concept, but the behavior is genuine install-time exfiltration of installer-identifying data and harms any machine that runs `npm install`.

The OpenSSF Package Analysis project identified 'lc-chatbot' @ 0.9.0-rc.0 (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-6559?

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

## Sources

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

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