Malicious code in bootstrap-custom-ui (npm)
The npm package bootstrap-custom-ui version 5.7.2 contains malicious code that performs a remote HTTPS request to a hardcoded IP address and executes returned code with full Node.js context. This behavior is hidden behind decoy references to legitimate CDNs and contradicts the package's advertised purpose as a React/Bootstrap UI component library. Any user invoking the exported function risks arbitrary code execution on their host system.
AI Analysis
Technical Summary
The bootstrap-custom-ui npm package (version 5.7.2) masquerades as a React/Bootstrap UI component library but includes a default export function getPlugin that makes an HTTPS request to a hardcoded bare-IP endpoint (https://31.97.137.157:45000/icons/108). The response's 'credits' field is passed to the JavaScript Function constructor and executed with full Node.js context, including access to require, module, exports, process, and Buffer. This allows the remote server to execute arbitrary code on the host running the package. The package attempts to camouflage this malicious behavior by assembling the destination URL from split string fragments and including decoy references to well-known CDNs that are never actually used.
Potential Impact
Any system running bootstrap-custom-ui version 5.7.2 and invoking the exported getPlugin function is vulnerable to remote arbitrary code execution controlled by the attacker hosting the malicious endpoint. This can lead to full compromise of the host environment where the package is used.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately discontinue use of bootstrap-custom-ui version 5.7.2 and remove it from their projects. Avoid invoking the exported getPlugin function. Monitor for updates from the package maintainers or trusted sources for any official fixes or advisories.
Malicious code in bootstrap-custom-ui (npm)
Description
The npm package bootstrap-custom-ui version 5.7.2 contains malicious code that performs a remote HTTPS request to a hardcoded IP address and executes returned code with full Node.js context. This behavior is hidden behind decoy references to legitimate CDNs and contradicts the package's advertised purpose as a React/Bootstrap UI component library. Any user invoking the exported function risks arbitrary code execution on their host system.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The bootstrap-custom-ui npm package (version 5.7.2) masquerades as a React/Bootstrap UI component library but includes a default export function getPlugin that makes an HTTPS request to a hardcoded bare-IP endpoint (https://31.97.137.157:45000/icons/108). The response's 'credits' field is passed to the JavaScript Function constructor and executed with full Node.js context, including access to require, module, exports, process, and Buffer. This allows the remote server to execute arbitrary code on the host running the package. The package attempts to camouflage this malicious behavior by assembling the destination URL from split string fragments and including decoy references to well-known CDNs that are never actually used.
Potential Impact
Any system running bootstrap-custom-ui version 5.7.2 and invoking the exported getPlugin function is vulnerable to remote arbitrary code execution controlled by the attacker hosting the malicious endpoint. This can lead to full compromise of the host environment where the package is used.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately discontinue use of bootstrap-custom-ui version 5.7.2 and remove it from their projects. Avoid invoking the exported getPlugin function. Monitor for updates from the package maintainers or trusted sources for any official fixes or advisories.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14030
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7f43f2bf8831d5395d77d5
Added to database: 08/14/2026, 16:36:02 UTC
Last enriched: 08/14/2026, 16:53:29 UTC
Last updated: 08/14/2026, 23:17:06 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.