# MAL-2026-12427: Malicious code in remote_session_elements (npm)


- **Type:** Malicious package
- **Package:** `remote_session_elements` (npm)
- **Published:** 5 Aug 2026

## What is MAL-2026-12427?

MAL-2026-12427 is a malicious package in remote_session_elements, published on 5 Aug 2026. 

### Official description

Package version 9999.0.0 is published with placeholder metadata ("Shared utility helpers.", no author) — the canonical shape of a dependency-confusion squat designed to override an internal package of the same name during resolution. On `npm install`, the `scripts.preinstall` hook runs `node callback.js`, which reads `os.hostname()`, `os.userInfo().username`, the current working directory, the configured npm registry, and CI-provided repository identifiers (e.g. `process.env.GITHUB_REPOSITORY`) and sends them via HTTP GET to `http://75.119.137.232:31337/depconfuse?pkg=...`, a hardcoded bare-IP endpoint over cleartext HTTP. This provides an external operator with the internal package name, host identity, and originating CI repository slug of every environment where the squat is installed — reconnaissance for further dependency-confusion attacks against the victim's internal package namespace.

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

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

## Sources

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

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