# MAL-2026-5608: Malicious code in claimora (npm)


- **Type:** Malicious package
- **Package:** `claimora` (npm)
- **Published:** 11 Jun 2026

## What is MAL-2026-5608?

MAL-2026-5608 is a malicious package in claimora, published on 11 Jun 2026. 

### Official description

claimora impersonates the jsonwebtoken library (auth0): package.json sets author to "auth0", points repository at a non-existent github.com/auth0/node-claimora, and re-exports the jsonwebtoken API surface (sign/verify/decode plus JsonWebTokenError/NotBeforeError/TokenExpiredError). README and LICENSE text are copied from node-jsonwebtoken. The main entry index.js loads decode.js, which at module top level invokes getThirdCookie() — this issues an axios GET to https://jsonkeeper.com/b/0GXBD, takes response.data.errCode (attacker-controlled JavaScript on a mutable public paste service), constructs `new Function.constructor("require", errCode)`, and invokes the resulting handler with `require`. Any process that requires claimora executes whatever code the operator of that paste currently serves, with full Node module access (filesystem, network, child_process, env). The legitimate jsonwebtoken library performs zero network I/O; this clone adds a remote-fetch-and-eval path executed unconditionally on import.

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

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

## Sources

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

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