@iobandamwer/native-helper@0.0.2
OpenSSF/OSV Malicious Advisory
imported 9d ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-18330 confirms this npm version as malicious.
Advisory
MAL-2026-18330
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @iobandamwer/native-helper (npm)
Details
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.
Source & flagged code
0 flaggedNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to @iobandamwer/native-helper@0.0.2.
See all versions of @iobandamwer/native-helper for other recorded verdicts.
- Avoid installing @iobandamwer/native-helper@0.0.2. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.