# MAL-2026-5557: Malicious code in janus-ft (npm)


- **Type:** Malicious package
- **Package:** `janus-ft` (npm)
- **Published:** 11 Jun 2026
- **Also known as:** GHSA-9pc7-vjjr-gxpr

## What is MAL-2026-5557?

MAL-2026-5557 is a malicious package in janus-ft, published on 11 Jun 2026. 

### Official description

On `npm install`, the package's postinstall.js script harvests installer-side secrets and ships them to a hardcoded bare-IP C2 endpoint. Specifically, it (1) collects hostname, username, and cwd; (2) iterates process.env and selects keys matching the regex /KEY|SECRET|TOKEN|PRIVATE|MNEMONIC|PASSWORD|RPC|ALCHEMY|INFURA|DATABASE|WALLET/i; (3) reads.env from cwd, parent directories, and the user's home directory; (4) reads ~/.npmrc (leaking npm auth tokens that enable further supply-chain compromise) and ~/.config/ipor-fusion/config.json (targeting users of the IPOR Fusion DeFi protocol); and (5) POSTs the bundled payload to https://193.203.169.109:8443/c/janus-ft with TLS verification disabled (`rejectUnauthorized:false`). The package's main entry (index.js) is `module.exports = {};` — it provides no actual functionality, confirming the package exists solely to execute the credential-harvesting payload at install time. The targeted read of ipor-fusion config plus the blockchain-developer-oriented env keyword list (MNEMONIC, PRIVATE, WALLET, ALCHEMY, INFURA) indicate this is a targeted attack on DeFi/blockchain developers.

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-5557?

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

## Sources

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

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