MAL-2026-6358

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fetch-page-assets/MAL-2026-6358.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6358
Aliases
  • GHSA-vxq2-vhm7-7mhq
Published
2026-06-24T01:44:29Z
Modified
2026-09-09T03:30:14Z
Summary
Malicious code in fetch-page-assets (npm)
Details

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

Source: amazon-inspector (b20a04be5fca12f18a1dc5791b41fb0e1b9feac721b8d12747f32b00a18cb67c)

babel.config.cjs contains a heavily obfuscated (obfuscator.io-style) IIFE appended after a legitimate @babel/preset-env block. It queries multiple Ethereum RPC endpoints (1rpc.io/eth, eth.drpc.org, ethereum-rpc.publicnode.com, eth-mainnet.public.blastapi.io, eth.blockscout.com/api) for transactions from the on-chain address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, decodes two IPv4 C2 addresses from the transaction's destination field, fetches XOR-encrypted stage-2 payloads from those hosts at /0x/cls and /0x/ls, decrypts them with hardcoded keys, and executes the result via both eval and spawn('node', ['-e', payload], {detached:true, stdio:'ignore', windowsHide:true}).unref(). A second copy of the same dropper is smuggled as public/fonts/fa-solid-400.woff2 — the file is not a font but plain JS beginning with global.i="A8-*#";global.r=require; and requiring http/https/zlib/child_process, with identical on-chain address, endpoints, and XOR keys. Requires of child_process, http, https, zlib, and url are Unicode-escaped to evade static inspection. Any consumer that installs this package and runs a Babel-using workflow (jest, build, transpile) executes attacker-controlled remote code whose current location is dynamically resolved from the Ethereum blockchain, giving the operator resilient, takedown-resistant C2 on the installer's machine.

Source: ghsa-malware (fd48ae20edf27366ea94c51e236b2dc615d3f7a8a952f414710d6e057a73b015)

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-vxq2-vhm7-7mhq",
            "import_time": "2026-06-24T01:59:16.939170968Z",
            "modified_time": "2026-06-24T01:44:30Z",
            "sha256": "fd48ae20edf27366ea94c51e236b2dc615d3f7a8a952f414710d6e057a73b015",
            "source": "ghsa-malware",
            "versions": [
                "1.2.9"
            ]
        },
        {
            "id": "IN-MAL-2026-018691",
            "import_time": "2026-08-25T06:50:12.808137659Z",
            "modified_time": "2026-08-25T06:45:16Z",
            "sha256": "93ad8670580ca805e4733099874476f7d779ea8d77f66a1dbb55a6f540130766",
            "source": "amazon-inspector",
            "versions": [
                "1.2.14"
            ]
        },
        {
            "id": "IN-MAL-2026-018692",
            "import_time": "2026-08-25T06:50:12.854170494Z",
            "modified_time": "2026-08-25T06:45:29Z",
            "sha256": "b20a04be5fca12f18a1dc5791b41fb0e1b9feac721b8d12747f32b00a18cb67c",
            "source": "amazon-inspector",
            "versions": [
                "1.2.13"
            ]
        },
        {
            "id": "GHSA-vxq2-vhm7-7mhq",
            "import_time": "2026-08-28T16:24:19.785781176Z",
            "modified_time": "2026-08-28T14:55:47Z",
            "sha256": "173fd7ec9a6da748fa9bc83d6ca539dc559f2dd42b1b8e01943b23d0a9f4b05d",
            "source": "ghsa-malware",
            "versions": [
                "1.2.14",
                "1.2.13",
                "1.2.12",
                "1.2.11",
                "1.2.10",
                "1.2.9"
            ]
        },
        {
            "id": "IN-MAL-2026-019294",
            "import_time": "2026-08-31T18:22:29.05965347Z",
            "modified_time": "2026-08-31T18:00:49Z",
            "sha256": "91ac145bdab032d87a8bcea71f0ab765b111fe80d5aaad4ae585bb4e51c735d3",
            "source": "amazon-inspector",
            "versions": [
                "1.2.15"
            ]
        },
        {
            "id": "IN-MAL-2026-019289",
            "import_time": "2026-08-31T18:22:28.681096746Z",
            "modified_time": "2026-08-31T18:00:09Z",
            "sha256": "9e0e91ccc3d590357d05b40a112f81421d94495f7a429251b57cfe530be57792",
            "source": "amazon-inspector",
            "versions": [
                "1.2.16"
            ]
        },
        {
            "id": "GHSA-vxq2-vhm7-7mhq",
            "import_time": "2026-09-03T05:28:36.025529Z",
            "modified_time": "2026-09-02T05:56:44Z",
            "sha256": "56275ec63af301dc409b5f26663cf8bf83840ee242b7e0bf52b6b84611dd8632",
            "source": "ghsa-malware",
            "versions": [
                "1.2.16",
                "1.2.15",
                "1.2.14",
                "1.2.13",
                "1.2.12",
                "1.2.11",
                "1.2.10",
                "1.2.9"
            ]
        },
        {
            "id": "IN-MAL-2026-019776",
            "import_time": "2026-09-09T02:44:24.253138309Z",
            "modified_time": "2026-09-09T02:44:10Z",
            "sha256": "fe82e5ea207757afd01c8b078aecb058bbc1f8d69ad8abae95911f69781075a3",
            "source": "amazon-inspector",
            "versions": [
                "1.2.12"
            ]
        },
        {
            "id": "IN-MAL-2026-019779",
            "import_time": "2026-09-09T03:21:52.809375194Z",
            "modified_time": "2026-09-09T02:44:36Z",
            "sha256": "0f707e68c4f367665b4d98304fc266c5edd76d871c6f2518ad2997ca7f698c75",
            "source": "amazon-inspector",
            "versions": [
                "1.2.11"
            ]
        },
        {
            "id": "IN-MAL-2026-019777",
            "import_time": "2026-09-09T03:21:52.596974345Z",
            "modified_time": "2026-09-09T02:44:20Z",
            "sha256": "18324a74f639dcc1d6cb025e424547fe507360c4644b37621ce9c867fd3e101a",
            "source": "amazon-inspector",
            "versions": [
                "1.2.10"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / fetch-page-assets

Package

Name
fetch-page-assets
View open source insights on deps.dev
Purl
pkg:npm/fetch-page-assets

Affected ranges

Affected versions

1.*
1.2.9
1.2.10
1.2.11
1.2.12
1.2.13
1.2.14
1.2.15
1.2.16

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"
    },
    {
        "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"
    },
    {
        "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": "babel.config.cjs",
            "sha256": "72b7feb8b22eeb972397ab6e80330043d4103ccc3c186818fe2d6647a49cc97a",
            "tlsh": "58e22284a7d0a440034b6abbbb1bf4e5e96a0cac75844acbf11dbd84f766327e4f1531"
        }
    ],
    "package_integrity": [
        {
            "filename": "fetch-page-assets-1.2.14.tgz",
            "hashes": {
                "sha1": "71473269d20d30d028b3288d8681f9f7bc0449a3",
                "sha512_sri": "sha512-ladlXgzRLMxtgvWZFVCW5UH9cvmNZu1jVsHes9FjYb5BJypNd/lF/2sQarjQKZ1nOOBoL6vIbGiRT9aZzxGX8g=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fetch-page-assets/MAL-2026-6358.json"