high · M7 · MASVS-CODE-4 · PTKD-REVIEW-REMOTE-CODE

    Framework that downloads and runs code after review

    The app includes a hot-patch framework that downloads code and runs it after App Review. Apple rejects and has removed apps for this (JSPatch, Rollout). It is also a remote-code-execution channel if its server or transport is compromised.

    How it is exploited

    A hot-patch SDK downloads a script at launch and swaps method implementations. Apple scans for these frameworks; separately, anyone who can tamper with the patch server or its TLS can run code in every installed copy.

    Why it matters

    Rejection or removal under 2.5.2, and a remote-code-execution path into the app.

    How to fix it

    1. Remove the SDK and its runtime.
    2. Ship native fixes through App Review (expedited review exists for critical bugs).
    3. Limit OTA updates to JavaScript bundles through Expo Updates/CodePush, signed, within Apple's rules.

    Does your app have this?

    PTKD checks your build or your source project for PTKD-REVIEW-REMOTE-CODE and every other check in this knowledge base.

    Scan your app

    References

    Related checks (M7)