Skip to content
Heist/ feed
Unrated

Malicious code in cma-self-hosted-sandbox-cf (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d91a7568b717361d5b3727d46e8bf567fc038f95c5fa22c5222a272460bb9f35) package.json declares a preinstall hook that runs index.js on npm install. index.js collects the machine's hostname, current user info, home directory, configured DNS servers, and the contents of /etc/passwd and /etc/hosts, then HTTPS POSTs the JSON payload to the hardcoded Burp Collaborator subdomain 49bl3t5yt786ymbtth24nnlbs2ytmka9.oastify.com. The behavior fires automatically on install with no user interaction, the destination is an attacker-controlled out-of-band interaction host unrelated to any legitimate package function, and the collected data comprises installer-side system identifiers and local account/host files. This is a dependency-confusion/recon exfiltration payload with no other functionality present in the package.

Announced Source revision 1
Original source ↗

MAL-2026-17190

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-17190

cma-self-hosted-sandbox-cf

Source reference: /affected/0/package/name

Affected versions
1.0.0

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "package": {
      "name": "cma-self-hosted-sandbox-cf",
      "purl": "pkg:npm/cma-self-hosted-sandbox-cf",
      "ecosystem": "npm"
    },
    "versions": [
      "1.0.0"
    ],
    "database_specific": {
      "cwes": [
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        }
      ],
      "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cma-self-hosted-sandbox-cf/MAL-2026-17190.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "bb41259562c917330de214c0660c70852399f9777259a9d076cf4296af869f8bb316f3",
            "sha256": "fa43f4bd7d96ea8586808a750372d218b48a3a0bf0943f1310cf296b77e52305"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "83157fa69aa97b8d23922b3c72d352429c142f10",
              "sha512_sri": "sha512-qRbU3aMPgajHHxrME++GmSoMK2L8vXsmvNTve0OHPFOLT9dKoIZoNT22w6Q2W/jAJwG5IgCzGO61AxTzXzkaQg=="
            },
            "filename": "cma-self-hosted-sandbox-cf-1.0.0.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#18970 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement