Skip to content
Heist/ feed
Unrated

Malicious code in @osl-design/react (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (0a3237fada0f96b2160cb8adea5c7734951ca960f71f3f4bf788fec9446b6d3b) The package declares `"install": "node index.js"` in package.json, so `npm install` automatically executes its top-level script. That script loads `runtime/support/telemetry/probe/impl.js`, which reads the installer's OS username (`os.userInfo().username`), hostname (`os.hostname()`), and current working-directory basename, concatenates them with a prefix into a DNS label, and issues a `dns.resolve4` query against the hardcoded domain `oob.algamil7x.xyz` — a DNS out-of-band exfiltration channel. Sensitive strings, including the module names `os`/`dns`, the API names `userInfo`/`hostname`/`cwd`/`resolve4`, the label prefix `osldr`, and the destination domain `oob.algamil7x.xyz`, are hidden as hex/char-code arrays decoded at runtime, and `os` and `dns` are loaded through `module.constructor._load(...)` rather than literal `require()` calls to evade static analysis. The README contradicts the shipped behavior by asserting the package has no file system access and no network requests beyond registry probes, and the scope name `@osl-design/react` resembles a design-system package to lend plausibility. Installing this package leaks host-identifying information about the installer's machine to an attacker-controlled DNS resolver.

Announced Source revision 1
Original source ↗

MAL-2026-17155

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-17155

@osl-design/react

Source reference: /affected/0/package/name

Affected versions
9.9.10

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "package": {
      "name": "@osl-design/react",
      "purl": "pkg:npm/%40osl-design/react",
      "ecosystem": "npm"
    },
    "versions": [
      "9.9.10"
    ],
    "database_specific": {
      "cwes": [
        {
          "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/@osl-design/react/MAL-2026-17155.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "runtime/support/telemetry/probe/impl.js",
            "tlsh": "9a119c5af253d08f27d04695391c43e1882ec2d097cd11d1bb7c168be2cd7914ad3a66",
            "sha256": "391c4d54c22c98c7fd4a1e66316549e94f47a139bfc5b7166def887087ea2d5d"
          },
          {
            "path": "runtime/support/telemetry/probe/e6b4f2.js",
            "tlsh": "73f0595166a3d19f77d69ac35f4190a0acb60a40b60ed0d5fa2c1bde00eeb13e9c54b0",
            "sha256": "f7942b52b33a05f44ce43c1cc581fa1140cbbef03acdba961ade9f4a44cb03e1"
          },
          {
            "path": "package.json",
            "tlsh": "af0189228e2788671fc0ba94ec36a84676b2181f45a07c5846d7c034d2ce27a13fe33d",
            "sha256": "8aa640db8273e5342cf421e01c4ca15ea180b9998a087437c14e95ee0ce0bfd5"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "83b0543444d7096d87ee8d2757f6b8d6611a0623",
              "sha512_sri": "sha512-MVN80yd0VL0oVT9E+J/8fPRadKlHkEEhcQI7QyWvclxg+boHBVICAsbGQps3zDJiKge61Q0wqmnqhEmZM82sug=="
            },
            "filename": "react-9.9.10.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#13783 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement