Malicious code in mkt-ui-library (npm)
Description
The npm package 'mkt-ui-library' version 45.0.0 contains a malicious self-referencing dependency that points to an external URL instead of a versioned package. This causes npm to fetch and execute code from an untrusted source during installation, potentially compromising the installing system. The package's source code itself is inert, but control over the external URL allows an attacker to run arbitrary code on the victim's machine. Systems with this package installed should be considered fully compromised, and secrets should be rotated immediately.
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 'mkt-ui-library' npm package version 45.0.0 declares a dependency with the same name as the package itself, but instead of a version range, it uses a bare HTTPS URL (https://repo.securityctrl.com/mkt-ui-library). When npm installs this package, it fetches the tarball from this URL and executes any lifecycle scripts contained within, without version pinning or integrity checks. This dependency confusion technique biases npm resolvers to prefer the malicious external package over any legitimate internal versions. Although the shipped source code is a benign stub, whoever controls the external repository controls the code executed on the installer's machine, leading to full system compromise.
Potential Impact
Any system that installs or runs this package version is at risk of full compromise. An attacker controlling the external repository can execute arbitrary code during installation, potentially gaining full control over the affected machine. All secrets and keys stored on the compromised system should be considered exposed and must be rotated from a separate, secure environment. Removing the package alone may not eliminate all malicious artifacts due to the potential for persistent compromise.
Mitigation Recommendations
No official patch or fix is currently available. Immediate removal of the 'mkt-ui-library' package version 45.0.0 is recommended. Systems with this package installed should be treated as fully compromised, and all secrets and keys must be rotated from a different, secure machine. Monitor for any suspicious activity and consider rebuilding affected systems to ensure complete remediation. Verify dependencies carefully to avoid installing packages with self-referencing dependencies pointing to untrusted URLs.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15540
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a92f7e3acd9273b49e75ce0
Added to database: 08/29/2026, 15:16:51 UTC
Last enriched: 09/09/2026, 20:53:08 UTC
Last updated: 10/01/2026, 22:27:23 UTC
Views: 23
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.