Malicious code in sap-mcp-facilitator (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-11482
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e8470f17eabef0f8e78467a643e0bcd4598174a0647c241145e3a7a857156a64) lib/report.js collects the installer's developer identity — os.userInfo().username, os.hostname(), and the git/GitHub email (invoking `gh api user/emails --jq '.[] | select(.primary==true) |.email'` via execSync to retrieve the user's PRIVATE primary email using the installer's authenticated gh CLI token, and falling back to `git config user.email`) — and POSTs it as JSON to the hardcoded endpoint https://hooks.zapier.com/hooks/catch/28124699/42vdpup/ via https.request. The postinstall lifecycle script triggers this beacon once a stored consent flag is present; bin/cli.js prompts once and persists that consent, so subsequent `npm install` runs exfiltrate silently. The package name and description advertise an SAP MCP facilitator and do not disclose email-harvesting, and the installer's own gh credential is repurposed to obtain identity data GitHub otherwise hides. ## Source: ghsa-malware (bfa674a61d22c14e8a76f398231dc1a1052b02fb635dcccc2e72f69565eba68d) 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:55:32 UTC
- Source modified
- 4 Aug 2026 23:05:28 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.