MAL-2026-17157

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/eslint-config-compact-base/MAL-2026-17157.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17157
Aliases
  • GHSA-gx7g-jjf6-c7jg
Published
2026-09-24T13:17:49Z
Modified
2026-10-12T14:00:05Z
Summary
Malicious code in eslint-config-compact-base (npm)
Details

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

Source: amazon-inspector (dbc01e3a8316b2d4e11b34a9c8cbe1cf5bd2af83a6a70052e40a22b54f13f78b)

index.js executes on module load and collects host reconnaissance data — os.platform(), os.hostname(), os.userInfo().username, architecture, Node version, current working directory — together with CI-context environment variables including CI, RUNNER_NAME, and GITHUB_REPOSITORY. The collected values are serialized as query-string parameters and sent via https.get to the hardcoded endpoint https://cbrsuo9293.execute-api.us-east-1.amazonaws.com/c. The behavior fires unconditionally on require(), so any build, install, or CI job that pulls in this ESLint config beacons its host identity and repository name to the attacker-controlled AWS API Gateway. This network activity has no relationship to the package's advertised purpose as an ESLint configuration.

Source: ghsa-malware (bb38df9decede154ba66b91613d2ab06bd1f94793f78fb7519da2a334a0a46be)

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-020511",
            "import_time":  "2026-09-24T13:18:04.716839408Z",
            "modified_time":  "2026-09-24T13:17:49Z",
            "sha256":  "dbc01e3a8316b2d4e11b34a9c8cbe1cf5bd2af83a6a70052e40a22b54f13f78b",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        },
        {
            "id":  "GHSA-gx7g-jjf6-c7jg",
            "import_time":  "2026-10-12T13:47:27.086488936Z",
            "modified_time":  "2026-10-12T13:01:52Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "bb38df9decede154ba66b91613d2ab06bd1f94793f78fb7519da2a334a0a46be",
            "source":  "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / eslint-config-compact-base

Package

Name
eslint-config-compact-base
View open source insights on deps.dev
Purl
pkg:npm/eslint-config-compact-base

Affected ranges

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

Affected versions

1.*
1.0.0

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"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "index.js",
            "sha256":  "a87b6a34e6c9edb4a7c0223eaa3687f6d253b2e3bf68aa3548b60f362d200f51",
            "tlsh":  "7101f8f2aa9c483a21d63200c40f000aead7d63309c8f2b05a2a926c6f3493613b1378"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "eslint-config-compact-base-1.0.0.tgz",
            "hashes":  {
                "sha1":  "c518a6545d4699ac8e9c12aa4611bd46000c4123",
                "sha512_sri":  "sha512-28zvkl5Nc4U5PXk/dU2XKYSi0mtCVV03MOS05Uf2ueKRhXm4KPccfYqCRL48CCGuw32bqbcSQJIL12Nvr43Iuw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/eslint-config-compact-base/MAL-2026-17157.json"