MAL-2026-6948

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/runtimedev-link/MAL-2026-6948.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6948
Aliases
  • GHSA-v63r-xv67-wj6q
Published
2026-07-07T16:12:58Z
Modified
2026-07-09T23:02:03.387506705Z
Summary
Malicious code in runtimedev-link (npm)
Details

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

Source: amazon-inspector (e049b6382f522be35ebc44b090d56723dacfc2fe15ffa05b345fe46f5aea392a)

The package presents itself as "Pure Node.js telemetry for RuntimeDev platform" but implements a full remote-access trojan. The runtimedev-link bin, when invoked with a --token that encodes an apiBase and hash, enters a command loop that polls POST /api/telemetry/poll-command at the operator-supplied base URL and executes any returned command string through /bin/sh (or the Windows shell) via execSync, returning stdout/stderr to /api/telemetry/command-result (transport.js). The same agent handles server-issued directoryScan and downloadRequest operations, zipping arbitrary filesystem paths and uploading them base64-encoded to /api/telemetry/upload-download; every telemetry cycle reports hostname, username, OS info, home-directory tree, Chrome/Edge/Brave extension inventories, and the host's public IP fetched from api.ipify.org. On first run the agent installs cross-platform persistence: a Windows Task Scheduler entry marked <Hidden>true</Hidden> with a LogonTrigger launched via wscript.exe //B against a generated VBS; a macOS LaunchAgent plist with RunAtLoad + KeepAlive; a Linux systemd --user unit with Restart=always plus loginctl enable-linger, falling back to crontab @reboot or XDG autostart. Credentials are staged at ~/.config/runtimedev-link/agent.env. To further evade endpoint visibility, lib/portable_runtime.js downloads a standalone Node.js 22.22.0 tarball from nodejs.org, extracts it into ~/.local/share/runtimedev-link/runtime/, chmods bin/node to 0755, and configures persistence to invoke that private interpreter against a copied agent CLI, decoupling ongoing execution from the user's Node/npm. The exfil/C2 destinations are configurable per token, so any attacker distributing a token targets their own infrastructure; the code paths themselves are unambiguously RAT machinery.

