mal-2026-10488
Vulnerability from ossf_malicious_packages
Published
2026-07-13 20:49
Modified
2026-07-27 09:45
Summary
Malicious code in permcarmserver (npm)
Details

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

Source: amazon-inspector (4e70168ba32f543c08a0c98b81e648d09e9793bcc533a34c2f0ce9ca7a14536e)

On require, index.js spawns a worker that uses koffi FFI to load a file named index.html and invoke its exported vserver_start(). Despite the extension, index.html is an aarch64 Linux ELF shared library built from vless_ws.c; it implements a VLESS-over-WebSocket proxy with a hardcoded client UUID 4916e0f5-8abc-4ad4-ba5d-158582c60d85, accepts WebSocket upgrades, and relays arbitrary attacker-directed TCP CONNECT traffic through the installing host. The ELF returns a decoy ':: SYSTEM ONLINE:: MINECRAFT SERVER' HTML page to casual HTTP probes as a cover story. One second after the worker signals 'started', index.js recursively deletes the installed package directory with fs.rmSync(pkgDir, { recursive: true, force: true }), while the loaded native library keeps running in memory. The combination of native ELF masquerading as HTML, FFI load on require, hardcoded VLESS identity, TCP relay capability, and post-activation self-deletion converts the installing host into a covert attacker-controlled proxy relay.

Source: ghsa-malware (eb118ea65e8282507841d64134b4523588457ac3bd3ba4b6d3e36f97fe24bd99)

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.
Credits

{
  "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"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "index.js",
              "sha256": "5c0f21dd906e55d1f3ac86cc6ccf40736a8531397c4b19252b1fbb1222008aea",
              "tlsh": "3311fd468ff21625a173b5a19bbb8602242fd0132258af40b7cd53422fe269865236e8"
            },
            {
              "path": "index.html",
              "sha256": "919b38f29ec1081052da4774302adcc2f69ca9a1e4ad34ad29cf287c03362d68",
              "tlsh": "40e20739e57ccf17d08a8b3482a7db6963224964db164ba3b22583cd2fd73dc6d72580"
            }
          ],
          "package_integrity": [
            {
              "filename": "permcarmserver-1.0.0.tgz",
              "hashes": {
                "sha1": "38153dde696c0b1da2aea7a48f3fb1e70feef9f1",
                "sha512_sri": "sha512-DZDnMcvBd6MK5aXEQ99H5TTI/jZpdqYypvaTvbcnGX43d++2NtkZe8oxdXrZ1MjPV47XcxNarY4TbgxtasKHBQ=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "permcarmserver"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "1.0.0"
      ]
    }
  ],
  "aliases": [
    "GHSA-9499-pgrg-v7w7"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-010310",
        "import_time": "2026-07-13T20:53:58.771916779Z",
        "modified_time": "2026-07-13T20:49:56Z",
        "sha256": "4e70168ba32f543c08a0c98b81e648d09e9793bcc533a34c2f0ce9ca7a14536e",
        "source": "amazon-inspector",
        "versions": [
          "1.0.0"
        ]
      },
      {
        "id": "GHSA-9499-pgrg-v7w7",
        "import_time": "2026-07-27T09:43:03.780373342Z",
        "modified_time": "2026-07-27T01:16:03Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "eb118ea65e8282507841d64134b4523588457ac3bd3ba4b6d3e36f97fe24bd99",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4e70168ba32f543c08a0c98b81e648d09e9793bcc533a34c2f0ce9ca7a14536e)\nOn require, index.js spawns a worker that uses koffi FFI to load a file named index.html and invoke its exported vserver_start(). Despite the extension, index.html is an aarch64 Linux ELF shared library built from vless_ws.c; it implements a VLESS-over-WebSocket proxy with a hardcoded client UUID 4916e0f5-8abc-4ad4-ba5d-158582c60d85, accepts WebSocket upgrades, and relays arbitrary attacker-directed TCP CONNECT traffic through the installing host. The ELF returns a decoy \u0027:: SYSTEM ONLINE:: MINECRAFT SERVER\u0027 HTML page to casual HTTP probes as a cover story. One second after the worker signals \u0027started\u0027, index.js recursively deletes the installed package directory with fs.rmSync(pkgDir, { recursive: true, force: true }), while the loaded native library keeps running in memory. The combination of native ELF masquerading as HTML, FFI load on require, hardcoded VLESS identity, TCP relay capability, and post-activation self-deletion converts the installing host into a covert attacker-controlled proxy relay.\n\n## Source: ghsa-malware (eb118ea65e8282507841d64134b4523588457ac3bd3ba4b6d3e36f97fe24bd99)\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-10488",
  "modified": "2026-07-27T09:45:42Z",
  "published": "2026-07-13T20:49:56Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/permcarmserver/v/1.0.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-9499-pgrg-v7w7"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in permcarmserver (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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…