MAL-2026-18207

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ecg-internal/aurora-js-formatters/MAL-2026-18207.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18207
Aliases
  • GHSA-9976-3w38-mrmj
Published
2026-10-23T02:01:15Z
Modified
2026-10-23T02:45:04Z
Summary
Malicious code in @ecg-internal/aurora-js-formatters (npm)
Details

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

Source: amazon-inspector (02325fb617beffd55194047faca7300b33934cd471de94bab66a24954200cba0)

The package uses an internal-looking scope (@ecg-internal) and an implausibly high version (99.0.1) consistent with dependency-confusion targeting. On install, the declared postinstall script executes beacon.cjs, which POSTs a JSON payload containing the package name, os.hostname(), __dirname install path, process.cwd(), and process.version to the hardcoded plain-HTTP bare-IP endpoint http://185.158.107.175:8787/_ah/dc. The main entry index.js additionally invokes beacon.cjs.fire() at top level on require/import, so the callback also fires when the module is loaded by a bundler or build process even if lifecycle scripts are disabled with --ignore-scripts. index.js exports a Proxy of no-op functions so consuming code and bundlers do not fail, allowing the beacon to run silently inside build pipelines. The destination IP is unrelated to any publisher infrastructure and has no TLS. The payload identifies the installing host and build environment to the operator of that endpoint, enabling enumeration of internal environments that resolved this scoped name from the public registry.

Source: ghsa-malware (a62187d1781539a34c8628cdf04cf2797250060a55eddcc1736b7f04b21b5bfa)

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-021611",
            "import_time":  "2026-10-23T02:25:39.491302571Z",
            "modified_time":  "2026-10-23T02:01:35Z",
            "sha256":  "02325fb617beffd55194047faca7300b33934cd471de94bab66a24954200cba0",
            "source":  "amazon-inspector",
            "versions":  [
                "99.0.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-021609",
            "import_time":  "2026-10-23T02:25:39.325526822Z",
            "modified_time":  "2026-10-23T02:01:21Z",
            "sha256":  "2b9ca7557d8dd70d7b1ef0d885864394f8751643520637bf036092f3f9234538",
            "source":  "amazon-inspector",
            "versions":  [
                "2.0.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-021618",
            "import_time":  "2026-10-23T02:25:39.904013006Z",
            "modified_time":  "2026-10-23T02:06:35Z",
            "sha256":  "38b207fd73b5b0f8409b6637afacc2254c2835eefb40e8071ea24885e62f1528",
            "source":  "amazon-inspector",
            "versions":  [
                "99.0.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-021610",
            "import_time":  "2026-10-23T02:25:39.408981372Z",
            "modified_time":  "2026-10-23T02:01:28Z",
            "sha256":  "6f550b1552dd525f2a4cb1ad491222ec4889536d541985f80aa0b852cbf656ac",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-021608",
            "import_time":  "2026-10-23T02:25:39.266752205Z",
            "modified_time":  "2026-10-23T02:01:15Z",
            "sha256":  "7c9c948c8ecc4f7bf0df48e329f05d916f0a877fe97cacf92eb5e1b79df11302",
            "source":  "amazon-inspector",
            "versions":  [
                "2.0.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-021612",
            "import_time":  "2026-10-23T02:25:39.550091704Z",
            "modified_time":  "2026-10-23T02:01:37Z",
            "sha256":  "94a4e5ecd2deb013e2027af202dbb3f66e66f918dd31afc457853da0846eed2e",
            "source":  "amazon-inspector",
            "versions":  [
                "3.0.0"
            ]
        },
        {
            "id":  "GHSA-9976-3w38-mrmj",
            "import_time":  "2026-10-23T02:36:25.372787019Z",
            "modified_time":  "2026-10-23T02:05:20Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "a62187d1781539a34c8628cdf04cf2797250060a55eddcc1736b7f04b21b5bfa",
            "source":  "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / @ecg-internal/aurora-js-formatters

Package

Name
@ecg-internal/aurora-js-formatters
View open source insights on deps.dev
Purl
pkg:npm/%40ecg-internal/aurora-js-formatters

Affected ranges

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

Affected versions

1.*
1.0.0
2.*
2.0.0
2.0.1
3.*
3.0.0
99.*
99.0.1

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"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "beacon.cjs",
            "sha256":  "5519e4e2f40798d353fdeccf47939abc98088122a93098522833d9648c72e224",
            "tlsh":  "b73161eba8f1a0089aab7098c54f0409f27af0078401ab54f95c92919f7293c33fa8dc"
        },
        {
            "path":  "index.js",
            "sha256":  "a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d",
            "tlsh":  "2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "aurora-js-formatters-99.0.1.tgz",
            "hashes":  {
                "sha1":  "56f0c2d469e35526258856980e6019e3f001de90",
                "sha512_sri":  "sha512-F2zAqQwNJU6O6qZgCAQtXt1JqEVrLNEXhDEu/YeOKsJcl9yeLj/FXH6YCY9tZ5OKERkhSPoXm31WrE09S+TVQA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ecg-internal/aurora-js-formatters/MAL-2026-18207.json"