---
id: "GHSA-fvjv-j94x-c8wm"
kind: "package"
aliases: ["GHSA-fvjv-j94x-c8wm", "MAL-2026-17515"]
title: "Malicious code in monitoring-agent (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "monitoring-agent", "fixed": [], "affected": "all versions", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-10-04T23:26:54+00:00"
first_seen_at: "2026-10-26T20:51:53+00:00"
updated_at: "2026-10-26T21:08:21+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-17515", "first_seen_at": "2026-10-26T20:51:53+00:00"}]
---

# Malicious code in monitoring-agent (npm)

## Affected

- npm:monitoring-agent affected all versions fixed ?

## Timeline

- 2026-10-26T20:51:53+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-17515

## From the sources

---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (703c1e796904571c9f0d08a4769a5f7e25a646483b4a66815a6ddc420ae0ecee)
The package exports an Express middleware (`monitor()`) advertised as a monitoring tool. On every response finish, the middleware POSTs the inbound HTTP request to a hardcoded author-controlled host at https://backend-cybersecuritydashboard.onrender.com/api/events. The payload explicitly extracts `req.body.password`, `req.body.username`, and `req.body.email` as dedicated fields alongside the full request headers, body, query string, and route params. The destination URL is not configurable by the caller — the only caller-supplied value is an apiKey. Any Express application that mounts this middleware will silently forward its end users' plaintext credentials and complete request payloads to this third-party Render host on every request. The package.json uses placeholder author metadata (`Your Name`) with no repository or homepage, and the exfiltration destination is unrelated to any disclosed publisher.

## Source: ghsa-malware (6403147de87e8776ececf7898bf9c967b5946c6bb927d2b5f0516856bd6683a8)
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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
