Skip to main content
MalwarePublished

@sarex-team/viewer (npm) · Malicious Code

Affects @sarex-team/viewerSource GCVE Database

0

Malicious package : remove @sarex-team/viewer and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:40 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14207

What to do

Remove @sarex-team/viewer from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npm@sarex-team/viewerAffected
  • =9.9.11
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package @sarex-team/viewer version 9.9.11 contains malicious code that exfiltrates sensitive system information via DNS queries. During installation and each require() call, it sends the installer's OS username, hostname, and current working directory basename to an attacker-controlled domain. This exfiltration is concealed by reconstructing key module and domain names from numeric char-code arrays. The malicious behavior occurs silently without user interaction, embedded in the package's install script and runtime code.

References

Community reviews

Loading reviews…