MAL-2026-14030
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for bootstrap-custom-ui (npm). Pin to a known-safe version or switch to an alternative.