MAL-2026-16476
Vulnerability from ossf_malicious_packages
Published
2026-09-23 00:00
Modified
2026-09-23 22:48
Summary
Malicious code in @memtensor/memos-cloud-openclaw-plugin (npm)
Details

On September 23, 2026, an attacker published malicious versions of two MemTensor packages. The affected packages are the OpenClaw plugin @memtensor/memos-cloud-openclaw-plugin on npm and the MemOS Python library MemoryOS on PyPI. Both versions contain the same Go implant, sckit. The binary runs in the background each time the package loads. It collects credentials from the home directory and sends them to servers under skyleen[.]fr. It also includes the code it needs to copy itself into other repositories and packages that the stolen credentials can reach.

Credential collection: the implant's credentialPaths, readCredentialFile and extractJSONCredentials functions target .npmrc, .pypirc, .git-credentials, .netrc, id_rsa, id_ecdsa, id_ed25519, .vault-token, msal_token_cache, access_tokens.json and access_tokens.db. Two regular expressions pick out secrets: one matches secret-like variable names (token, secret, password, api_key, database_url), the other matches known token formats.

C2 protocol: the internal/wire package uses CBOR, X25519 key exchange and XChaCha20-Poly1305 (sckit/xchacha/v1), and handles signed leases, manifests and modules. The server delivers the modules at run time, so their contents were not observed. scheduleSelfDelete and deleteExecutable remove the binary after it runs.

C2 paths: /<24 hex>/config (control), /status (preflight), /batch (results).

Package archive SHA-256 digests: - memos-cloud-openclaw-plugin-0.1.21.tgz: 995a208944176c437a023f4a5c11baad2eb77a91847893c82e5866eaabedb810 - memos-cloud-openclaw-plugin-0.1.23.tgz: 6caf89b059e9b6c82bb4ac4727816d516753c4d26833434dea0ecda44a346eb3 - memos-cloud-openclaw-plugin-0.1.25.tgz: a6870826cd7c7ec8d32af227252efcdcdca03ac956d4702cdc2157ca82641673


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

Source: amazon-inspector (1c533046b0b10308e2664ad7b6322eca047056161df3a4977972ccb1ffe3e349)

The npm package advertises itself as a memory plugin but bundles a Go-compiled binary at.sckit//sckit for six OS/arch targets whose build path is 'supplychain.local/campaign/cmd/implant'. index.js imports lib/sckit.js, whose launchStageZero() detach-spawns the bundled binary as 'stage0 --config64 ' with stdio ignored and unref()'d, so simply loading the plugin runs the implant in the background. The base64 CONFIG constant in lib/sckit.js decodes to a runtime configuration naming campaign_id 'cloud-openclaw-semi-nuclear', inventory_roots ['$HOME'], state_dir '$HOME/.openclaw/.cache/runtime', and three control/preflight/result fronts at 8a8acaf167b3.skyleen.fr, 0b48fafd6fbe.skyleen.fr, and 266297c6df27.skyleen.fr with UUID-shaped /config, /status, /batch paths — destinations that are not present in cleartext anywhere in the JavaScript source. The configuration's 'channel' field is 'exact-ref-one-use-NPM_TOKEN,@memtensor/memos-cloud-openclaw-plugin', and a companion collectStageZero() invokes the same binary synchronously with '--require-credential-receipt', targeting the installer's npm publishing token as it appears in ~/.npmrc or in CI environment variables. The combination of a bundled native implant auto-executed on plugin load, obfuscated hardcoded C2 fronts, whole-$HOME inventory, and explicit NPM_TOKEN capture is credential theft and host exfiltration against the installer, not the plugin functionality the package name advertises. Binary strings such as 'supplychain.local/campaign' and the 'semi-nuclear' profile label suggest a red-team or research framing, but the published artifact acts on installers of a memory plugin rather than on an operator-chosen target, so the offensive-tool framing does not apply.

