MAL-2026-6282

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/local-ip-helper/MAL-2026-6282.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6282
Aliases
  • GHSA-xg4m-w887-cp89
Published
2026-06-23T12:05:04Z
Modified
2026-07-09T23:02:01Z
Summary
Malicious code in local-ip-helper (npm)
Details

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

Source: amazon-inspector (5741cea5f57c51246c2944fda4ecf601f191b482e5c6effa22b640f8701a00e8)

index.js imports child_process and calls execSync with bash and zsh (lines 301 and 317). Without further context, it is unclear whether these invocations are part of a benign helper that resolves the local IP address by querying shell utilities, or whether they execute attacker-influenced content. No hardcoded external network destinations, credential reads, or install-time lifecycle hooks were observed. Recommend human review of the exact commands passed to bash/zsh and of how the package is invoked (library import vs. CLI) before allowing or blocking.

Source: ghsa-malware (62edd1422ec623ef603b4c1d5bf898041000bb1a55470dc798519bdb4e0452b5)

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-xg4m-w887-cp89",
            "import_time": "2026-06-23T13:16:55.916090513Z",
            "modified_time": "2026-06-23T12:05:05Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "62edd1422ec623ef603b4c1d5bf898041000bb1a55470dc798519bdb4e0452b5",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-009531",
            "import_time": "2026-07-09T22:56:31.708882069Z",
            "modified_time": "2026-07-09T22:09:09Z",
            "sha256": "5741cea5f57c51246c2944fda4ecf601f191b482e5c6effa22b640f8701a00e8",
            "source": "amazon-inspector",
            "versions": [
                "0.1.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / local-ip-helper

Package

Name
local-ip-helper
View open source insights on deps.dev
Purl
pkg:npm/local-ip-helper

Affected ranges

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

Affected versions

0.*
0.1.0

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": "98c417624c58dda531e1cf0f54032db175186fb738730c7b71ef1d9de18805e1",
            "tlsh": "2972a89a15f7213242e373f8555f100a76a9c043360ade8977dc87582f9e528a2f6fec"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/local-ip-helper/MAL-2026-6282.json"