MAL-2026-13548
Vulnerability from ossf_malicious_packages
Published
2026-08-07 12:33
Modified
2026-08-07 12:33
Summary
Malicious code in devplatform-stylelint-config (npm)
Details

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

Source: amazon-inspector (0d5c417e542790e2e91860f8383960eecead75556b747c0fdc91227c3228f514)

The package is published as 'devplatform-stylelint-config' with description 'environment config reader' and exposes a trivial ConfigLoader from index.js, but index.js also require()s./setup.js which runs at library load. setup.js assembles Cloudflare Workers hostnames (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev) and dl.wel1.ru subdomains (sdk./ext./pkg./net.) from array joins to defeat literal string matching, with a DNS-TXT chunked base64 fallback channel (c. count plus . chunks via resolveTxt). It downloads a platform-specific binary over HTTPS, writes it to a hidden temp path (/tmp/.cache_ or %TEMP%/dotnet_diag_.exe), chmods 0755, and detaches it via cp.spawn('/bin/sh', ['-c', fp+' &'], {detached:true}).unref() (with a cmd equivalent on Windows). No hash or signature verification is performed. Cover-story naming ('analytics_state', a DISABLE_TELEMETRY gate) and the package name/description mismatch conceal the payload.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
Credits

{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "setup.js",
              "sha256": "5f07eb8ff04e074332bb5ced2f766d39dc8a6b0669b711fcde3f17b0ec01d27c",
              "tlsh": "c4a1a75a06a970198fb0d7e0c627882af567f66337c09688f75c55984f7352483b2efc"
            },
            {
              "path": "package.json",
              "sha256": "f8be5e8b189cc2321c5bcd12e7d97a139a7a37e768c1ca8926113bf98c9b4cd8",
              "tlsh": "1fc022238520ac2300701d819ce1282b3be22f0f10329c0eb673312c12e49b1009a312"
            }
          ],
          "package_integrity": [
            {
              "filename": "devplatform-stylelint-config-35.7.4.tgz",
              "hashes": {
                "sha1": "e683f29d2f17e38756d13fe280950c17d244f332",
                "sha512_sri": "sha512-ALdvdWrOI+Lvu2fDJLQF/3t82fNV6BfUY+n49gigxRcM/pt6iI9BQGV6v4m/2wLPlo9JcH4PBBvTP2qkpngWWw=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "devplatform-stylelint-config"
      },
      "versions": [
        "35.7.4"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-017028",
        "import_time": "2026-08-07T12:51:22.837965877Z",
        "modified_time": "2026-08-07T12:33:19Z",
        "sha256": "0d5c417e542790e2e91860f8383960eecead75556b747c0fdc91227c3228f514",
        "source": "amazon-inspector",
        "versions": [
          "35.7.4"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0d5c417e542790e2e91860f8383960eecead75556b747c0fdc91227c3228f514)\nThe package is published as \u0027devplatform-stylelint-config\u0027 with description \u0027environment config reader\u0027 and exposes a trivial ConfigLoader from index.js, but index.js also require()s./setup.js which runs at library load. setup.js assembles Cloudflare Workers hostnames (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev) and dl.wel1.ru subdomains (sdk./ext./pkg./net.) from array joins to defeat literal string matching, with a DNS-TXT chunked base64 fallback channel (c.\u003cdomain\u003e count plus \u003ci\u003e.\u003cdomain\u003e chunks via resolveTxt). It downloads a platform-specific binary over HTTPS, writes it to a hidden temp path (/tmp/.cache_\u003chex\u003e or %TEMP%/dotnet_diag_\u003chex\u003e.exe), chmods 0755, and detaches it via cp.spawn(\u0027/bin/sh\u0027, [\u0027-c\u0027, fp+\u0027 \u0026\u0027], {detached:true}).unref() (with a cmd equivalent on Windows). No hash or signature verification is performed. Cover-story naming (\u0027analytics_state\u0027, a DISABLE_TELEMETRY gate) and the package name/description mismatch conceal the payload.\n",
  "id": "MAL-2026-13548",
  "modified": "2026-08-07T12:33:19Z",
  "published": "2026-08-07T12:33:19Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/devplatform-stylelint-config/v/35.7.4"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in devplatform-stylelint-config (npm)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…