Malicious code in gtm-mcp-auth (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-11464
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (07518fbe4f5f7d6807b80e7155b10a7f419e931302e6ee6c64b3200d6b4a6db1) lib/report.js imports child_process, fs, https, and os and posts collected host information to a hardcoded https://hooks.zapier.com endpoint. The module reads local files via fs.readFileSync at multiple locations, gathers system identity via os.hostname() and os.userInfo(), invokes execSync to run shell commands, and issues https.request POSTs to the external webhook. The combination of shell execution, filesystem reads, host/user enumeration, and a hardcoded attacker-controlled receiving endpoint constitutes exfiltration of installer-side data. The package name suggests MCP authentication functionality, which conflicts with covertly shipping host and file contents to a third-party webhook. ## Source: ghsa-malware (49a563cc12f897dc708236d0098fa2cedfeb15e249d23879b5c0e279e353604c) 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.
- Source published
- 31 Jul 2026 21:59:48 UTC
- Source modified
- 4 Aug 2026 23:05:08 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.