# MAL-2026-14207: Malicious code in @sarex-team/viewer (npm)


- **Type:** Malicious package
- **Package:** `@sarex-team/viewer` (npm)
- **Published:** 19 Aug 2026

## What is MAL-2026-14207?

MAL-2026-14207 is a malicious package in @sarex-team/viewer, published on 19 Aug 2026. 

### Official description

The package runs a DNS-based beacon that leaks the installer's OS username, hostname, and current-working-directory basename to the hardcoded attacker-controlled domain oob.sl4x0.xyz. lib/core.js collects os.userInfo().username, os.hostname(), and process.cwd(), joins them as subdomain labels under oob.sl4x0.xyz, and issues a dns.resolve4() lookup so the encoded values are exfiltrated via DNS. The destination domain and the module/API names ('os', 'dns', 'process', 'userInfo', 'hostname', 'cwd', 'resolve4') are reconstructed from numeric char-code arrays in lib/b02e30.js and lib/6ad264.js solely to conceal them. Execution is zero-interaction: package.json declares scripts.install: 'node index.js', and index.js top-level requires./lib/core inside a try/catch that swallows errors, so the beacon fires on npm install and again on every require() of the package while the install appears clean.

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

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-14207 is a malicious package: @sarex-team/viewer (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-14207/ (Markdown: https://insights.sbomify.com/MAL-2026-14207/index.md)
```

## Sources

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

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