MAL-2026-11505

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/accounts-loading-state/MAL-2026-11505.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11505
Aliases
  • GHSA-9pwq-f6rq-8q69
Published
2026-08-03T15:41:21Z
Modified
2026-08-05T07:21:00.723392741Z
Summary
Malicious code in accounts-loading-state (npm)
Details

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

Source: amazon-inspector (3d430e8d55d80c0cf747e6c04058e0bc90274cc943a0e6e15651924c90be46d2)

On require() of accounts-loading-state, index.js loads setup.js which schedules bootstrap() via process.nextTick. bootstrap() detects OS and architecture, then invokes lib/telemetry.js run() against a list of string-split-obfuscated mirror hosts (approximately five oob-worker.cfNN-XXX.workers.dev Cloudflare Workers endpoints) with DNS fallbacks under *.dl.well1.site, requesting platform-specific paths /pkg/package, /pkg/package.exe, /pkg/loader_mac, and /pkg/package-arm64. lib/telemetry.js decodes base64 response chunks via Buffer.from(chunks, "base64"), writes the bytes to a staging path under /var/tmp or the Windows TEMP directory, and sets the file executable with fs.chmodSync(..., 0o755) before running it. Host strings and dangerous API names are reconstructed at runtime from split-string arrays (["oob-wor","ker.cf",...].join(""), require("child_"+"process"), fs["chmod"+"Sync"]) to hide indicators from static analysis. Alongside the fetch, setup.js computes an installFingerprint() as sha256 over os.hostname(), os.userInfo().username, process.cwd(), process.version, and process.pid, and passes it as installId to the fetching runtime, providing per-victim tracking at the download endpoint. The package presents itself as an analytics/telemetry SDK; the download-and-execute pipeline is the actual behavior.

Source: ghsa-malware (c0ddeec4da1eabc1035eb7097d83c9aa42f6d37c44a73e3c7b04ddd61d7d6635)

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-08-04T00:15:24.367130843Z",
            "modified_time": "2026-08-03T15:41:25Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-9pwq-f6rq-8q69",
            "sha256": "c0ddeec4da1eabc1035eb7097d83c9aa42f6d37c44a73e3c7b04ddd61d7d6635",
            "source": "ghsa-malware"
        },
        {
            "import_time": "2026-08-04T21:33:15.677086213Z",
            "sha256": "08a283d16c5ea035b67ea814a0c92184718bce4766aab5017331f3f1b2b81a85",
            "modified_time": "2026-08-04T21:27:38Z",
            "id": "IN-MAL-2026-011066",
            "versions": [
                "12.5.7"
            ],
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-08-04T21:33:16.027009323Z",
            "modified_time": "2026-08-04T21:28:53Z",
            "sha256": "309160a44ed2b7c3e252b7c49c049bb6aa33ca439ed25532f39e6d513af2b4e8",
            "id": "IN-MAL-2026-011075",
            "versions": [
                "8.9.6"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-04T21:27:00Z",
            "sha256": "88ba6c9c2a99862d842bf518a30a86be7765e4db568105b6605e6c55bfa66bf2",
            "id": "IN-MAL-2026-011062",
            "versions": [
                "34.7.7"
            ],
            "import_time": "2026-08-04T21:33:15.548373492Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-04T21:27:22Z",
            "sha256": "ad2a37306fb4a344a4b222b2d4442b6a6a4963b138b8e2d2cb54997c0ada4f3d",
            "id": "IN-MAL-2026-011064",
            "versions": [
                "8.9.3"
            ],
            "import_time": "2026-08-04T21:33:15.610325138Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-04T21:27:13Z",
            "sha256": "ce1392cbe70efe490eb061f9fc80510bab239f513aca60cd3133185a1a8ba092",
            "id": "IN-MAL-2026-011063",
            "versions": [
                "8.9.5"
            ],
            "import_time": "2026-08-04T21:33:15.572840338Z"
        },
        {
            "import_time": "2026-08-04T22:30:00.242321522Z",
            "sha256": "3d430e8d55d80c0cf747e6c04058e0bc90274cc943a0e6e15651924c90be46d2",
            "modified_time": "2026-08-04T21:35:28Z",
            "id": "IN-MAL-2026-011120",
            "versions": [
                "8.9.4"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T06:08:08Z",
            "sha256": "7e81bee0d41e3badd54cdd3bea73de8673133725068d5da787ce61b6b05ebeb8",
            "id": "IN-MAL-2026-013333",
            "versions": [
                "0.0.1"
            ],
            "import_time": "2026-08-05T07:06:41.907176704Z"
        }
    ]
}
References
Credits

Affected packages

npm / accounts-loading-state

Package

Name
accounts-loading-state
View open source insights on deps.dev
Purl
pkg:npm/accounts-loading-state

Affected ranges

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

Affected versions

0.*
0.0.1
8.*
8.9.3
8.9.4
8.9.5
8.9.6
12.*
12.5.7
34.*
34.7.7

Database specific

cwes
[
    {
        "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",
        "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",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "setup.js",
            "sha256": "8f0408a8a36dac6c84b61ce497abe4e97fbec7aa75120b387894e005dff29ac7",
            "tlsh": "17b1a4550afa71384392a1e8d92b5816b09fe5533284e990f34cb6985f97268c3b39fc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/accounts-loading-state/MAL-2026-11505.json"