Malicious code in prm-bundles (npm)
Description
The npm package 'prm-bundles' version 45.0.0 contains malicious code delivered via a self-referential dependency that points to a remote HTTPS URL instead of a versioned registry package. Installing this package causes npm to fetch and execute arbitrary code from an external source without integrity checks, effectively compromising the host system. Removal of the package does not guarantee full remediation due to potential persistent control by the attacker.
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 'prm-bundles' npm package version 45.0.0 declares a dependency on itself using a bare HTTPS URL (https://repo.securityctrl.com/prm-bundles) instead of a version range. This causes npm install to download and execute code from that URL, bypassing version pinning and integrity verification. The shipped source code is inert, making the manifest the payload delivery mechanism. This behavior is consistent with a dependency confusion attack targeting an internal package name, allowing an attacker to execute arbitrary code on the installing system. The package is considered fully compromising any system where it is installed or running.
Potential Impact
Systems with 'prm-bundles' version 45.0.0 installed are fully compromised, potentially allowing attackers complete control. All secrets and keys on affected systems should be considered exposed and must be rotated from a separate, uncompromised device. Removing the package alone may not remove all malicious artifacts or restore system integrity.
Mitigation Recommendations
Immediate removal of the 'prm-bundles' package version 45.0.0 is recommended. All secrets and keys stored on affected systems should be rotated from a different, trusted computer. Due to the high likelihood of full system compromise, consider rebuilding or thoroughly cleaning affected systems. There is no official patch or fix available; remediation relies on removal and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15543
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a92f7e3acd9273b49e75cc2
Added to database: 08/29/2026, 15:16:51 UTC
Last enriched: 09/09/2026, 21:08:09 UTC
Last updated: 10/04/2026, 05:24:51 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.