Skip to content
Heist/ feed
Back to feed
Unrated

Malicious code in eslint-config-compact-base (npm)

Type: advisorySources: OSV

--- _-= 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.

Products
eslint-config-compact-base
Affected versions
1.0.0
Fixed versions
Not specified
CVEs
Not specified
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 06:36 UTC · Revision 1

Source evidence

Malicious code in eslint-config-compact-base (npm)

core-osv · Original source

Published 24 Sept 2026, 13:17 UTC

--- _-= 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.

osv:MAL-2026-17157

eslint-config-compact-base

Fixed versions: Not specified

Complete source record
{
  "id": "5f68bf4b6c7488ec5b985091dc6023b0f1680f0288a3c806382ce4f67771063a",
  "url": "https://osv.dev/vulnerability/MAL-2026-17157",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Malicious code in eslint-config-compact-base (npm)",
    "summary": "--- _-= 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.",
    "evidence": "osv:MAL-2026-17157",
    "products": [
      {
        "name": {
          "value": "eslint-config-compact-base",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.0",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "MAL-2026-17157",
      "aliases": [
        "GHSA-gx7g-jjf6-c7jg",
        "MAL-2026-17157"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "eslint-config-compact-base",
            "purl": "pkg:npm/eslint-config-compact-base",
            "ecosystem": "npm"
          },
          "versions": [
            "1.0.0"
          ],
          "database_specific": {
            "cwes": [
              {
                "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."
              }
            ],
            "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/eslint-config-compact-base/MAL-2026-17157.json",
            "indicators": {
              "evidence_files": [
                {
                  "path": "index.js",
                  "tlsh": "7101f8f2aa9c483a21d63200c40f000aead7d63309c8f2b05a2a926c6f3493613b1378",
                  "sha256": "a87b6a34e6c9edb4a7c0223eaa3687f6d253b2e3bf68aa3548b60f362d200f51"
                }
              ],
              "package_integrity": [
                {
                  "hashes": {
                    "sha1": "c518a6545d4699ac8e9c12aa4611bd46000c4123",
                    "sha512_sri": "sha512-28zvkl5Nc4U5PXk/dU2XKYSi0mtCVV03MOS05Uf2ueKRhXm4KPccfYqCRL48CCGuw32bqbcSQJIL12Nvr43Iuw=="
                  },
                  "filename": "eslint-config-compact-base-1.0.0.tgz"
                }
              ]
            }
          }
        }
      ],
      "modified": "2026-10-12T14:00:05.163587699Z",
      "provider": "osv",
      "references": [
        "https://www.npmjs.com/package/eslint-config-compact-base/v/1.0.0",
        "https://github.com/advisories/GHSA-gx7g-jjf6-c7jg"
      ],
      "provider_metadata": {
        "malicious-packages-origins": [
          {
            "id": "IN-MAL-2026-020511",
            "sha256": "dbc01e3a8316b2d4e11b34a9c8cbe1cf5bd2af83a6a70052e40a22b54f13f78b",
            "source": "amazon-inspector",
            "versions": [
              "1.0.0"
            ],
            "import_time": "2026-09-24T13:18:04.716839408Z",
            "modified_time": "2026-09-24T13:17:49Z"
          },
          {
            "id": "GHSA-gx7g-jjf6-c7jg",
            "ranges": [
              {
                "type": "SEMVER",
                "events": [
                  {
                    "introduced": "0"
                  }
                ]
              }
            ],
            "sha256": "bb38df9decede154ba66b91613d2ab06bd1f94793f78fb7519da2a334a0a46be",
            "source": "ghsa-malware",
            "import_time": "2026-10-12T13:47:27.086488936Z",
            "modified_time": "2026-10-12T13:01:52Z"
          }
        ]
      }
    },
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 299931,
  "published_at": "2026-09-24T13:17:49+00:00"
}