{"id":"MAL-2026-15520","summary":"Malicious code in ring-device-settings-library (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e3ea2aed3d7e8c0b9c99532d6714c486a5ad685418ebbd96c67b44b63f79fe01)\npackage.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.\n","modified":"2026-08-28T23:45:12.618141356Z","published":"2026-08-28T23:14:03Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-019085","import_time":"2026-08-28T23:14:37.257618411Z","modified_time":"2026-08-28T23:14:03Z","sha256":"e3ea2aed3d7e8c0b9c99532d6714c486a5ad685418ebbd96c67b44b63f79fe01","source":"amazon-inspector","versions":["45.0.0"]},{"id":"IN-MAL-2026-019108","import_time":"2026-08-28T23:38:06.193362536Z","modified_time":"2026-08-28T23:17:23Z","sha256":"1e720186a5ba3e3a2e12f670a2b9d9b080b5cc4cfcd1098bd42e25db9327d803","source":"amazon-inspector","versions":["30.0.0"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ring-device-settings-library/v/45.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/ring-device-settings-library/v/30.0.0"}],"affected":[{"package":{"name":"ring-device-settings-library","ecosystem":"npm","purl":"pkg:npm/ring-device-settings-library"},"versions":["45.0.0","30.0.0"],"database_specific":{"indicators":{"evidence_files":[{"sha256":"28fc31f840f9e9a4c3226959e8dbc36d87d6fc9905e1889708b8b7fa3dfa88c2","tlsh":"e4e0d8248e10123722de01569c78601773124f1f0234bc1adaea0029584e1b3a9f939c","path":"package.json"}],"package_integrity":[{"filename":"ring-device-settings-library-45.0.0.tgz","hashes":{"sha1":"64108fb87882b81d4fadec23b475fbfad041de22","sha512_sri":"sha512-/ENN2H4D9KNY62NhlqDmiHkGZ4uJojHt9irJHmzrjiBInCBxDif3v0wtMwz/TZ80ndaAH9XHXHP7SEMI0VGvig=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ring-device-settings-library/MAL-2026-15520.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}]}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}