Linux shell for iOS
This report presents the forensic synthetic code analysis of ish-app/ish, a C project with 20,125 GitHub stars. SynthScan v2.0 examined 50,976 lines of code across 333 source files, recording 153 pattern matches distributed across 2 syntactic categories. The overall adjusted score of 3.0 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 153 distinct pattern matches across 2 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | xX_main_Xx.h | 1 | #include <string.h> | COMMENT |
| LOW | debug.h | 1 | #ifndef UTIL_DEBUG_H | COMMENT |
| LOW | debug.h | 21 | #define DEBUG_instr DEBUG_all | COMMENT |
| LOW | debug.h | 41 | #define TRACE_instr TRACE__NOP | COMMENT |
| LOW | debug.h | 61 | #define TRACE__NOP(msg, ...) if (log_override) { TRACE__(msg, ##__VA_ARGS__); } | COMMENT |
| LOW | debug.h | 81 | #if defined(__i386__) || defined(__x86_64__) | COMMENT |
| LOW | misc.h | 1 | #ifndef MISC_H | COMMENT |
| LOW | misc.h | 21 | #define _str(x) #x | COMMENT |
| LOW | misc.h | 41 | #define forceinline inline __attribute__((always_inline)) | COMMENT |
| LOW | misc.h | 61 | #if has_attribute(no_sanitize) | COMMENT |
| LOW | misc.h | 121 | typedef dword_t time_t_; | COMMENT |
| LOW | emu/float80.c | 1 | #include <assert.h> | COMMENT |
| LOW | emu/mmu.h | 1 | #ifndef EMU_CPU_MEM_H | COMMENT |
| LOW | emu/mmu.h | 41 | #endif | COMMENT |
| LOW | emu/interrupt.h | 1 | // Intel standard interrupts | COMMENT |
| LOW | emu/float80-test.c | 1 | #include <stdio.h> | COMMENT |
| LOW | emu/decode.h | 1 | #include "misc.h" | COMMENT |
| LOW | tools/undefined-flags.c | 1 | #include "emu/modrm.h" | COMMENT |
| LOW | tools/ptutil.c | 1 | #define _GNU_SOURCE | COMMENT |
| LOW | tools/vdso-transplant-main.c | 1 | // Run a process but replace the vdso with the one in the given file. | COMMENT |
| LOW | tools/ptraceomatic-config.h | 1 | #define VVAR_PAGES 4 | COMMENT |
| LOW | tools/ptraceomatic.c | 1 | // Fun little utility that single-steps a program using ptrace and | COMMENT |
| LOW | tools/ptraceomatic.c | 21 | #include "fs/fd.h" | COMMENT |
| LOW | tools/fakefs.c | 1 | #include <errno.h> | COMMENT |
| LOW | tools/vdso-transplant.c | 1 | // Uses ptrace to overwrite the vdso of a running process. | COMMENT |
| LOW | tools/unicornomatic.c | 1 | // Runs a program simultaneously in ish and unicorn, single steps, and asserts | COMMENT |
| LOW | app/LinuxTTY.c | 1 | // | COMMENT |
| LOW | app/UpgradeRootViewController.m | 1 | // | COMMENT |
| LOW | app/AppGroup.h | 1 | // | COMMENT |
| LOW | app/LinuxInterop.h | 1 | // | COMMENT |
| LOW | app/PasteboardDevice.m | 1 | #include <string.h> | COMMENT |
| LOW | app/Roots.m | 1 | // | COMMENT |
| LOW | app/AboutViewController.m | 1 | // | COMMENT |
| LOW | app/AboutAppearanceViewController.m | 1 | // | COMMENT |
| LOW | app/AccessibilityFixes.m | 1 | // | COMMENT |
| LOW | app/Terminal.m | 1 | // | COMMENT |
| LOW | app/LinuxPTY.c | 1 | // | COMMENT |
| LOW | app/CurrentRoot.h | 21 | /// An integer representing the current major version of the apk repositories. An upgrade will be run if the number in / | COMMENT |
| LOW | app/LocationDevice.m | 1 | // | COMMENT |
| LOW | app/hook.h | 1 | // | COMMENT |
| LOW | app/ExceptionExfiltrator.m | 1 | // | COMMENT |
| LOW | app/iOSFS.m | 1 | // | COMMENT |
| LOW | app/PasteboardDeviceLinux.c | 1 | // | COMMENT |
| LOW | app/LinuxInterop.c | 1 | // | COMMENT |
| LOW | app/AppGroup.m | 1 | // | COMMENT |
| LOW | app/LinuxRoot.c | 1 | // | COMMENT |
| LOW | app/Terminal.h | 1 | // | COMMENT |
| LOW | app/AppDelegate.m | 1 | // | COMMENT |
| LOW | app/AppDelegate.m | 21 | #import "NSObject+SaneKVO.h" | COMMENT |
| LOW | app/RootsTableViewController.m | 1 | // | COMMENT |
| LOW | app/TerminalView.m | 1 | // | COMMENT |
| LOW | app/UserPreferences.m | 1 | // | COMMENT |
| LOW | app/hook.c | 1 | // | COMMENT |
| LOW | app/LocationDevice.h | 1 | // | COMMENT |
| LOW | app/TerminalViewController.m | 1 | // | COMMENT |
| LOW | app/CurrentRoot.m | 1 | // | COMMENT |
| LOW | app/IOSCalls.m | 1 | // | COMMENT |
| LOW | app/ExceptionExfiltrator.h | 1 | // | COMMENT |
| LOW | app/ThemesViewController.m | 1 | // | COMMENT |
| LOW | app/FileProvider/FileProviderExtension.m | 1 | // | COMMENT |
| 92 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | app/CurrentRoot.m | 91 | NSMutableData *repositoriesData = [@"# This file contains pinned repositories managed by iSH. If the /ish direct | CODE |