mal-2026-6209
Vulnerability from ossf_malicious_packages
Published
2026-06-19 15:02
Modified
2026-07-03 16:47
Summary
Malicious code in @antoncarlos1/nodelamp (npm)
Details

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

Source: amazon-inspector (d930df8b6392b3bbfe3b591d90226374d31fb246e06018521f3f673a815b618a)

@antoncarlos1/nodelamp@1.0.1 ships a single obfuscated index.js that runs a dropper on require(). The top-level IIFE constructs a hardcoded IPv4 URL by concatenating four numeric literals with '.', issues an HTTPS GET to that bare-IP host, writes the response body to a file under os.tmpdir() with flag 'w+', and immediately spawns it with cwd=os.tmpdir() and windowsHide:true. The module is encoded with obfuscator.io (224-entry RC4 string array, two decoder functions, shuffled control flow) — the only purpose of which is to hide the destination address and the exec edge from reviewers. The package metadata advertises only 'manage the node' with no functionality justifying any network fetch or binary execution, and the package scope (@antoncarlos1) does not match the linked repository owner (guilderguzman). The fetched bytes are unpinned, unverified, and attacker-controlled; any consumer that requires this package (directly or transitively) executes them with the installer's privileges.

Source: ghsa-malware (89db8d7da6352641119e0a7d055b53085d0009dae70f854c0aaaad58a78c9f48)

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": "98f5263592b83ce13206f734071d6912bb9a316efa1966b63dd4e3473e324e15",
              "tlsh": "9082b5cc37d1b0602633e17f6e1ba096f1aa5c99a29dc844f386f498fc68314d1f9b58"
            },
            {
              "path": "package.json",
              "sha256": "087e8c15e01c0a046215b7a15bfd7319ed223856aee869e618a2eadaf0e88b2a",
              "tlsh": "aaf0463995b208af0ed527a18829284a72e3891b9c483c4923e7055c8acf4f322fd22d"
            }
          ],
          "package_integrity": [
            {
              "filename": "nodelamp-1.0.1.tgz",
              "hashes": {
                "sha1": "74beab45e57a3eeada7776d2f9d0db15b2a213fb",
                "sha512_sri": "sha512-JWtmSTGq54BiCmcdXGU6w2NxjgjJ+Y5rc6AUJ2YfdVmDCwAXnJha2yCi/l0sNn1NhibrQ2n0mwBsSRyS/63c0A=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "@antoncarlos1/nodelamp"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "1.0.1"
      ]
    }
  ],
  "aliases": [
    "GHSA-c3r7-wcqm-j4v8"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-007074",
        "import_time": "2026-06-19T15:41:55.390808985Z",
        "modified_time": "2026-06-19T15:02:53Z",
        "sha256": "d930df8b6392b3bbfe3b591d90226374d31fb246e06018521f3f673a815b618a",
        "source": "amazon-inspector",
        "versions": [
          "1.0.1"
        ]
      },
      {
        "id": "GHSA-c3r7-wcqm-j4v8",
        "import_time": "2026-07-03T16:45:59.764213822Z",
        "modified_time": "2026-07-03T15:59:09Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "89db8d7da6352641119e0a7d055b53085d0009dae70f854c0aaaad58a78c9f48",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d930df8b6392b3bbfe3b591d90226374d31fb246e06018521f3f673a815b618a)\n@antoncarlos1/nodelamp@1.0.1 ships a single obfuscated index.js that runs a dropper on require(). The top-level IIFE constructs a hardcoded IPv4 URL by concatenating four numeric literals with \u0027.\u0027, issues an HTTPS GET to that bare-IP host, writes the response body to a file under os.tmpdir() with flag \u0027w+\u0027, and immediately spawns it with cwd=os.tmpdir() and windowsHide:true. The module is encoded with obfuscator.io (224-entry RC4 string array, two decoder functions, shuffled control flow) \u2014 the only purpose of which is to hide the destination address and the exec edge from reviewers. The package metadata advertises only \u0027manage the node\u0027 with no functionality justifying any network fetch or binary execution, and the package scope (@antoncarlos1) does not match the linked repository owner (guilderguzman). The fetched bytes are unpinned, unverified, and attacker-controlled; any consumer that requires this package (directly or transitively) executes them with the installer\u0027s privileges.\n\n## Source: ghsa-malware (89db8d7da6352641119e0a7d055b53085d0009dae70f854c0aaaad58a78c9f48)\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-6209",
  "modified": "2026-07-03T16:47:38Z",
  "published": "2026-06-19T15:02:53Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@antoncarlos1/nodelamp/v/1.0.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-c3r7-wcqm-j4v8"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in @antoncarlos1/nodelamp (npm)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…