MAL-2026-14207

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@sarex-team/viewer/MAL-2026-14207.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14207
Published
2026-08-19T02:31:51Z
Modified
2026-08-19T03:00:13.107335186Z
Summary
Malicious code in @sarex-team/viewer (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (04b67de30d08d48f32be517383d6940c8179d2269ea7a1720346eacc2e8c28d5)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-19T02:57:21.293755533Z",
            "sha256": "04b67de30d08d48f32be517383d6940c8179d2269ea7a1720346eacc2e8c28d5",
            "modified_time": "2026-08-19T02:31:51Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018293",
            "versions": [
                "9.9.11"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @sarex-team/viewer

Package

Name
@sarex-team/viewer
View open source insights on deps.dev
Purl
pkg:npm/%40sarex-team/viewer

Affected ranges

Affected versions

9.*
9.9.11

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@sarex-team/viewer/MAL-2026-14207.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "397d1435e7291ed6b02b8627033a110124d250a54290b3a8f9f248573fd6a2d4",
            "path": "lib/core.js",
            "tlsh": "38014929a393c08f97e096d0361a03d18499c380e7ce80a5fa7c4a87904e7d1cac5a96"
        },
        {
            "sha256": "c72f0886badea13eb11e8d42e4b57eede2defdfd8a64cd27bf082871860d9445",
            "path": "lib/b02e30.js",
            "tlsh": "2de068173303c94fa1880bfb7e0050a0aa4d8b58a25dc0d6b628678500af843d0c0632"
        },
        {
            "sha256": "ae38c8cd9835f7be563c4b1d2729b5dc331e948d378fdb05e39aaf059b72e4b9",
            "path": "package.json",
            "tlsh": "0b21ad25dd254c232ec82990ec692942f46208174d847c0573d6513c8f9f6af91ff21e"
        }
    ],
    "package_integrity": [
        {
            "filename": "viewer-9.9.11.tgz",
            "hashes": {
                "sha1": "2a727369307a595a3347be8d2be17df2d1e9690d",
                "sha512_sri": "sha512-85k1DzM0tPQ9zJ89/D9pMvyZIV6HHNuSDsYzPH78STmvqwUvvStCerruroS4QWii0RPdl9LlARNNMu6tKcEp+A=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]