critical

CVE

Not assigned

CWE

CWE-506

Affected Surface

  • The npm package `process-lhpm` version `1.1.79`
  • Node.js applications, CLIs, or build tooling that imported `process-lhpm` before it was unpublished on `2026-09-15`
  • Developer workstations, CI runners, and long-lived services that could cache the tarball during the package's publication window
  • Hosts where a detached child process could keep running after the parent Node.js process exited

process-lhpm@1.1.79 is a good reminder that a short publication window is not the same thing as a harmless one. The package existed on npm for roughly fifteen and a half hours on 15 September 2026. That was still long enough for CI rebuilds, developer installs, dependency mirrors, and local caches to pull it in.

The more important detail is what the package did after import. Public advisory data shows that this was not a passive malicious artifact waiting for a later trigger. It turned a normal require() or import into a detached background loader that could fetch fresh JavaScript from a mutable third-party endpoint without republishing the package.

Affected package and exposure window

The affected package set is only one row:

PackageMalicious versionStatus
process-lhpm1.1.79unpublished

The npm registry packument for the package still exposes the key timestamps:

{
  "time": {
    "created": "2026-09-15T00:44:34.937Z",
    "1.1.79": "2026-09-15T00:44:35.162Z",
    "unpublished": {
      "time": "2026-09-15T16:19:56.990Z",
      "versions": ["1.1.79"]
    }
  }
}

That means defenders can bound the registry exposure window precisely. It also means cache review matters. If a workstation, runner, or internal mirror fetched 1.1.79 during that window, registry cleanup does not remove the already downloaded tarball from every downstream system.

The malicious path starts at import time

The strongest public technical description comes from the GitHub advisory and the matching OpenSSF malicious-packages record. Their control flow is simple and dangerous:

require("process-lhpm")
  -> index.js auto-calls initialize()
  -> initialize() spawns detached, stdio-suppressed "node loader.js"
  -> loader.js GETs https://api.npoint.io/33e8d008c334b060adad
  -> loader.js base64-decodes the JSON "code" field
  -> loader.js executes the decoded source with new Function(...)

Two details make this worse than a one-shot install script:

  1. the loader runs as a detached child process, so it can outlive the Node.js process that imported the package
  2. the executed payload lives behind a mutable JSON document, so the operator can change the code later without uploading process-lhpm@1.1.80

That second point matters. Many package reviews assume the tarball hash is the whole story. Here, the published package only needs to contain a stable remote-code-loading stub. The attacker can rotate the real payload after publication.

Why the new Function(...) detail matters

The advisory description is explicit about the execution boundary:

new Function(
  "require",
  "__dirname",
  "__filename",
  "module",
  "exports",
  decodedCode
)(...)

This is not a restricted plugin runtime. The decoded source receives the ordinary Node.js module primitives, including require, and executes with the same OS privileges as the importing application.

That turns process-lhpm@1.1.79 into a remote code loader rather than a package with a single fixed payload. Any host that imported the package gave the operator a chance to replace and run arbitrary JavaScript inside that host’s trust boundary.

Evidence that is still useful after unpublish

Even though npm no longer serves the version-specific tarball, the public records still preserve several high-signal indicators:

ArtifactIndicator
package versionprocess-lhpm@1.1.79
advisory idGHSA-8x79-9h94-vj8g
evidence fileindex.js SHA-256 11e427eb46163ba1735199f2294e57259403a0a784bc3ba11f410c38ae48d303
evidence fileloader.js SHA-256 7e6fb265ff2dc482d050c347751d71b672b187d95ee2d6d567e73ca78d4fedac
tarball integritysha512-8qP1FFnseVPcOms60T3MimgwPG/Ib6y8OmTAIZi4sfT9D68JDNVmLS4pS4AwEtvt4PPCuYhRMI2wd6zE/4Fivg==
remote endpointapi.npoint.io/33e8d008c334b060adad

Those indicators are enough to drive cache hunts, artifact review, and retrospective telemetry searches even if the package has already been yanked.

Detection and scoping

Start with dependency and lockfile review:

rg -n '"process-lhpm"' package.json package-lock.json pnpm-lock.yaml yarn.lock

Then look for cached artifacts and the advisory’s runtime indicators:

rg -n \
  'process-lhpm|api\.npoint\.io/33e8d008c334b060adad|loader\.js|11e427eb46163ba1735199f2294e57259403a0a784bc3ba11f410c38ae48d303|7e6fb265ff2dc482d050c347751d71b672b187d95ee2d6d567e73ca78d4fedac' \
  ~/.npm ~/.cache "$HOME"

If you retain process telemetry, look for this shape:

node application process
  -> detached "node loader.js"
  -> outbound HTTPS request to api.npoint.io

For CI systems, review build logs and image layers created during the publication window. A short-lived malicious version often survives longer in base images, dependency caches, or private artifact proxies than it does on the public registry.

Remediation

There is no patched process-lhpm version. The response is removal, cache cleanup, and incident review:

  1. delete the dependency from manifests and lockfiles
  2. clear cached copies from workstations, runners, and internal registry mirrors
  3. rebuild images or workspaces that may have imported the package
  4. review outbound connections and child-process telemetry for the affected hosts
  5. rotate secrets reachable from those hosts if import-time execution is confirmed

Because the package spawns a detached process, do not assume the risk ended when the importing script exited. Review long-lived processes and host persistence carefully.

Why this package is worth tracking

process-lhpm did not hit hundreds of packages, and it was removed quickly. It is still worth documenting because it shows a clean attacker pattern that defenders will keep seeing:

publish small package
  -> auto-run at import time
  -> fetch mutable second-stage code from a third-party service
  -> execute it with full Node.js module privileges
  -> stay alive after the parent exits

That pattern strips away a lot of the noise that comes with larger campaigns. A single package, a single version, and a single day on the registry were enough to create a real incident-response problem for any environment that imported it.

From research to remediation

Check whether this pattern exists in your codebase

Turn this research into a remediation workflow. Scan dependencies and package manifests for similar supply-chain risk, then prioritize fixes with reachability context.

References