MAL-2026-18330

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@iobandamwer/native-helper/MAL-2026-18330.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18330
Aliases
  • GHSA-g457-v22r-g8j3
Published
2026-10-26T16:28:46Z
Modified
2026-10-26T19:00:41Z
Summary
Malicious code in @iobandamwer/native-helper (npm)
Details

-= 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/. on Linux,.nc.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.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "GHSA-g457-v22r-g8j3",
            "import_time":  "2026-10-26T16:31:42.71652007Z",
            "modified_time":  "2026-10-26T16:28:46Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "6e5799fe2d2da1697418d26bfa3ed7bfde41e3e8f3d07003b04c3237950f91b1",
            "source":  "ghsa-malware"
        },
        {
            "id":  "IN-MAL-2026-021788",
            "import_time":  "2026-10-26T18:56:17.37393936Z",
            "modified_time":  "2026-10-26T18:33:45Z",
            "sha256":  "8b1f61d215dea331af1f17d6e4ba79e9a7919c88e97100fb4f840d7da4c606da",
            "source":  "amazon-inspector",
            "versions":  [
                "0.0.2"
            ]
        },
        {
            "id":  "IN-MAL-2026-021802",
            "import_time":  "2026-10-26T18:56:19.281121329Z",
            "modified_time":  "2026-10-26T18:35:23Z",
            "sha256":  "cce0282c2e8975376db9fdb7a69afc7ed77c0e7649178967496467e09d7ba328",
            "source":  "amazon-inspector",
            "versions":  [
                "0.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @iobandamwer/native-helper

Package

Name
@iobandamwer/native-helper
View open source insights on deps.dev
Purl
pkg:npm/%40iobandamwer/native-helper

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.0.1
0.0.2

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"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "package.json",
            "sha256":  "3df6ceff969644e0c7fdc5e1456a8aac2f7105316ac300b480157384084f9aed",
            "tlsh":  "31e0eb008a500b3230d427a600e9a20af53f49170198402e0bd300881bd86f2a8bb36e"
        },
        {
            "path":  "addon.node",
            "sha256":  "0e3b07d1eb0780b7ec8c94de84bcfd39967282739eee83e145366273a4586091",
            "tlsh":  "4672634bd2a0ed3ec4d85232598b927292a2c074eb30172b1f50a2b72d973595f7ae52"
        },
        {
            "path":  ".napi_cache",
            "sha256":  "5d46919dac8d89a164b87ef1246767e0e24141a55175514dfd597a73983a9279",
            "tlsh":  "b656e1cd9ef101c96a5669a3ad417e62f8e958b625f1f3f8900ae60b31c4456b340f3f"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@iobandamwer/native-helper/MAL-2026-18330.json"