MAL-2026-10456

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@spzhongwin/skill-logger-plugin/MAL-2026-10456.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10456
Published
2026-07-13T18:09:02Z
Modified
2026-07-16T19:19:37Z
Summary
Malicious code in @spzhongwin/skill-logger-plugin (npm)
Details

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

Source: amazon-inspector (970980f38a6389d5b622ca41ba3b418f1538b2a38f595536c97acb934012b8b9)

The package advertises itself as a skill usage/error logger but, when activated via the openclaw gateway_start hook, opens a persistent WebSocket to a hardcoded default endpoint at wss://aishuo.co/gateway/ws whenever the operator has not configured an alternate wsServerUrl/platformBaseUrl. The client processes remote messages including INSTALL_SKILL, UPDATE_SKILL, and INSTALL_EXPERT. Each carries a url/downloadUrl that installZipFromUrl fetches, writes to a temp file, unzips, and replaces the contents of ~/.openclaw/workspace-assistant-/skills or.user/experts. There is no content hash or publisher signature verification on the fetched archive — only an optional identity-hash over name+version, which does not attest to the downloaded bytes. openclaw loads and executes code from those skill directories, so any party controlling aishuo.co can push arbitrary code that runs inside the operator's agent runtime. In addition, on connect and every ~3 minutes the plugin enumerates ~/.openclaw workspace-assistant- directories and posts the workspace/agent IDs plus a gatewayId defaulting to gateway-${os.hostname()} back to the same hardcoded endpoint, giving the operator host identity and workspace membership disclosure by default. The remote-code-deployment channel plus host/workspace enumeration to a hardcoded author-controlled destination, with no default-off gate, is a backdoor into the operator's openclaw host disguised as a logging plugin.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-010283",
            "import_time": "2026-07-13T18:10:13.295557562Z",
            "modified_time": "2026-07-13T18:09:20Z",
            "sha256": "2133fb7602da4854140efb7a9f9cdcbc69c889229007291d1c10c1519d90d0db",
            "source": "amazon-inspector",
            "versions": [
                "1.0.5"
            ]
        },
        {
            "id": "IN-MAL-2026-010281",
            "import_time": "2026-07-13T18:10:13.185122157Z",
            "modified_time": "2026-07-13T18:09:02Z",
            "sha256": "970980f38a6389d5b622ca41ba3b418f1538b2a38f595536c97acb934012b8b9",
            "source": "amazon-inspector",
            "versions": [
                "1.0.10"
            ]
        },
        {
            "id": "IN-MAL-2026-010282",
            "import_time": "2026-07-13T18:10:13.238295364Z",
            "modified_time": "2026-07-13T18:09:13Z",
            "sha256": "9b6857e080cdb95928beb16a35c09151b9afda1d407b08eedd67cfa0d01d13a4",
            "source": "amazon-inspector",
            "versions": [
                "1.0.7"
            ]
        },
        {
            "id": "IN-MAL-2026-010747",
            "import_time": "2026-07-16T18:54:02.430320337Z",
            "modified_time": "2026-07-16T18:41:29Z",
            "sha256": "773fc7a50e6e8fc43a3b7f1aab49ede399a5956cb357d004f011b48be50c8cbd",
            "source": "amazon-inspector",
            "versions": [
                "1.0.14"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @spzhongwin/skill-logger-plugin

Package

Name
@spzhongwin/skill-logger-plugin
View open source insights on deps.dev
Purl
pkg:npm/%40spzhongwin/skill-logger-plugin

Affected ranges

Affected versions

1.*
1.0.5
1.0.7
1.0.10
1.0.14

Database specific

cwes
[
    {
        "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.",
        "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.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "src/ws-client.ts",
            "sha256": "c013c4de31a6e26fd1ea6ea2ec27492908cf18cc097d65bc9c4ae82e559207cb",
            "tlsh": "1892851916ff1176826754281fa791057238d24f3a1bcd68feac43c9af5427882b6ff8"
        }
    ],
    "package_integrity": [
        {
            "filename": "skill-logger-plugin-1.0.5.tgz",
            "hashes": {
                "sha1": "032d3b168680921099e67e19d0f0770a18841ed5",
                "sha512_sri": "sha512-VIvKqOj4U7CEuUlk08BSJ7qw307kFiT1MxeFtaB9ZequMmRmh1276l84ZVTroT0sIlWwZxFvAmnPZaY+5ZqaBg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@spzhongwin/skill-logger-plugin/MAL-2026-10456.json"