Malicious code in bootstrap-custom-ui (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-14030
Published--- _-= 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.
- Source published
- 14 Aug 2026 14:08:51 UTC
- Source modified
- 14 Aug 2026 14:46:35 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.