# MAL-2026-15520: Malicious code in ring-device-settings-library (npm)


- **Type:** Malicious package
- **Package:** `ring-device-settings-library` (npm)
- **Published:** 28 Aug 2026
- **Also known as:** GHSA-c9hf-9c62-jcfq, GHSA-f4f7-3wwr-hxfx

## What is MAL-2026-15520?

MAL-2026-15520 is a malicious package in ring-device-settings-library, published on 28 Aug 2026. 

### Official description

package.json declares a dependency whose key equals the package's own name (ring-device-settings-library) and whose value is a raw HTTPS URL pointing at an off-registry host: https://repo.securityctrl.com/ring-device-settings-library. On `npm install`, npm resolves that URL rather than a registry version range and installs whatever bytes the host returns, running any lifecycle scripts contained in the fetched artifact. There is no version pin, no integrity hash, and no signature check, and the host is unrelated to any npm registry. The shipped package contents are otherwise an inert placeholder, so the manifest line is the entire installed surface: whoever controls repo.securityctrl.com controls the code that executes on the installer's machine on every install. The self-referential dependency name, combined with the implausibly high version (45.0.0), is also a dependency-confusion shape that can win resolution against an internally-named package.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

## What should I do about MAL-2026-15520?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-15520 is a malicious package: ring-device-settings-library (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-15520/ (Markdown: https://insights.sbomify.com/MAL-2026-15520/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-15520

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-15520/
Summaries are generated and may contain mistakes; the official description above is the record.
