🚀 Blazing fast hot updates (OTA) for React Native — Hermes-optimized diff patches, crash rollback, staged rollout. A CodePush alternative for iOS / Android / HarmonyOS.
This report summarizes scanner evidence for reactnativecn/react-native-update, a TypeScript project with 1,987 GitHub stars. SynthScan examined 71,471 lines of code across 437 source files, recording 133 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 2.2 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 131 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 24 finding(s).
Which changes need focused human review? 133 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 133 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/harmony_use_pushy/harmony/entry/obfuscation-rules.txt | 1 | # Define project specific obfuscation rules here. | COMMENT |
| LOW | Example/e2etest/scripts/build-harmony-e2e.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | Example/e2etest/e2e/bundle-hash.test.ts | 1 | import { execSync } from 'node:child_process'; | COMMENT |
| LOW | Example/e2etest/e2e/native/native-check.test.ts | 1 | import { by, device, element, waitFor } from 'detox'; | COMMENT |
| LOW | …ePushy/ios/expoUsePushy/expoUsePushy-Bridging-Header.h | 1 | // | COMMENT |
| LOW | harmony/pushy/src/main/cpp/pushy.cpp | 1 | #include <napi/native_api.h> | COMMENT |
| LOW | harmony/pushy/src/main/cpp/PushyTurboModule.cpp | 1 | #include "PushyTurboModule.h" | COMMENT |
| LOW | harmony/pushy/src/main/ets/UpdateContext.ts | 101 | private rootDir: string; | COMMENT |
| LOW | harmony/pushy/src/main/ets/MonotonicClock.ts | 1 | import { systemDateTime } from '@kit.BasicServicesKit'; | COMMENT |
| LOW | ios/RCTPushy/RCTPushy.mm | 1 | #import "RCTPushyInternal.h" | COMMENT |
| LOW | ios/RCTPushy/RCTPushyCommon.h | 1 | // Internal to the RCTPushy pod and Foundation-only: what every translation | COMMENT |
| LOW | ios/RCTPushy/RCTPushyCommon.h | 21 | // plaintext http. Every https request (check and artifact) refuses that | COMMENT |
| LOW | ios/RCTPushy/RCTPushyInstaller.mm | 1 | // The install pipeline shared by JS calls and the native round: download | COMMENT |
| LOW | ios/RCTPushy/RCTPushyInstaller.mm | 61 | COMMENT | |
| LOW | ios/RCTPushy/RCTPushyInternal.h | 1 | // Internal to the RCTPushy pod: what the module's translation units share. | COMMENT |
| LOW | ios/RCTPushy/RCTPushyInternal.h | 21 | #include <atomic> | COMMENT |
| LOW | ios/RCTPushy/RCTPushyOrchestrator.mm | 1 | #import "RCTPushyInternal.h" | COMMENT |
| LOW | ios/RCTPushy/RCTPushyOrchestrator.mm | 41 | #endif | COMMENT |
| LOW | ios/RCTPushy/RCTPushyOrchestrator.mm | 61 | static bool pushyPurgeRestoreWindowOpen = false; | COMMENT |
| LOW | ios/RCTPushy/RCTPushyDownloader.mm | 1 | #import "RCTPushyDownloader.h" | COMMENT |
| LOW | ios/RCTPushy/RCTPushy+Launch.mm | 1 | // Launch bundle resolution and the identity of the running binary: which | COMMENT |
| LOW | ios/RCTPushy/RCTPushyState.mm | 1 | // Persisted update state: the defaults keys, the state lock, the State <-> | COMMENT |
| LOW | ios/RCTPushy/RCTPushyState.mm | 41 | PUSHY_HIDDEN NSString *const keyHashInfo = @"hash_"; | COMMENT |
| LOW | cpp/patch_core/hbc_transform.h | 1 | #pragma once | COMMENT |
| LOW | cpp/patch_core/hbc_transform_wire.h | 1 | #pragma once | COMMENT |
| LOW | cpp/patch_core/resume_plan.h | 1 | #pragma once | COMMENT |
| LOW | cpp/patch_core/resume_plan.h | 21 | #pragma GCC visibility push(hidden) | COMMENT |
| LOW | cpp/patch_core/resume_plan.h | 41 | // process died between download end and unzip): nothing to transfer. | COMMENT |
| LOW | cpp/patch_core/resume_plan.h | 61 | // "persistSidecar":B} stream the body: appended at base (append) or | COMMENT |
| LOW | cpp/patch_core/install_record.cpp | 1 | #include "install_record.h" | COMMENT |
| LOW | cpp/patch_core/digest.h | 1 | #pragma once | COMMENT |
| LOW | cpp/patch_core/patch_manifest.h | 1 | #pragma once | COMMENT |
| LOW | cpp/patch_core/patch_manifest.h | 21 | // "deletes": {"<path>": 1, ...}, ppk diffs only | COMMENT |
| LOW | cpp/patch_core/patch_manifest.h | 41 | // error, never ignored: applying a transform-domain patch without the | COMMENT |
| LOW | cpp/patch_core/obscured_text.h | 1 | #ifndef PUSHY_PATCH_CORE_OBSCURED_TEXT_H_ | COMMENT |
| LOW | cpp/patch_core/install_record.h | 1 | #ifndef PUSHY_PATCH_CORE_INSTALL_RECORD_H_ | COMMENT |
| LOW | cpp/patch_core/install_record.h | 21 | // re-verified at switchVersion time; artifactSha256 is the digest of the | COMMENT |
| LOW | cpp/patch_core/install_record.h | 121 | // The second phase's second half: renames the sealed staging directory to | COMMENT |
| LOW | cpp/patch_core/state_ops.h | 1 | #pragma once | COMMENT |
| LOW | cpp/patch_core/error_codes.h | 1 | #ifndef PUSHY_PATCH_CORE_ERROR_CODES_H_ | COMMENT |
| LOW | cpp/patch_core/patch_core.cpp | 1 | #include "patch_core.h" | COMMENT |
| LOW | cpp/patch_core/native_texts.h | 1 | #ifndef PUSHY_PATCH_CORE_NATIVE_TEXTS_H_ | COMMENT |
| LOW | cpp/patch_core/archive_limits.h | 1 | #ifndef PUSHY_PATCH_CORE_ARCHIVE_LIMITS_H_ | COMMENT |
| LOW | cpp/patch_core/archive_limits.h | 21 | // - Harmony: zlib only reports the whole archive's expansion, so | COMMENT |
| LOW | cpp/patch_core/archive_limits.h | 41 | // Sum of every entry's uncompressed size. | COMMENT |
| LOW | cpp/patch_core/archive_limits.h | 61 | constexpr long long kUnknownLengthFreeSpaceProbeBytes = 8LL * 1024 * 1024; | COMMENT |
| LOW | cpp/patch_core/archive_limits.h | 81 | // unknown is refused), the running total and whole-archive ratio | COMMENT |
| LOW | cpp/patch_core/stored_items.h | 1 | #pragma once | COMMENT |
| LOW | cpp/patch_core/stored_items.h | 41 | struct MigrationPlan { | COMMENT |
| LOW | cpp/patch_core/archive_limits.cpp | 1 | #include "archive_limits.h" | COMMENT |
| LOW | cpp/patch_core/tests/hbc_transform_test.cpp | 1 | // hbc_transform 宿主机测试: | COMMENT |
| LOW | cpp/patch_core/tests/fuzz_hbc_transform_wire.cpp | 1 | // libFuzzer harness for the hbcTransform wire parser (untrusted __diff.json | COMMENT |
| LOW | cpp/patch_core/tests/stored_items_test.cpp | 1 | // Replays tests/stored-items-vectors.json through cpp/patch_core/ | COMMENT |
| LOW | cpp/patch_core/tests/patch_core_test.cpp | 1 | #include "../archive_limits.h" | COMMENT |
| LOW | cpp/patch_core/tests/fuzz_patch_manifest.cpp | 1 | // libFuzzer harness for the __diff.json parser (patch_manifest.h): the whole | COMMENT |
| LOW | cpp/android_jni/jni_util.h | 1 | #pragma once | COMMENT |
| LOW | cpp/android_jni/update_flow_jni.cpp | 1 | // JNI surface of the update-flow decision layer for the Android orchestrator | COMMENT |
| LOW | cpp/android_jni/update_core_android.cpp | 1 | #include <jni.h> | COMMENT |
| LOW | cpp/android_jni/jni_natives.h | 1 | #ifndef PUSHY_ANDROID_JNI_NATIVES_H_ | COMMENT |
| LOW | cpp/android_jni/stored_items_jni.cpp | 1 | // JNI surface of the persisted-layout migration (cpp/patch_core/ | COMMENT |
| 43 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Example/e2etest/scripts/create-rn077-oldarch-project.js | 132 | function configureAndroidOldArchitecture() { | CODE |
| LOW | …mple/e2etest/scripts/prepare-local-update-artifacts.ts | 420 | async function generateAndroidPackageDiff( | CODE |
| LOW | …mple/e2etest/scripts/prepare-local-update-artifacts.ts | 445 | async function generateHarmonyPackageDiff(v3: string) { | CODE |
| LOW | Example/e2etest/e2e/local-merge.test.ts | 28 | async function relaunchAppPreservingData() { | CODE |
| LOW | Example/e2etest/e2e/local-merge.test.ts | 51 | async function tapCheckUpdateAndWaitForBundleLabel(expectedLabel: string) { | CODE |
| LOW | Example/e2etest/e2e/bundle-hash.test.ts | 72 | function readAndroidCachedBundleHash( | CODE |
| LOW | Example/e2etest/e2e/globalSetup.ts | 105 | function usesFullFallbackArtifacts(platform: string) { | CODE |
| LOW | Example/e2etest/e2e/native/native-check.test.ts | 32 | async function relaunchAppPreservingData() { | CODE |
| LOW | Example/e2etest/e2e/harmony/local-update.test.ts | 77 | async function tapCheckUpdateAndWaitForBundleLabel(expectedLabel: string) { | CODE |
| LOW | harmony/pushy/src/main/ets/InstallRecord.ts | 75 | export async function verifyInstallForActivation( | CODE |
| LOW | harmony/pushy/src/main/ets/PushyPackageFactory.ts | 7 | export function createPushyTurboModuleFactoryMap(): Map< | CODE |
| LOW | harmony/pushy/src/main/ets/PushyConfiguration.ts | 25 | export function normalizePushyConfiguration(options: PushyConfiguration): string { | CODE |
| LOW⚡ | scripts/tests/ios-purge-restore/test_extract.py | 8 | def test_preserves_offsets_and_lines(self): | CODE |
| LOW⚡ | scripts/tests/ios-purge-restore/test_extract.py | 16 | def test_skips_prototype_and_keeps_body_verbatim(self): | CODE |
| LOW⚡ | scripts/tests/ios-purge-restore/test_extract.py | 23 | def test_objc_declaration_and_definition(self): | CODE |
| LOW⚡ | scripts/tests/ios-purge-restore/test_extract.py | 27 | def test_objc_class_method_is_not_an_instance_method(self): | CODE |
| LOW⚡ | scripts/tests/ios-purge-restore/test_extract.py | 31 | def test_header_extern_is_not_a_definition(self): | CODE |
| LOW⚡ | scripts/tests/ios-purge-restore/test_extract.py | 39 | def test_objc_no_argument_method(self): | CODE |
| LOW⚡ | scripts/tests/ios-purge-restore/test_extract.py | 42 | def test_exported_reset_method(self): | CODE |
| LOW⚡ | scripts/tests/ios-purge-restore/test_extract.py | 46 | def test_struct_definition_keeps_its_terminator(self): | CODE |
| LOW⚡ | scripts/tests/ios-purge-restore/test_extract.py | 51 | def test_static_initializers_and_string_contents(self): | CODE |
| LOW⚡ | scripts/tests/ios-purge-restore/test_extract.py | 57 | def test_missing_duplicate_or_unbalanced_source_fails_closed(self): | CODE |
| LOW⚡ | scripts/tests/ios-purge-restore/test_extract.py | 65 | def test_mutations_fail_on_source_drift(self): | CODE |
| LOW | src/updateFlowCore.ts | 445 | export function shouldActivateAfterDownload( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | scripts/tests/ios-purge-restore/test_extract.py | 73 | mutate('if (grandfathered && state == Record::State::kAbsent) {', 'grandfather-recorded'), | CODE |
| HIGH | scripts/tests/ios-purge-restore/extract.py | 165 | r'if \(grandfathered && state == Record::State::kAbsent\)', 'if (grandfathered)'), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ios/RCTPushy/RCTPushyOrchestrator.mm | 219 | #pragma mark - native cold-start check orchestration | COMMENT |
| MEDIUM | scripts/test-ios-purge-restore.sh | 19 | # This is an orchestration test, not a stricter product warning gate. Keep | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/reactnative/modules/update/BundledResourceCopier.java | 152 | // Content (CRC32) match: robust across APK/AAB packaging because | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/tests/ios-purge-restore/extract.py | 220 | CODE |