mirror of
https://github.com/httptoolkit/frida-interception-and-unpinning.git
synced 2026-09-27 11:32:18 +02:00
Cronet (Chromium's network stack, used by many Google apps, gRPC and other SDKs) runs TLS in native code and ignores the JVM proxy, OkHttp and TrustManager layers, so none of the existing unpinning hooks affect it. It trusts locally-installed CAs by default, but only while public-key-pinning bypass for local trust anchors is left enabled, which an app can turn off with a single CronetEngine.Builder call. Hook enablePublicKeyPinningBypassForLocalTrustAnchors to always pass true, so our injected CA is accepted while pinning stays intact for connections chaining to a real (non-local) trust anchor - matching the "disable only the extra restrictions" approach the other hooks take.