A software update framework for macOS
This report presents the forensic synthetic code analysis of sparkle-project/Sparkle, a Objective-C project with 9,371 GitHub stars. SynthScan v2.0 examined 51,480 lines of code across 352 source files, recording 194 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 4.2 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 194 distinct pattern matches across 5 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 | InstallerConnection/SUInstallerConnectionProtocol.h | 1 | // | COMMENT |
| LOW | InstallerConnection/SUXPCInstallerConnection.h | 1 | // | COMMENT |
| LOW | InstallerConnection/SUXPCInstallerConnection.m | 1 | // | COMMENT |
| LOW | InstallerConnection/main.m | 1 | // | COMMENT |
| LOW | InstallerConnection/SUInstallerConnection.h | 1 | // | COMMENT |
| LOW | UITests/SUTestApplicationTest.swift | 1 | // | COMMENT |
| LOW | BinaryDelta/Bridging-Header.h | 1 | // | COMMENT |
| LOW | InstallerStatus/SUInstallerStatusProtocol.h | 1 | // | COMMENT |
| LOW | InstallerStatus/SUXPCInstallerStatus.h | 1 | // | COMMENT |
| LOW | InstallerLauncher/SUInstallerLauncher+Private.h | 1 | // | COMMENT |
| LOW | InstallerLauncher/SUInstallerLauncher.m | 1 | // | COMMENT |
| LOW | InstallerLauncher/SUInstallerLauncher.m | 141 | // See Apple's 'EvenBetterAuthorizationSample' sample code and | COMMENT |
| LOW | InstallerLauncher/main.m | 1 | // | COMMENT |
| LOW | InstallerLauncher/SUInstallerLauncherProtocol.h | 1 | // | COMMENT |
| LOW | InstallerLauncher/SUInstallerLauncher.h | 1 | // | COMMENT |
| LOW | generate_appcast/URL+Hashing.swift | 1 | // | COMMENT |
| LOW | generate_appcast/Bridging-Header.h | 1 | #import <Foundation/Foundation.h> | COMMENT |
| LOW | Tests/SUUpdaterTest.m | 1 | // | COMMENT |
| LOW | Tests/SUInstallerTest.m | 1 | // | COMMENT |
| LOW | Tests/SUVersionComparisonTest.m | 1 | // | COMMENT |
| LOW | Tests/Sparkle Unit Tests-Bridging-Header.h | 1 | // | COMMENT |
| LOW | Tests/SUSignatureVerifierTest.m | 1 | // | COMMENT |
| LOW | Tests/SUCodeSigningVerifierTest.m | 1 | // | COMMENT |
| LOW | Tests/SUBinaryDeltaTest.m | 1 | // | COMMENT |
| LOW | sign_update/Bridging-Header.h | 1 | #import <Foundation/Foundation.h> | COMMENT |
| LOW | Autoupdate/SUBinaryDeltaApply.h | 1 | // | COMMENT |
| LOW | Autoupdate/SPUInstallationInputData.m | 1 | // | COMMENT |
| LOW | Autoupdate/SPUDeltaArchive.m | 1 | // | COMMENT |
| LOW | Autoupdate/SUFlatPackageUnarchiver.m | 1 | // | COMMENT |
| LOW | Autoupdate/SUPipedUnarchiver.h | 1 | // | COMMENT |
| LOW | Autoupdate/SUBinaryDeltaCreate.m | 1 | // | COMMENT |
| LOW | Autoupdate/SUBinaryDeltaUnarchiver.h | 1 | // | COMMENT |
| LOW | Autoupdate/SUBinaryDeltaCommon.m | 1 | // | COMMENT |
| LOW | Autoupdate/SPUXarDeltaArchive.h | 1 | // | COMMENT |
| LOW | Autoupdate/SPUDeltaArchiveProtocol.h | 1 | // | COMMENT |
| LOW | Autoupdate/SUDiskImageUnarchiver.h | 1 | // | COMMENT |
| LOW | Autoupdate/AppInstaller.m | 1 | // | COMMENT |
| LOW | Autoupdate/AppInstaller.m | 21 | #import "SUFileManager.h" | COMMENT |
| LOW | Autoupdate/SPUSparkleDeltaArchive.m | 1 | // | COMMENT |
| LOW | Autoupdate/SUSignatureVerifier.m | 1 | // | COMMENT |
| LOW | Autoupdate/SUCodeSigningVerifier.h | 1 | // | COMMENT |
| LOW | Autoupdate/SUInstallerProtocol.h | 1 | // | COMMENT |
| LOW | Autoupdate/SUFlatPackageUnarchiver.h | 1 | // | COMMENT |
| LOW | Autoupdate/SUGuidedPackageInstaller.m | 1 | // | COMMENT |
| LOW | Autoupdate/SUBinaryDeltaApply.m | 1 | // | COMMENT |
| LOW | Autoupdate/SUBinaryDeltaCreate.h | 1 | // | COMMENT |
| LOW | Autoupdate/SUPipedUnarchiver.m | 1 | // | COMMENT |
| LOW | Autoupdate/SUPlainInstaller.m | 1 | // | COMMENT |
| LOW | Autoupdate/SPUMessageTypes.m | 1 | // | COMMENT |
| LOW | Autoupdate/SUUnarchiver.m | 1 | // | COMMENT |
| LOW | Autoupdate/SUDiskImageUnarchiver.m | 1 | // | COMMENT |
| LOW | Autoupdate/SPUXarDeltaArchive.m | 1 | // | COMMENT |
| LOW | Autoupdate/SPUXarDeltaArchive.m | 21 | #define HAS_XAR_GET_SAFE_PATH 1 | COMMENT |
| LOW | Autoupdate/SUBinaryDeltaCommon.h | 1 | // | COMMENT |
| LOW | Autoupdate/SUBinaryDeltaCommon.h | 21 | COMMENT | |
| LOW | Autoupdate/SUBinaryDeltaUnarchiver.m | 1 | // | COMMENT |
| LOW | Autoupdate/StatusInfo.m | 1 | // | COMMENT |
| LOW | Autoupdate/SUInstaller.m | 1 | // | COMMENT |
| LOW | Autoupdate/SUCodeSigningVerifier.m | 1 | // | COMMENT |
| LOW | Autoupdate/SUSignatureVerifier.h | 1 | // | COMMENT |
| 115 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | common_cli/Signing.swift | 74 | print("Error: failed to parse XML data: \(error)") | CODE |
| MEDIUM | generate_appcast/Appcast.swift | 215 | print("Error: could not sign \(update.archivePath.path) due to lack of private EdDSA key") | CODE |
| MEDIUM | generate_appcast/ArchiveItem.swift | 469 | print("Error: failed to read release notes as UTF8 string: \(path.lastPathComponent)") | CODE |
| MEDIUM⚡ | generate_appcast/main.swift | 26 | print("Error: specifying private key as the argument is no longer supported.") | CODE |
| MEDIUM⚡ | generate_appcast/main.swift | 29 | print("Error: Private key not decoded from the argument, which has \(data.count) bytes. Please provide a | CODE |
| MEDIUM⚡ | generate_appcast/main.swift | 33 | print("Error: Private key not decoded from the argument because it isn't base64 encoded. Please provide a va | CODE |
| MEDIUM | generate_appcast/main.swift | 50 | print("Error: Failed to base64 decode secret data from keychain") | CODE |
| MEDIUM | generate_appcast/main.swift | 60 | print("Error: Failed to decode private and public keys from secret data") | CODE |
| MEDIUM | generate_appcast/main.swift | 358 | print("Error generating appcast from directory", archivesSourceDir.path, "\n", error) | STRING |
| MEDIUM⚡ | sign_update/main.swift | 206 | print("Error: failed to extract signature from appcast. Is the appcast signed?") | CODE |
| MEDIUM⚡ | sign_update/main.swift | 214 | print("Error: failed to decode base64 signature: \(base64Signature)") | CODE |
| MEDIUM⚡ | sign_update/main.swift | 220 | print("Error: signature passed in has an invalid byte count.") | CODE |
| MEDIUM⚡ | sign_update/main.swift | 228 | print("Error: failed to pass signing verification.") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Sparkle/SULog.m | 33 | // And we don't really leverage of os_log's deferred formatting processing because we format the string before passi | COMMENT |
| MEDIUM | Vendor/bsdiff/sais.c | 46 | // changing a nuanced behavior, I'm assuming the file has been time-tested and | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Configurations/update-carthage.py | 3 | CODE | |
| LOW | Configurations/generate_latest_changes.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | TestApplication/sparkletestcast.xml | 19 | <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li> | CODE |
| LOW | TestApplication/sparkletestcast.xml | 19 | <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li> | CODE |