---
id: "GHSA-g457-v22r-g8j3"
kind: "package"
aliases: ["GHSA-g457-v22r-g8j3", "MAL-2026-18330"]
title: "Malicious code in @iobandamwer/native-helper (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "@iobandamwer/native-helper", "fixed": [], "affected": "all versions", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-10-26T16:28:46+00:00"
first_seen_at: "2026-10-26T20:51:55+00:00"
updated_at: "2026-10-26T21:05:48+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-18330", "first_seen_at": "2026-10-26T20:51:55+00:00"}]
---

# Malicious code in @iobandamwer/native-helper (npm)

## Affected

- npm:@iobandamwer/native-helper affected all versions fixed ?

## Timeline

- 2026-10-26T20:51:55+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-18330

## From the sources

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

## Source: amazon-inspector (cce0282c2e8975376db9fdb7a69afc7ed77c0e7649178967496467e09d7ba328)
The package self-labels as a 'temporary placeholder stub' in package.json and README but ships active install-time dropper artifacts: a 93-byte index.js that loads a native addon (addon.node ELF for Linux, addon_win.node PE for Windows), an 8 MB opaque.napi_cache blob, and a postinstall script that calls addon.init() during npm install. The native addon decodes the shipped.napi_cache blob, writes it to a hidden temp path (/tmp/.<pid> on Linux,.nc<n>.js on Windows), chmods it executable, and detaches it via fork + setsid + execlp so it continues to run after npm install completes. Before executing the dropped payload, the addon checks for CI environment variables (GITHUB_ACTIONS, GITLAB_CI, CIRCLECI, JENKINS_URL, BUILDKITE, CODEBUILD_BUILD_ID, APPVEYOR, SEMAPHORE, TEAMCITY_VERSION, BITBUCKET_BUILD_NUMBER, NOW_GITHUB_DEPLOYMENT, CF_BUILD_ID, SCREWDRIVER), inspects /proc/1/cgroup and /proc/1/cmdline for containerd/dockerinit markers, reads /proc/self/status for TracerPid, and probes /proc/self/maps and /proc/meminfo to detect analysis sandboxes and debuggers, gating execution on a non-CI, non-container, non-instrumented host. The payload bytes are opaque and attacker-controlled, delivered through the native addon rather than inspectable JavaScript. Installing this package on a developer workstation causes attacker-controlled code to execute detached from the install process.

## Source: ghsa-malware (6e5799fe2d2da1697418d26bfa3ed7bfde41e3e8f3d07003b04c3237950f91b1)
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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