Source: ghsa-malware (392fa28fd3caee9373f574a4e84e36f01d87d366eeb463993b189b95416cec62)

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.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.

{
  "affected": [
    {
      "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"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "lib/sckit.js",
              "sha256": "d9a0eac2487bbfeb09fc34a95e93bfb2045e65bc069fc3054acfa326996b995a",
              "tlsh": "0f51d9d6b6893a5cc5756035260975e903ead0c03369c614c67e4ed637ad8afc08249f"
            },
            {
              "path": ".sckit/darwin-amd64/sckit",
              "sha256": "65faf8ccbcf5b34eb4f72c71bf82815fa9c1e2f947b9c898491540e866132c31",
              "tlsh": "52765a17eca558a5c0aec1318ab691537f31bc891b3167d32b90f6283f73bd4a9b9704"
            }
          ],
          "package_integrity": [
            {
              "filename": "memos-cloud-openclaw-plugin-0.1.21.tgz",
              "hashes": {
                "sha1": "014a545c0d325208d8bed0e8dab31af921e3a9c2",
                "sha512_sri": "sha512-Qe/ms+5Zu/D03n5Dpfw0gbD+zsq1smCTFL58sLJmjq1LlMLsrQhk94q+HbVqmbL0J4uwopvvCkzJTQNf4K1kKg=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "@memtensor/memos-cloud-openclaw-plugin"
      },
      "versions": [
        "0.1.25",
        "0.1.23",
        "0.1.21"
      ]
    }
  ],
  "aliases": [
    "GHSA-mhjf-v53x-7p87"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    },
    {
      "contact": [
        "https://safedep.io"
      ],
      "name": "SafeDep",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "skyleen.fr",
        "8a8acaf167b3.skyleen.fr",
        "0b48fafd6fbe.skyleen.fr",
        "266297c6df27.skyleen.fr"
      ],
      "files": [
        {
          "note": "JavaScript loader that starts the bundled sckit implant.",
          "paths": [
            "lib/sckit.js"
          ],
          "source": "PACKAGE_ARCHIVE"
        },
        {
          "digests": {
            "sha256": "381ac6dc1715d9298fe81b2a53a11f7b7d78e361ee3a6619ad54f8c4b062cc18"
          },
          "note": "sckit Go implant, linux-amd64 build.",
          "paths": [
            ".sckit/linux-amd64/sckit"
          ],
          "source": "PACKAGE_ARCHIVE"
        },
        {
          "digests": {
            "sha256": "e077c387b223811064b7bbc5a55a0182fca9bf50894f949ff284d4be87d44b26"
          },
          "note": "sckit Go implant, linux-arm64 build.",
          "paths": [
            ".sckit/linux-arm64/sckit"
          ],
          "source": "PACKAGE_ARCHIVE"
        },
        {
          "digests": {
            "sha256": "65faf8ccbcf5b34eb4f72c71bf82815fa9c1e2f947b9c898491540e866132c31"
          },
          "note": "sckit Go implant, darwin-amd64 build.",
          "paths": [
            ".sckit/darwin-amd64/sckit"
          ],
          "source": "PACKAGE_ARCHIVE"
        },
        {
          "digests": {
            "sha256": "f8ccdd1da7dff1aef16377a2842bc7acf7c516e32122dd6e42dc4a4e57653fce"
          },
          "note": "sckit Go implant, darwin-arm64 build.",
          "paths": [
            ".sckit/darwin-arm64/sckit"
          ],
          "source": "PACKAGE_ARCHIVE"
        },
        {
          "digests": {
            "sha256": "56cd3416d2ec2aa7e7cec2a06010cf0b58eb09c0a5486809df52afeaca8f14be"
          },
          "note": "sckit Go implant, windows-amd64 build.",
          "paths": [
            ".sckit/windows-amd64/sckit.exe"
          ],
          "source": "PACKAGE_ARCHIVE"
        },
        {
          "digests": {
            "sha256": "d6b3e77c36ee8017c9bf30d1da7218ec0ea843768d313eb8e35845c8a9b38a26"
          },
          "note": "sckit Go implant, windows-arm64 build.",
          "paths": [
            ".sckit/windows-arm64/sckit.exe"
          ],
          "source": "PACKAGE_ARCHIVE"
        },
        {
          "note": "Implant state directory.",
          "paths": [
            "$HOME/.openclaw/.cache/runtime"
          ],
          "source": "DROPPED"
        },
        {
          "note": "GitHub Actions workflow written by the worm for persistence; runs \u0027sckit stage0\u0027.",
          "paths": [
            "runtime-update.yml"
          ],
          "source": "DROPPED"
        },
        {
          "note": "CI tampering scripts; the implant also writes BASH_ENV= to $GITHUB_ENV.",
          "paths": [
            "sckit_poetry_build.py",
            "_pypi_bridge.sh",
            "sckit-publish-bridge.sh"
          ],
          "source": "DROPPED"
        }
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "GHSA-mhjf-v53x-7p87",
        "import_time": "2026-09-23T12:36:37.585871461Z",
        "modified_time": "2026-09-23T11:54:57Z",
        "sha256": "392fa28fd3caee9373f574a4e84e36f01d87d366eeb463993b189b95416cec62",
        "source": "ghsa-malware",
        "versions": [
          "0.1.25",
          "0.1.23",
          "0.1.21"
        ]
      },
      {
        "id": "IN-MAL-2026-020489",
        "import_time": "2026-09-23T14:19:31.815520026Z",
        "modified_time": "2026-09-23T14:10:02Z",
        "sha256": "1c533046b0b10308e2664ad7b6322eca047056161df3a4977972ccb1ffe3e349",
        "source": "amazon-inspector",
        "versions": [
          "0.1.21"
        ]
      },
      {
        "id": "IN-MAL-2026-020487",
        "import_time": "2026-09-23T14:19:31.718216892Z",
        "modified_time": "2026-09-23T14:09:43Z",
        "sha256": "b4ef709ed47c3b300afd873971841152d3cb44147003df0d5833345d911582cb",
        "source": "amazon-inspector",
        "versions": [
          "0.1.25"
        ]
      },
      {
        "id": "IN-MAL-2026-020488",
        "import_time": "2026-09-23T14:19:31.79073244Z",
        "modified_time": "2026-09-23T14:09:54Z",
        "sha256": "f867f0bafb2f347bab89385b0f72fc05881673bca7eb1e8e735771d5352dba20",
        "source": "amazon-inspector",
        "versions": [
          "0.1.23"
        ]
      }
    ]
  },
  "details": "On September 23, 2026, an attacker published malicious versions of two MemTensor packages. The affected packages are the OpenClaw plugin @memtensor/memos-cloud-openclaw-plugin on npm and the MemOS Python library MemoryOS on PyPI. Both versions contain the same Go implant, sckit. The binary runs in the background each time the package loads. It collects credentials from the home directory and sends them to servers under skyleen[.]fr. It also includes the code it needs to copy itself into other repositories and packages that the stolen credentials can reach.\n\nCredential collection: the implant\u0027s `credentialPaths`, `readCredentialFile` and `extractJSONCredentials` functions target `.npmrc`, `.pypirc`, `.git-credentials`, `.netrc`, `id_rsa`, `id_ecdsa`, `id_ed25519`, `.vault-token`, `msal_token_cache`, `access_tokens.json` and `access_tokens.db`. Two regular expressions pick out secrets: one matches secret-like variable names (`token`, `secret`, `password`, `api_key`, `database_url`), the other matches known token formats.\n\nC2 protocol: the `internal/wire` package uses CBOR, X25519 key exchange and XChaCha20-Poly1305 (`sckit/xchacha/v1`), and handles signed leases, manifests and modules. The server delivers the modules at run time, so their contents were not observed. `scheduleSelfDelete` and `deleteExecutable` remove the binary after it runs.\n\nC2 paths: `/\u003c24 hex\u003e/config` (control), `/status` (preflight), `/batch` (results).\n\nPackage archive SHA-256 digests:\n- memos-cloud-openclaw-plugin-0.1.21.tgz: 995a208944176c437a023f4a5c11baad2eb77a91847893c82e5866eaabedb810\n- memos-cloud-openclaw-plugin-0.1.23.tgz: 6caf89b059e9b6c82bb4ac4727816d516753c4d26833434dea0ecda44a346eb3\n- memos-cloud-openclaw-plugin-0.1.25.tgz: a6870826cd7c7ec8d32af227252efcdcdca03ac956d4702cdc2157ca82641673\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1c533046b0b10308e2664ad7b6322eca047056161df3a4977972ccb1ffe3e349)\nThe npm package advertises itself as a memory plugin but bundles a Go-compiled binary at.sckit/\u003cplatform\u003e/sckit for six OS/arch targets whose build path is \u0027supplychain.local/campaign/cmd/implant\u0027. index.js imports lib/sckit.js, whose launchStageZero() detach-spawns the bundled binary as \u0027stage0 --config64 \u003cb64\u003e\u0027 with stdio ignored and unref()\u0027d, so simply loading the plugin runs the implant in the background. The base64 CONFIG constant in lib/sckit.js decodes to a runtime configuration naming campaign_id \u0027cloud-openclaw-semi-nuclear\u0027, inventory_roots [\u0027$HOME\u0027], state_dir \u0027$HOME/.openclaw/.cache/runtime\u0027, and three control/preflight/result fronts at 8a8acaf167b3.skyleen.fr, 0b48fafd6fbe.skyleen.fr, and 266297c6df27.skyleen.fr with UUID-shaped /config, /status, /batch paths \u2014 destinations that are not present in cleartext anywhere in the JavaScript source. The configuration\u0027s \u0027channel\u0027 field is \u0027exact-ref-one-use-NPM_TOKEN,@memtensor/memos-cloud-openclaw-plugin\u0027, and a companion collectStageZero() invokes the same binary synchronously with \u0027--require-credential-receipt\u0027, targeting the installer\u0027s npm publishing token as it appears in ~/.npmrc or in CI environment variables. The combination of a bundled native implant auto-executed on plugin load, obfuscated hardcoded C2 fronts, whole-$HOME inventory, and explicit NPM_TOKEN capture is credential theft and host exfiltration against the installer, not the plugin functionality the package name advertises. Binary strings such as \u0027supplychain.local/campaign\u0027 and the \u0027semi-nuclear\u0027 profile label suggest a red-team or research framing, but the published artifact acts on installers of a memory plugin rather than on an operator-chosen target, so the offensive-tool framing does not apply.\n\n## Source: ghsa-malware (392fa28fd3caee9373f574a4e84e36f01d87d366eeb463993b189b95416cec62)\nAny 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.\n",
  "id": "MAL-2026-16476",
  "modified": "2026-09-23T22:48:11.203423144Z",
  "published": "2026-09-23T00:00:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-mhjf-v53x-7p87"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@memtensor/memos-cloud-openclaw-plugin/v/0.1.21"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@memtensor/memos-cloud-openclaw-plugin/v/0.1.25"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@memtensor/memos-cloud-openclaw-plugin/v/0.1.23"
    },
    {
      "type": "REPORT",
      "url": "https://safedep.io/memtensor-sckit-worm-npm-pypi/"
    },
    {
      "type": "WEB",
      "url": "https://github.com/MemTensor/MemOS-Cloud-OpenClaw-Plugin/issues/173"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in @memtensor/memos-cloud-openclaw-plugin (npm)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…