MAL-2026-14030

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bootstrap-custom-ui/MAL-2026-14030.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14030
Published
2026-08-14T14:08:51Z
Modified
2026-08-14T14:46:35.798127154Z
Summary
Malicious code in bootstrap-custom-ui (npm)
Details

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

Source: amazon-inspector (652b61501946d7df441ba0b302898ff5aa223b09828775504099fc8d91878d81)

The package presents itself as a React/Bootstrap UI component library but its default export getPlugin performs an HTTPS request to the hardcoded bare-IP endpoint https://31.97.137.157:45000/icons/108 and passes the response's credits field to the Function constructor with full Node context (require, module, exports, process, Buffer). Any caller invoking the exported function grants the remote server arbitrary code execution on the host. The destination URL is assembled from split string fragments (protocol, separator, domain, path, token) and a decoy setDefaultModule references legitimate CDN names (cloudflare, fastly, akamai, cloudfront) that are never actually used, camouflaging the real bare-IP destination. Behavior does not match the advertised purpose.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-017739",
            "import_time": "2026-08-14T14:28:04.522188113Z",
            "sha256": "652b61501946d7df441ba0b302898ff5aa223b09828775504099fc8d91878d81",
            "modified_time": "2026-08-14T14:08:51Z",
            "source": "amazon-inspector",
            "versions": [
                "5.7.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bootstrap-custom-ui

Package

Name
bootstrap-custom-ui
View open source insights on deps.dev
Purl
pkg:npm/bootstrap-custom-ui

Affected ranges

Affected versions

5.*
5.7.2

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "82c1716546fa31a36a63e0eef30f10027265e313375de931f48e42902fca568e5f24e8",
            "sha256": "b32a47cdb5e747380766a568efbd9e5bf0439d5e1ec09f52ad0c696895fc658b"
        }
    ],
    "package_integrity": [
        {
            "filename": "bootstrap-custom-ui-5.7.2.tgz",
            "hashes": {
                "sha1": "69093b6fcc95f5dc9f1d00b56f61491473c4cacd",
                "sha512_sri": "sha512-enUa4kyDzzEpETf0dETEIrJxkvoU/zTDq+PoeY41PyeSL9bJrhcyrqX9U06gQLEOhaWAIL8vF577gJdP8PH61w=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bootstrap-custom-ui/MAL-2026-14030.json"