# MAL-2026-12177: Malicious code in devpack-conf (npm)


- **Type:** Malicious package
- **Package:** `devpack-conf` (npm)
- **Published:** 5 Aug 2026

## What is MAL-2026-12177?

MAL-2026-12177 is a malicious package in devpack-conf, published on 5 Aug 2026. 

### Official description

devpack-conf@5.0.0 is a typosquat of pkg-conf. index.js contains a top-level eval(atob(...)) that decodes an obfuscated loader. The loader queries Ethereum RPC/blockscout endpoints for transactions from the hardcoded address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, extracts an IPv4 address from the transaction's `to` field, fetches an XOR-encoded payload from http://<resolved-ip>:443/0x/cls and /0x/ls (XOR key delivered via the x-payload-b64 response header), eval()s the decrypted payload, and spawns a detached `node -e <payload>` child process with stdio:'ignore' and windowsHide:true. Sensitive strings (`http`, `https`, `child_process`, `spawn`, endpoint paths) are hidden behind \u unicode escapes. The malicious code executes automatically at require/import time on any consumer of the package.

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

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

## Sources

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

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