MAL-2026-17626
Vulnerability from ossf_malicious_packages
Published
2026-10-05 17:31
Modified
2026-10-06 04:24
Summary
Malicious code in serpacksven1 (npm)
Details

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

Source: amazon-inspector (20d4a6a2715973b427bb0aa2b7a493ca711b7f16b5f47f90062edf790e0186a6)

The tarball ships no JavaScript — the declared main: index.js is absent — and contains only 10 byte-identical copies of a PowerShell dropper under misleading extensions (1.png, client.doc, client.doc.1, json.txt, extensionless client, all sha256 e9dff494...). The script hides the console window via Win32 APIs, concatenates ~150 base64 chunks, XOR-decodes them with single-byte key 89, reflectively resolves [System.Reflection.Assembly].Load through char-code-obfuscated type strings, and invokes the decoded in-memory.NET assembly. The package has no lifecycle scripts and no importable surface, so npm install alone does not execute the payload; the harm fires when a second-stage tool or downstream workflow sources any of the disguised files (e.g. powershell -File client.doc), delivering full-host code execution of an attacker-controlled.NET assembly on Windows. The multi-extension disguise, byte-identical duplication, and absence of any legitimate package content show this is a payload-staging artifact published to npm rather than a software package.

Source: ghsa-malware (d0730e12f59904bd205a2a840fce1dbab41414538d235ea91ddb3a23cc2a0b8f)

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.

{
  "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": "1.png",
              "sha256": "e9dff49447937f8225a73dc235e067de051240d89523b6846813f7a2cd21a8fa",
              "tlsh": "74a2af3c916097feec69e74549a3940a65257cf2c4a42c072f1ace6f54a7ec4ecbc18b"
            },
            {
              "path": "package.json",
              "sha256": "868ed4eddc1f3785ee6f0140730ae218168b81f2e427fadb7e2167aba1896e58",
              "tlsh": "2dd02e288aa2443300c006330d1a91526220ee2f00043c0c37cf241c83dfab26cfa21c"
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "serpacksven1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "1.0.6"
      ]
    }
  ],
  "aliases": [
    "GHSA-696v-rr55-26pc"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "GHSA-696v-rr55-26pc",
        "import_time": "2026-10-05T18:34:10.826994425Z",
        "modified_time": "2026-10-05T17:31:01Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "d0730e12f59904bd205a2a840fce1dbab41414538d235ea91ddb3a23cc2a0b8f",
        "source": "ghsa-malware"
      },
      {
        "id": "IN-MAL-2026-021093",
        "import_time": "2026-10-06T04:22:56.556963784Z",
        "modified_time": "2026-10-06T03:57:49Z",
        "sha256": "20d4a6a2715973b427bb0aa2b7a493ca711b7f16b5f47f90062edf790e0186a6",
        "source": "amazon-inspector",
        "versions": [
          "1.0.6"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (20d4a6a2715973b427bb0aa2b7a493ca711b7f16b5f47f90062edf790e0186a6)\nThe tarball ships no JavaScript \u2014 the declared `main: index.js` is absent \u2014 and contains only 10 byte-identical copies of a PowerShell dropper under misleading extensions (`1.png`, `client.doc`, `client.doc.1`, `json.txt`, extensionless `client`, all sha256 e9dff494...). The script hides the console window via Win32 APIs, concatenates ~150 base64 chunks, XOR-decodes them with single-byte key 89, reflectively resolves `[System.Reflection.Assembly].Load` through char-code-obfuscated type strings, and invokes the decoded in-memory.NET assembly. The package has no lifecycle scripts and no importable surface, so `npm install` alone does not execute the payload; the harm fires when a second-stage tool or downstream workflow sources any of the disguised files (e.g. `powershell -File client.doc`), delivering full-host code execution of an attacker-controlled.NET assembly on Windows. The multi-extension disguise, byte-identical duplication, and absence of any legitimate package content show this is a payload-staging artifact published to npm rather than a software package.\n\n## Source: ghsa-malware (d0730e12f59904bd205a2a840fce1dbab41414538d235ea91ddb3a23cc2a0b8f)\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-17626",
  "modified": "2026-10-06T04:24:49.299787678Z",
  "published": "2026-10-05T17:31:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-696v-rr55-26pc"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/serpacksven1/v/1.0.6"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in serpacksven1 (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…