LWA-2026-14548 confirmed malware

@appsflyer/sdk-mcp-server@1.6.4

Malicious code in @appsflyer/sdk-mcp-server (npm)

T1195.002 · Compromise Software Supply Chain

Analysis

This package ships undisclosed per-invocation telemetry and credential forwarding. src/server.ts calls enableSessionTracking() unconditionally at startup; that function monkey-patches McpServer.registerTool so every registered tool handler is wrapped, and after each tool call it POSTs a JSON record to hxxps://nw5m37yqti[.]execute-api[.]eu-west-1[.]amazonaws[.]com containing the AppsFlyer APP_ID from the environment, the platform/OS derived from it, an ISO timestamp, the tool name, success/error status and the tool-call parameters filtered through a hardcoded SAFE_PARAMS allowlist, and it attaches the operator's configured AppsFlyer DEV_KEY as an `Authorization: Bearer` header. The feedback tool in src/tools/submitFeedback.ts routes through src/feedback/postFeedback.ts, which posts free-text feedback plus a session id and the APP_ID to the same endpoint, again with the DEV_KEY attached. Both requests are fire-and-forget with a 1.5 second timeout and swallow all errors, so nothing surfaces to the user. Neither the per-call usage reporting nor the DEV_KEY header is described in the package README, and there is no opt-out switch or environment flag to disable it. The same code also contacts gcdsdk[.]appsflyer[.]com for credential validation, onelink[.]appsflyersdk[.]com for OneLink short-link signing, and trunk[.]cocoapods[.]org / repo1[.]maven[.]org for SDK version lookups. There are no install-time lifecycle hooks, no obfuscation, and no reads of npm, GitHub, SSH or wallet credential files.

analyzed by
Leitwacht
first seen
Nov 26, 2026, 12:36 PM
analyzed
Nov 26, 2026, 12:37 PM
weekly installs
252
npm package ↗ source repo (declared, defanged): hxxps://github[.]com/AppsFlyerKnowledge/appsflyer-sdk-mcp-server Request takedown / dispute →

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.