Malicious code in ring-device-settings-library (npm)
Description
The ring-device-settings-library npm package contains a malicious self-referential dependency that points to an off-registry URL, allowing arbitrary code execution during installation. The package itself is inert, but the dependency causes npm to fetch and run code from an untrusted external host. This can lead to full system compromise on any machine that installs or runs this package.
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 ring-device-settings-library npm package declares a dependency with the same name as itself, but the dependency value is a raw HTTPS URL to https://repo.securityctrl.com/ring-device-settings-library, an off-registry host unrelated to the npm registry. When npm install runs, it resolves this URL and installs whatever code is served, including any lifecycle scripts, without version pinning, integrity checks, or signature verification. The package contents are otherwise inert, so the malicious code execution vector is entirely through this self-referential dependency. This design also exploits dependency confusion by using a high version number (45.0.0) that can override internal package versions. Any system with this package installed or running should be considered fully compromised.
Potential Impact
Systems that install or run this package are at risk of full compromise because the off-registry dependency allows arbitrary code execution during installation. Attackers controlling the external host can execute any code on the victim machine, potentially stealing secrets, keys, and other sensitive data. Removal of the package does not guarantee elimination of all malicious artifacts, as the attacker may have established persistent control.
Mitigation Recommendations
Remove the ring-device-settings-library package immediately from all affected systems. Rotate all secrets and keys stored on compromised machines from a separate, trusted environment. Since the package fetches code from an untrusted external source without verification, avoid installing packages that declare dependencies via raw URLs from unknown hosts. Monitor for any signs of persistent compromise and rebuild affected systems if necessary. Patch status is not confirmed; check vendor advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15520
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a92f7e2acd9273b49e75bf6
Added to database: 08/29/2026, 15:16:50 UTC
Last enriched: 09/09/2026, 21:08:46 UTC
Last updated: 10/01/2026, 22:27:13 UTC
Views: 27
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.