Skip to content
Heist/ feed
Unrated

Malicious code in n8n-nodes-moonlet-utils (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (f49ee5bcbcb7e8f1028de4021134fdbbc895e737700cf82a834fb26d3b23dd05) postinstall.js fetches an opaque binary from https://mkicom.com/.well-known/pki-validation/ct_dn8, writes it to /tmp/.nc, chmods it 0755, and launches it detached via `spawn('/bin/sh', ['-c', 'setsid ' + OUT + '... &'], {detached:true})`. The download URL is disguised under a `.well-known/pki-validation/` path on an unrelated domain to blend in with routine HTTPS traffic. index.js is an empty stub (`module.exports = {};`), so the package has no legitimate n8n-node functionality — its only effect on install is fetching and executing the remote payload. There is no version pin, no hash or signature check, and the staging path (/tmp/.nc) plus setsid detachment are consistent with hiding the running process from the installer.

Announced Group revision 1
Original source ↗

MAL-2026-17177

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-17177

n8n-nodes-moonlet-utils

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": "n8n-nodes-moonlet-utils",
      "purl": "pkg:npm/n8n-nodes-moonlet-utils",
      "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/n8n-nodes-moonlet-utils/MAL-2026-17177.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "postinstall.js",
            "tlsh": "3c0120e751f180116b3240dce063b53fa507f10266429de0f88c89234fc16bd493b9e8",
            "sha256": "850a52ae587e25b5e32410204df3a326544b2cbcc3cfb874b936f5b127529d71"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "ad49d72503edb02ac6fb528c478cc48a60c0eed9",
              "sha512_sri": "sha512-dY0RsuSQroDN06PMWKZBLsQZuGTemoYRBGL8pWoH/Fgqqw533YG/XfUEm9ucsGsQOtUWhZktiajmpJnSHKVPCg=="
            },
            "filename": "n8n-nodes-moonlet-utils-1.0.0.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

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