Source: ghsa-malware (bad42e28746353937971161510019f72f4c501f54d3a40410710ae83e83db724)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "bad42e28746353937971161510019f72f4c501f54d3a40410710ae83e83db724",
            "id": "GHSA-v63r-xv67-wj6q",
            "modified_time": "2026-07-07T16:12:58Z",
            "import_time": "2026-07-07T17:01:10.309498603Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "source": "ghsa-malware"
        },
        {
            "versions": [
                "1.0.13"
            ],
            "id": "IN-MAL-2026-008177",
            "import_time": "2026-07-08T18:34:24.837276005Z",
            "sha256": "e049b6382f522be35ebc44b090d56723dacfc2fe15ffa05b345fe46f5aea392a",
            "modified_time": "2026-07-08T18:17:04Z",
            "source": "amazon-inspector"
        },
        {
            "sha256": "45e7d4b75d2b19705beb754eb2ff90c203084bb72bf546a7b1c045df59b1bf3a",
            "id": "IN-MAL-2026-009247",
            "import_time": "2026-07-09T16:20:54.147843189Z",
            "modified_time": "2026-07-09T15:49:39Z",
            "versions": [
                "1.0.12"
            ],
            "source": "amazon-inspector"
        },
        {
            "versions": [
                "1.0.14"
            ],
            "id": "IN-MAL-2026-009289",
            "import_time": "2026-07-09T16:20:57.691325207Z",
            "sha256": "66cb11e9b91f7596a109d7c77ee6f16586bdbebfc8ba61843ad80f76f8c35c34",
            "modified_time": "2026-07-09T15:55:51Z",
            "source": "amazon-inspector"
        },
        {
            "sha256": "7c7ddc56656d99f9391838d0d9df91d07dfa9fb04a9093ffd3fb481e5d6558df",
            "id": "IN-MAL-2026-009439",
            "import_time": "2026-07-09T22:02:31.756321028Z",
            "modified_time": "2026-07-09T21:55:58Z",
            "versions": [
                "1.0.2"
            ],
            "source": "amazon-inspector"
        },
        {
            "sha256": "7566e0cf78bae3c2805d60d96c3d3e6d635d4190ada9f05f9194c241eeaf8046",
            "id": "IN-MAL-2026-009407",
            "import_time": "2026-07-09T22:02:28.102562346Z",
            "modified_time": "2026-07-09T21:33:18Z",
            "versions": [
                "1.0.11"
            ],
            "source": "amazon-inspector"
        },
        {
            "versions": [
                "1.0.10"
            ],
            "id": "IN-MAL-2026-009539",
            "import_time": "2026-07-09T22:56:32.471158084Z",
            "sha256": "097d4c3dec5840958d7ac9acd15f392217298ed66795b324650afbfc219cacb7",
            "modified_time": "2026-07-09T22:10:22Z",
            "source": "amazon-inspector"
        },
        {
            "versions": [
                "1.0.8"
            ],
            "id": "IN-MAL-2026-009540",
            "import_time": "2026-07-09T22:56:32.575070231Z",
            "modified_time": "2026-07-09T22:10:31Z",
            "sha256": "30f0bc7552afe56786c067b07832691651cbebb971c92c231fbe4d874dec4c78",
            "source": "amazon-inspector"
        },
        {
            "sha256": "37468de492caecdd296ed5092e5e3b99404bb81250c998850ef54f238dd750ff",
            "id": "IN-MAL-2026-009544",
            "import_time": "2026-07-09T22:56:32.894539033Z",
            "modified_time": "2026-07-09T22:11:19Z",
            "versions": [
                "1.0.3"
            ],
            "source": "amazon-inspector"
        },
        {
            "versions": [
                "1.0.5"
            ],
            "id": "IN-MAL-2026-009550",
            "import_time": "2026-07-09T22:56:33.516789585Z",
            "sha256": "659933b251594ec24f5907aa86378661a051388a66f1701984acb36e966424fc",
            "modified_time": "2026-07-09T22:12:15Z",
            "source": "amazon-inspector"
        },
        {
            "versions": [
                "1.0.1"
            ],
            "id": "IN-MAL-2026-009537",
            "modified_time": "2026-07-09T22:10:04Z",
            "sha256": "89661280b6e6edfb905bf7b4ac049a22b06016edaaf39332aea50ccb8ea05a72",
            "import_time": "2026-07-09T22:56:32.276561411Z",
            "source": "amazon-inspector"
        },
        {
            "sha256": "d33e2cdb862ca34e9157b413e7bbbf56030b8f46b7ffef536f1343124d6daa3a",
            "id": "IN-MAL-2026-009534",
            "import_time": "2026-07-09T22:56:32.006840828Z",
            "modified_time": "2026-07-09T22:09:38Z",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector"
        },
        {
            "sha256": "e60b271763841e7d901aa36d4ddc7eb2801fe78b103325a7051aef5265e9b8c5",
            "id": "IN-MAL-2026-009548",
            "import_time": "2026-07-09T22:56:33.314078693Z",
            "modified_time": "2026-07-09T22:11:54Z",
            "versions": [
                "1.0.6"
            ],
            "source": "amazon-inspector"
        },
        {
            "versions": [
                "1.0.9"
            ],
            "id": "IN-MAL-2026-009523",
            "import_time": "2026-07-09T22:56:30.881875797Z",
            "sha256": "eb6f417bed3446c37ae9bc3e184afb912c36b09f7bb278a393d2cbfbc6eccfd5",
            "modified_time": "2026-07-09T22:08:03Z",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / runtimedev-link

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.5
1.0.6
1.0.8
1.0.9
1.0.10
1.0.11
1.0.12
1.0.13
1.0.14

Database specific

indicators
{
    "evidence_files": [
        {
            "tlsh": "bc4286ca34f7351946a3b4a4962b51177616e203380fcce4b65c47106faa1386ab6fdf",
            "sha256": "f38f6533797ae59b428b8b383010145b6b6015bbe9473d493ed270db78fb3419",
            "path": "lib/transport.js"
        },
        {
            "sha256": "e8840034db06939cf5741fab31b83ee39c7e56ebed8f20e88dfb3a90c75a540f",
            "tlsh": "ca62c39abdf3b1388ab69634025f942975edd2432a0eddb0f4ec01805f9a56c4273ddd",
            "path": "lib/persistence.js"
        },
        {
            "sha256": "07dc30e8712b2493086fecd75421a025cb79b13d76291b300ca650557dba9df8",
            "tlsh": "4cd1438a1af762344672d2a63e0fd44db297c40b224bdd94fb9c46c83f81538b5925de",
            "path": "lib/portable_runtime.js"
        },
        {
            "sha256": "8b48592df871b4ca52fea48aae3b18ef17ba0aff53d024cb31b1054a037c63e2",
            "tlsh": "94e026218aa0192301cc9ab55eb70263d362cc0e010c7d146693221d039d13ab879368",
            "path": "package.json"
        }
    ]
}
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/runtimedev-link/MAL-2026-6948.json"