{"id":"MAL-2026-15902","revision":"459e9cc73659456bbf9a454ae5c01fa9","records":[{"revision":"459e9cc73659456bbf9a454ae5c01fa9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15902","aliases":[],"title":"Malicious code in peertube-plugin-video-views-counter (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f62f93ab1a8cfa1b153c8075e6463d3351c16a49779615556c7ee2fc909fdcde)\nplugin.js contains a top-level IIFE that spawns bash with a /dev/tcp reverse-shell loop to the hardcoded host 45.137.222.44:4444, detached and unref'd, executing whenever PeerTube loads the plugin module. The same file registers a POST /cmd route on the plugin's HTTP router that passes a caller-supplied `cmd` field directly to child_process.exec with shell '/bin/bash' and returns stdout/stderr, with no authentication or allowlist. The reverse-shell code is labeled as a `background sync worker (keeps view history storage warm)` and its function is named `connect`, but performs no view-counting work. Together these give the remote host at 45.137.222.44 and any HTTP client able to reach the plugin router full interactive shell access on the PeerTube server.\n","state":0,"publishedAt":"2026-09-04T03:45:26+00:00","modifiedAt":"2026-09-04T04:30:05.8515028+00:00","affected":[{"ecosystem":"npm","name":"peertube-plugin-video-views-counter","ranges":[],"versions":["1.0.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/peertube-plugin-video-views-counter/v/1.0.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15902","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15902","identifiers":["MAL-2026-15902"]},"retained":false,"historicalAffected":[]}],"coverage":[]}