{"id":"MAL-2026-17155","summary":"Malicious code in @osl-design/react (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0a3237fada0f96b2160cb8adea5c7734951ca960f71f3f4bf788fec9446b6d3b)\nThe 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.\n","modified":"2026-09-24T13:30:05.156353165Z","published":"2026-09-24T13:16:44Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["9.9.10"],"id":"IN-MAL-2026-020507","import_time":"2026-09-24T13:18:04.444518857Z","modified_time":"2026-09-24T13:16:44Z","sha256":"0a3237fada0f96b2160cb8adea5c7734951ca960f71f3f4bf788fec9446b6d3b"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@osl-design/react/v/9.9.10"}],"affected":[{"package":{"name":"@osl-design/react","ecosystem":"npm","purl":"pkg:npm/%40osl-design/react"},"versions":["9.9.10"],"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":"runtime/support/telemetry/probe/impl.js","sha256":"391c4d54c22c98c7fd4a1e66316549e94f47a139bfc5b7166def887087ea2d5d","tlsh":"9a119c5af253d08f27d04695391c43e1882ec2d097cd11d1bb7c168be2cd7914ad3a66"},{"path":"runtime/support/telemetry/probe/e6b4f2.js","sha256":"f7942b52b33a05f44ce43c1cc581fa1140cbbef03acdba961ade9f4a44cb03e1","tlsh":"73f0595166a3d19f77d69ac35f4190a0acb60a40b60ed0d5fa2c1bde00eeb13e9c54b0"},{"sha256":"8aa640db8273e5342cf421e01c4ca15ea180b9998a087437c14e95ee0ce0bfd5","tlsh":"af0189228e2788671fc0ba94ec36a84676b2181f45a07c5846d7c034d2ce27a13fe33d","path":"package.json"}],"package_integrity":[{"hashes":{"sha1":"83b0543444d7096d87ee8d2757f6b8d6611a0623","sha512_sri":"sha512-MVN80yd0VL0oVT9E+J/8fPRadKlHkEEhcQI7QyWvclxg+boHBVICAsbGQps3zDJiKge61Q0wqmnqhEmZM82sug=="},"filename":"react-9.9.10.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@osl-design/react/MAL-2026-17155.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}