mal-2026-13493
Vulnerability from ossf_malicious_packages
Published
2026-08-07 00:06
Modified
2026-08-07 12:25
Summary
Malicious code in velabuild (npm)
Details

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

Source: amazon-inspector (fa899acd5a63682964770cb32c4f0707008c9f3894ca6f5cacd222de74f03cea)

cli.js embeds a base64-encoded RSA private key in CONFIG.encodedSSHKey, decodes it to a temp file with mode 0o600, and uses it to ssh -o StrictHostKeyChecking=no -i <key> ubuntu@79.72.65.161 to invoke bash scripts under /home/ubuntu/signing-server for the CLI's signup/login/deploy subcommands. The private key is shipped identically to every installer of the package, so anyone who downloads the tarball obtains valid SSH credentials to the author's server. Installing or requiring the package does not read installer-side secrets, does not fetch or execute attacker-controlled code on the installer, and does not modify the installer's filesystem outside the package's own temp key file. A secondary observation: the rx signup / rx login subcommands pass user-supplied username and password as shell arguments to auth.sh over the shared SSH tunnel, but this only fires when the user explicitly invokes those subcommands and matches the package's documented auth backend.

Source: ghsa-malware (3c64dbb041d6e5afb6472e08a1c6a3d31b123bdbb00d99bc8452e826848d4666)

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.
  • 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"
          },
          {
            "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": "cli.js",
              "sha256": "f3bc5c57f00ea282dab3d588050612297e116c2b2385a5e7d9cd1dc8026afd09",
              "tlsh": "fae2a6aec0bb95354473a5790b1b0106716f92436154e9b0bfdc87483f8ab6c867b2fb"
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "velabuild"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "2.1.1",
        "1.0.1",
        "2.0.0",
        "1.0.0",
        "1.0.3",
        "1.0.2",
        "2.2.0",
        "2.1.0"
      ]
    }
  ],
  "aliases": [
    "GHSA-q7w3-723m-252j"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "GHSA-q7w3-723m-252j",
        "import_time": "2026-08-07T09:36:51.426012781Z",
        "modified_time": "2026-08-07T00:06:24Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "3c64dbb041d6e5afb6472e08a1c6a3d31b123bdbb00d99bc8452e826848d4666",
        "source": "ghsa-malware"
      },
      {
        "id": "IN-MAL-2026-016944",
        "import_time": "2026-08-07T12:23:28.01512271Z",
        "modified_time": "2026-08-07T12:21:07Z",
        "sha256": "98fe84093fe95880da4ae9ca01c57a0699d386ab9ec88a2ffc49087c0aa0962e",
        "source": "amazon-inspector",
        "versions": [
          "2.1.1"
        ]
      },
      {
        "id": "IN-MAL-2026-016926",
        "import_time": "2026-08-07T12:23:27.38048833Z",
        "modified_time": "2026-08-07T12:18:37Z",
        "sha256": "d132ae0237adafa2d5cb86f9a655ff39d8a39f48197398488eab108aedfd0a63",
        "source": "amazon-inspector",
        "versions": [
          "1.0.1"
        ]
      },
      {
        "id": "IN-MAL-2026-016939",
        "import_time": "2026-08-07T12:23:27.848711341Z",
        "modified_time": "2026-08-07T12:20:25Z",
        "sha256": "d70ad2e57728695ecc3a9aac7bbca96f6ed29ad959506fd9496ce14a01d8987a",
        "source": "amazon-inspector",
        "versions": [
          "2.0.0"
        ]
      },
      {
        "id": "IN-MAL-2026-016919",
        "import_time": "2026-08-07T12:23:27.142072728Z",
        "modified_time": "2026-08-07T12:17:40Z",
        "sha256": "fa899acd5a63682964770cb32c4f0707008c9f3894ca6f5cacd222de74f03cea",
        "source": "amazon-inspector",
        "versions": [
          "1.0.0"
        ]
      },
      {
        "id": "IN-MAL-2026-016918",
        "import_time": "2026-08-07T12:23:27.111284414Z",
        "modified_time": "2026-08-07T12:17:29Z",
        "sha256": "22bea93570e98eb6d5620f922ff0cc4ed8b3eb7fb60a5f04e0650a9d7ad2a998",
        "source": "amazon-inspector",
        "versions": [
          "1.0.3"
        ]
      },
      {
        "id": "IN-MAL-2026-016925",
        "import_time": "2026-08-07T12:23:27.348590609Z",
        "modified_time": "2026-08-07T12:18:30Z",
        "sha256": "240c063652beb3e0075fb5ce15e2b313e9ab28e6ed7b05837e146a836f82a801",
        "source": "amazon-inspector",
        "versions": [
          "1.0.2"
        ]
      },
      {
        "id": "IN-MAL-2026-016913",
        "import_time": "2026-08-07T12:23:26.941211403Z",
        "modified_time": "2026-08-07T12:16:49Z",
        "sha256": "56b7392f358809c6a8ccc6a7a39631fe4c1fa37a71ce6367864503c7c94cc46a",
        "source": "amazon-inspector",
        "versions": [
          "2.2.0"
        ]
      },
      {
        "id": "IN-MAL-2026-016938",
        "import_time": "2026-08-07T12:23:27.81683547Z",
        "modified_time": "2026-08-07T12:20:17Z",
        "sha256": "977d0b7b04141a5e78e55861724588eacf3e88db6f87a5df6b1b94f8e35d4c61",
        "source": "amazon-inspector",
        "versions": [
          "2.1.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fa899acd5a63682964770cb32c4f0707008c9f3894ca6f5cacd222de74f03cea)\ncli.js embeds a base64-encoded RSA private key in CONFIG.encodedSSHKey, decodes it to a temp file with mode 0o600, and uses it to `ssh -o StrictHostKeyChecking=no -i \u003ckey\u003e ubuntu@79.72.65.161` to invoke bash scripts under /home/ubuntu/signing-server for the CLI\u0027s signup/login/deploy subcommands. The private key is shipped identically to every installer of the package, so anyone who downloads the tarball obtains valid SSH credentials to the author\u0027s server. Installing or requiring the package does not read installer-side secrets, does not fetch or execute attacker-controlled code on the installer, and does not modify the installer\u0027s filesystem outside the package\u0027s own temp key file. A secondary observation: the `rx signup` / `rx login` subcommands pass user-supplied username and password as shell arguments to auth.sh over the shared SSH tunnel, but this only fires when the user explicitly invokes those subcommands and matches the package\u0027s documented auth backend.\n\n## Source: ghsa-malware (3c64dbb041d6e5afb6472e08a1c6a3d31b123bdbb00d99bc8452e826848d4666)\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-13493",
  "modified": "2026-08-07T12:25:22.460916218Z",
  "published": "2026-08-07T00:06:23Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-q7w3-723m-252j"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/velabuild/v/2.1.1"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/velabuild/v/1.0.1"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/velabuild/v/2.0.0"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/velabuild/v/1.0.0"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/velabuild/v/1.0.3"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/velabuild/v/1.0.2"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/velabuild/v/2.2.0"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/velabuild/v/2.1.0"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in velabuild (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…