# MAL-2026-14292: Malicious code in log-res (npm)


- **Type:** Malicious package
- **Package:** `log-res` (npm)
- **Published:** 19 Aug 2026

## What is MAL-2026-14292?

MAL-2026-14292 is a malicious package in log-res, published on 19 Aug 2026. 

### Official description

index.js re-exports a `desKey` string sourced from apps/docs/app/theta.js, which reads apps/docs/app/des.db as UTF-8. des.db contains a heavily obfuscated JavaScript program (string-array + hex-name mangling) that, when evaluated, creates a directory under the OS temp directory, writes a synthetic package.json declaring runtime dependencies on axios, better-sqlite3, node-machine-id, and socket.io-client, spawns `npm install` inside that directory, and then spawns `node` on a staged index.js. The payload is disguised as a database file (`des.db`) rather than shipped as source, and the stager fetches and runs a socket.io-client-based remote agent capable of receiving commands from an attacker-controlled endpoint. The package's advertised purpose (a docs/monorepo TheData API helper) does not require embedding or exporting an obfuscated executable blob.

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

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

## Sources

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

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