# MAL-2026-12334: Malicious code in ach-detail (npm)


- **Type:** Malicious package
- **Package:** `ach-detail` (npm)
- **Published:** 5 Aug 2026

## What is MAL-2026-12334?

MAL-2026-12334 is a malicious package in ach-detail, published on 5 Aug 2026. 

### Official description

The npm package ach-detail@99.0.1 ships a preinstall lifecycle script (scripts/preinstall.js) that runs automatically on `npm install`. The script collects the installer's hostname, package name and version, Node.js version, platform, timestamp, and a nonce, and POSTs the payload to a hardcoded remote endpoint at https://callback.kuldeep.io/beacon, with an HTTP fallback to the same host. The package is published to the public npm registry at version 99.0.1 — a version-inflation pattern consistent with dependency-confusion targeting of a private internal package of the same name. A log string in the script self-labels the behavior as an authorized bug-bounty PoC, but that label is author-controlled, does not change the observable behavior, and does not represent consent from any installer that resolves the package (accidentally or through dependency-confusion). Installer-side host identifiers leave the machine to a non-first-party endpoint on install.

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

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

## Sources

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

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