AI Slop Code Risk Monitor

reactnativecn/react-native-update

SlopCodeMonitor badge for reactnativecn/react-native-update Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

🚀 Blazing fast hot updates (OTA) for React Native — Hermes-optimized diff patches, crash rollback, staged rollout. A CodePush alternative for iOS / Android / HarmonyOS.

2.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

2.2
Adjusted Signal
2.2
Raw Pattern Score
100%
Time Factor
2026-10-21
Last Push
2.0K
Stars
TypeScript
Language
71.5K
Lines of Code
437
Files
133
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 9.5/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 131 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

Are imports declared and package/API names verified? 2 finding(s).

Agent Over-Engineering Ratio 2.0/100 · LOW

Are wrappers, guards, and repeated structures necessary? 24 finding(s).

PR Review Velocity Impact 9.9/100 · LOW

Which changes need focused human review? 133 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 2MEDIUM 3LOW 128

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block103 hits · 103 pts
SeverityFileLineSnippetContext
LOW…/harmony_use_pushy/harmony/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWExample/e2etest/scripts/build-harmony-e2e.sh1#!/usr/bin/env bashCOMMENT
LOWExample/e2etest/e2e/bundle-hash.test.ts1import { execSync } from 'node:child_process';COMMENT
LOWExample/e2etest/e2e/native/native-check.test.ts1import { by, device, element, waitFor } from 'detox';COMMENT
LOW…ePushy/ios/expoUsePushy/expoUsePushy-Bridging-Header.h1//COMMENT
LOWharmony/pushy/src/main/cpp/pushy.cpp1#include <napi/native_api.h>COMMENT
LOWharmony/pushy/src/main/cpp/PushyTurboModule.cpp1#include "PushyTurboModule.h"COMMENT
LOWharmony/pushy/src/main/ets/UpdateContext.ts101 private rootDir: string;COMMENT
LOWharmony/pushy/src/main/ets/MonotonicClock.ts1import { systemDateTime } from '@kit.BasicServicesKit';COMMENT
LOWios/RCTPushy/RCTPushy.mm1#import "RCTPushyInternal.h"COMMENT
LOWios/RCTPushy/RCTPushyCommon.h1// Internal to the RCTPushy pod and Foundation-only: what every translationCOMMENT
LOWios/RCTPushy/RCTPushyCommon.h21// plaintext http. Every https request (check and artifact) refuses thatCOMMENT
LOWios/RCTPushy/RCTPushyInstaller.mm1// The install pipeline shared by JS calls and the native round: downloadCOMMENT
LOWios/RCTPushy/RCTPushyInstaller.mm61COMMENT
LOWios/RCTPushy/RCTPushyInternal.h1// Internal to the RCTPushy pod: what the module's translation units share.COMMENT
LOWios/RCTPushy/RCTPushyInternal.h21#include <atomic>COMMENT
LOWios/RCTPushy/RCTPushyOrchestrator.mm1#import "RCTPushyInternal.h"COMMENT
LOWios/RCTPushy/RCTPushyOrchestrator.mm41#endifCOMMENT
LOWios/RCTPushy/RCTPushyOrchestrator.mm61static bool pushyPurgeRestoreWindowOpen = false;COMMENT
LOWios/RCTPushy/RCTPushyDownloader.mm1#import "RCTPushyDownloader.h"COMMENT
LOWios/RCTPushy/RCTPushy+Launch.mm1// Launch bundle resolution and the identity of the running binary: whichCOMMENT
LOWios/RCTPushy/RCTPushyState.mm1// Persisted update state: the defaults keys, the state lock, the State <->COMMENT
LOWios/RCTPushy/RCTPushyState.mm41PUSHY_HIDDEN NSString *const keyHashInfo = @"hash_";COMMENT
LOWcpp/patch_core/hbc_transform.h1#pragma onceCOMMENT
LOWcpp/patch_core/hbc_transform_wire.h1#pragma onceCOMMENT
LOWcpp/patch_core/resume_plan.h1#pragma onceCOMMENT
LOWcpp/patch_core/resume_plan.h21#pragma GCC visibility push(hidden)COMMENT
LOWcpp/patch_core/resume_plan.h41// process died between download end and unzip): nothing to transfer.COMMENT
LOWcpp/patch_core/resume_plan.h61// "persistSidecar":B} stream the body: appended at base (append) orCOMMENT
LOWcpp/patch_core/install_record.cpp1#include "install_record.h"COMMENT
LOWcpp/patch_core/digest.h1#pragma onceCOMMENT
LOWcpp/patch_core/patch_manifest.h1#pragma onceCOMMENT
LOWcpp/patch_core/patch_manifest.h21// "deletes": {"<path>": 1, ...}, ppk diffs onlyCOMMENT
LOWcpp/patch_core/patch_manifest.h41// error, never ignored: applying a transform-domain patch without theCOMMENT
LOWcpp/patch_core/obscured_text.h1#ifndef PUSHY_PATCH_CORE_OBSCURED_TEXT_H_COMMENT
LOWcpp/patch_core/install_record.h1#ifndef PUSHY_PATCH_CORE_INSTALL_RECORD_H_COMMENT
LOWcpp/patch_core/install_record.h21// re-verified at switchVersion time; artifactSha256 is the digest of theCOMMENT
LOWcpp/patch_core/install_record.h121// The second phase's second half: renames the sealed staging directory toCOMMENT
LOWcpp/patch_core/state_ops.h1#pragma onceCOMMENT
LOWcpp/patch_core/error_codes.h1#ifndef PUSHY_PATCH_CORE_ERROR_CODES_H_COMMENT
LOWcpp/patch_core/patch_core.cpp1#include "patch_core.h"COMMENT
LOWcpp/patch_core/native_texts.h1#ifndef PUSHY_PATCH_CORE_NATIVE_TEXTS_H_COMMENT
LOWcpp/patch_core/archive_limits.h1#ifndef PUSHY_PATCH_CORE_ARCHIVE_LIMITS_H_COMMENT
LOWcpp/patch_core/archive_limits.h21// - Harmony: zlib only reports the whole archive's expansion, soCOMMENT
LOWcpp/patch_core/archive_limits.h41// Sum of every entry's uncompressed size.COMMENT
LOWcpp/patch_core/archive_limits.h61constexpr long long kUnknownLengthFreeSpaceProbeBytes = 8LL * 1024 * 1024;COMMENT
LOWcpp/patch_core/archive_limits.h81// unknown is refused), the running total and whole-archive ratioCOMMENT
LOWcpp/patch_core/stored_items.h1#pragma onceCOMMENT
LOWcpp/patch_core/stored_items.h41struct MigrationPlan {COMMENT
LOWcpp/patch_core/archive_limits.cpp1#include "archive_limits.h"COMMENT
LOWcpp/patch_core/tests/hbc_transform_test.cpp1// hbc_transform 宿主机测试:COMMENT
LOWcpp/patch_core/tests/fuzz_hbc_transform_wire.cpp1// libFuzzer harness for the hbcTransform wire parser (untrusted __diff.jsonCOMMENT
LOWcpp/patch_core/tests/stored_items_test.cpp1// Replays tests/stored-items-vectors.json through cpp/patch_core/COMMENT
LOWcpp/patch_core/tests/patch_core_test.cpp1#include "../archive_limits.h"COMMENT
LOWcpp/patch_core/tests/fuzz_patch_manifest.cpp1// libFuzzer harness for the __diff.json parser (patch_manifest.h): the wholeCOMMENT
LOWcpp/android_jni/jni_util.h1#pragma onceCOMMENT
LOWcpp/android_jni/update_flow_jni.cpp1// JNI surface of the update-flow decision layer for the Android orchestratorCOMMENT
LOWcpp/android_jni/update_core_android.cpp1#include <jni.h>COMMENT
LOWcpp/android_jni/jni_natives.h1#ifndef PUSHY_ANDROID_JNI_NATIVES_H_COMMENT
LOWcpp/android_jni/stored_items_jni.cpp1// JNI surface of the persisted-layout migration (cpp/patch_core/COMMENT
43 more matches not shown…
Hyper-Verbose Identifiers24 hits · 30 pts
SeverityFileLineSnippetContext
LOWExample/e2etest/scripts/create-rn077-oldarch-project.js132function configureAndroidOldArchitecture() {CODE
LOW…mple/e2etest/scripts/prepare-local-update-artifacts.ts420async function generateAndroidPackageDiff(CODE
LOW…mple/e2etest/scripts/prepare-local-update-artifacts.ts445async function generateHarmonyPackageDiff(v3: string) {CODE
LOWExample/e2etest/e2e/local-merge.test.ts28async function relaunchAppPreservingData() {CODE
LOWExample/e2etest/e2e/local-merge.test.ts51async function tapCheckUpdateAndWaitForBundleLabel(expectedLabel: string) {CODE
LOWExample/e2etest/e2e/bundle-hash.test.ts72function readAndroidCachedBundleHash(CODE
LOWExample/e2etest/e2e/globalSetup.ts105function usesFullFallbackArtifacts(platform: string) {CODE
LOWExample/e2etest/e2e/native/native-check.test.ts32async function relaunchAppPreservingData() {CODE
LOWExample/e2etest/e2e/harmony/local-update.test.ts77async function tapCheckUpdateAndWaitForBundleLabel(expectedLabel: string) {CODE
LOWharmony/pushy/src/main/ets/InstallRecord.ts75export async function verifyInstallForActivation(CODE
LOWharmony/pushy/src/main/ets/PushyPackageFactory.ts7export function createPushyTurboModuleFactoryMap(): Map<CODE
LOWharmony/pushy/src/main/ets/PushyConfiguration.ts25export function normalizePushyConfiguration(options: PushyConfiguration): string {CODE
LOW⚡scripts/tests/ios-purge-restore/test_extract.py8 def test_preserves_offsets_and_lines(self):CODE
LOW⚡scripts/tests/ios-purge-restore/test_extract.py16 def test_skips_prototype_and_keeps_body_verbatim(self):CODE
LOW⚡scripts/tests/ios-purge-restore/test_extract.py23 def test_objc_declaration_and_definition(self):CODE
LOW⚡scripts/tests/ios-purge-restore/test_extract.py27 def test_objc_class_method_is_not_an_instance_method(self):CODE
LOW⚡scripts/tests/ios-purge-restore/test_extract.py31 def test_header_extern_is_not_a_definition(self):CODE
LOW⚡scripts/tests/ios-purge-restore/test_extract.py39 def test_objc_no_argument_method(self):CODE
LOW⚡scripts/tests/ios-purge-restore/test_extract.py42 def test_exported_reset_method(self):CODE
LOW⚡scripts/tests/ios-purge-restore/test_extract.py46 def test_struct_definition_keeps_its_terminator(self):CODE
LOW⚡scripts/tests/ios-purge-restore/test_extract.py51 def test_static_initializers_and_string_contents(self):CODE
LOW⚡scripts/tests/ios-purge-restore/test_extract.py57 def test_missing_duplicate_or_unbalanced_source_fails_closed(self):CODE
LOW⚡scripts/tests/ios-purge-restore/test_extract.py65 def test_mutations_fail_on_source_drift(self):CODE
LOWsrc/updateFlowCore.ts445export function shouldActivateAfterDownload(CODE
Cross-Language Confusion2 hits · 12 pts
SeverityFileLineSnippetContext
HIGH⚡scripts/tests/ios-purge-restore/test_extract.py73 mutate('if (grandfathered && state == Record::State::kAbsent) {', 'grandfather-recorded'),CODE
HIGHscripts/tests/ios-purge-restore/extract.py165 r'if \(grandfathered && state == Record::State::kAbsent\)', 'if (grandfathered)'),CODE
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMios/RCTPushy/RCTPushyOrchestrator.mm219#pragma mark - native cold-start check orchestrationCOMMENT
MEDIUMscripts/test-ios-purge-restore.sh19# This is an orchestration test, not a stricter product warning gate. KeepCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…/reactnative/modules/update/BundledResourceCopier.java152 // Content (CRC32) match: robust across APK/AAB packaging becauseCOMMENT
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/tests/ios-purge-restore/extract.py220CODE