self-hosted, distributed Durable Objects
This report presents the forensic synthetic code analysis of denoland/celld, a Rust project with 2,677 GitHub stars. SynthScan v2.0 examined 70,574 lines of code across 105 source files, recording 278 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 7.2 places this repository in the Low AI signal 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 278 distinct pattern matches across 8 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 |
|---|---|---|---|---|
| MEDIUM | crates/ltx/tests/faults_inject.rs | 34 | // ── oracle / env helpers ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/faults_inject.rs | 97 | // ── a real replicated L0 chain to damage ──────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/faults_inject.rs | 289 | // ── On-disk byte-level fault injection against a real chain ────────────────── | COMMENT |
| MEDIUM⚡ | crates/ltx/tests/litestream_helpers.rs | 133 | // ── TestLTXDir / TestLTXLevelDir ────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/litestream_helpers.rs | 9 | // ── helpers ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/litestream_helpers.rs | 19 | // ── test vectors ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/litestream_helpers.rs | 100 | // ── TestChecksum ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/litestream_helpers.rs | 146 | // ── REVIEWER (T4): path.Join normalization divergence ───────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/litestream_helpers.rs | 191 | // ── REVIEWER (T1 review): path.Clean ".." backtrack divergence ──────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/litestream_helpers.rs | 246 | // ── LTXFilePath ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/litestream_helpers.rs | 262 | // ── TXID formatting / parsing ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/litestream_helpers.rs | 294 | // ── REVIEWER (T4): leading-sign divergence vs Go strconv.ParseUint ───────────── | COMMENT |
| MEDIUM | crates/ltx/tests/litestream_helpers.rs | 320 | // ── Pos formatting / parsing ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/litestream_helpers.rs | 349 | // ── TestNewLTXError ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/litestream_helpers.rs | 438 | // ── TestLTXErrorHints ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/litestream_helpers.rs | 452 | // ── TestLTXError_IsAutoRecoverable ──────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/fuzz_parsers.rs | 49 | // ── Iteration budget (bounded so `cargo test` stays fast & reproducible) ───── | COMMENT |
| MEDIUM | crates/ltx/tests/fuzz_parsers.rs | 62 | // ── Self-contained deterministic PRNG (SplitMix64) ─────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/fuzz_parsers.rs | 101 | // ── Golden-corpus loaders (read-only ground truth) ─────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/fuzz_parsers.rs | 123 | // ── Panic-capture harness ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/fuzz_parsers.rs | 233 | // ── Byte-mutation strategies (applied to a fresh copy of a golden file) ────── | COMMENT |
| MEDIUM | crates/ltx/tests/fuzz_parsers.rs | 327 | // ── Hand-written adversarial corpus (deterministic, always run) ────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/fuzz_parsers.rs | 410 | // ── Tests ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/differential_xtool.rs | 253 | // ───────────────────────────── D1 (write path) ───────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/differential_xtool.rs | 284 | // ──────────────────────────── D2 (restore path) ──────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/tests/differential_xtool.rs | 316 | // ─────────────────────────── D3 (format cross-check) ─────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/wal.rs | 60 | // ── Errors ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/wal.rs | 186 | // ── WalReader ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/wal.rs | 612 | // ── Port of TestWALReader/OK (wal_reader_test.go:16-75) ──────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/wal.rs | 648 | // ── Port of TestWALReader/SaltMismatch (wal_reader_test.go:77-109) ───────── | COMMENT |
| MEDIUM⚡ | crates/ltx/src/wal.rs | 690 | // ── Port of TestWALReader/ZeroLength (wal_reader_test.go:145-150) ────────── | COMMENT |
| MEDIUM⚡ | crates/ltx/src/wal.rs | 697 | // ── Port of TestWALReader/PartialHeader (wal_reader_test.go:152-157) ─────── | COMMENT |
| MEDIUM⚡ | crates/ltx/src/wal.rs | 704 | // ── Port of TestWALReader/BadMagic (wal_reader_test.go:159-164) ──────────── | COMMENT |
| MEDIUM | crates/ltx/src/wal.rs | 742 | // ── Port of TestWALReader/ErrBufferSize (wal_reader_test.go:190-204) ─────── | COMMENT |
| MEDIUM | crates/ltx/src/wal.rs | 880 | // ── GOLDEN (byte-exact): real SQLite WAL from tests/fixtures/golden ──────── | COMMENT |
| MEDIUM | crates/ltx/src/error.rs | 67 | // ── LTXError ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/error.rs | 149 | // ── Chain-walking helpers ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/error.rs | 215 | // ── Marker error types for downcast detection ───────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/error.rs | 254 | // ── Public constructor ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 57 | // ── Constants (s3/leaser.go:21-25, heartbeat.go:11-15) ──────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 79 | // ── Sentinel errors (leaser.go:10-22, s3/leaser.go:30-33) ───────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 210 | // ── Lease value type (leaser.go:31-44) ──────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 257 | // ── Leaser trait (leaser.go:24-29) ──────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 281 | // ── S3 implementation (s3/leaser.go:42-266) ─────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 616 | // ── HeartbeatClient (heartbeat.go:17-84) ────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 742 | // ── RFC-3339 SystemTime (de)serialisation ───────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 972 | // ── Lease value-type & serde ────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 1115 | // ── LeaseExistsError Display (port of leaser.go:17-21) ───────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 1138 | // ── lockKey (port of TestLeaser_LockKey, leaser_test.go:536-569) ─────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 1154 | // ── Type (port of TestLeaser_Type, leaser_test.go:571-577) ───────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 1163 | // ── Acquire (ports of the four AcquireLease tests) ───────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 1351 | // ── Renew (ports of the RenewLease tests) ────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 1413 | // ── Release (ports of the ReleaseLease tests) ────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 1492 | // ── Concurrency: two/many contenders → exactly one primary ───────────────── | COMMENT |
| MEDIUM | crates/ltx/src/leaser.rs | 1582 | // ── HeartbeatClient (heartbeat.go behaviour) ─────────────────────────────── | COMMENT |
| MEDIUM⚡ | crates/ltx/src/lib.rs | 92 | // ── Naming constants ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | crates/ltx/src/lib.rs | 100 | // ── SQLite checkpoint modes ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | crates/ltx/src/lib.rs | 109 | // ── SQLite WAL size constants ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/ltx/src/lib.rs | 27 | // ── Crate-root re-exports — the ergonomic public surface (PLAN.md §4) ───────── | COMMENT |
| MEDIUM | crates/ltx/src/lib.rs | 125 | // ── TXID ────────────────────────────────────────────────────────────────────── | COMMENT |
| 46 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/ltx/tests/integration_resilience.rs | 1 | //! integration_resilience — T11: the resilience half of the round-trip gate. | COMMENT |
| LOW | crates/ltx/tests/faults_inject.rs | 1 | //! faults_inject — T14: fault injection on the replica, then restore. | COMMENT |
| LOW | crates/ltx/tests/litestream_helpers.rs | 21 | // Taken from litestream_test.go:20-46. | COMMENT |
| LOW | crates/ltx/tests/litestream_helpers.rs | 141 | #[test] | COMMENT |
| LOW | crates/ltx/tests/litestream_helpers.rs | 161 | // LTXDir("foo/..") = "ltx" (Rust currently: "foo/../ltx") | COMMENT |
| LOW | crates/ltx/tests/litestream_helpers.rs | 181 | "LTXDir must collapse repeated separators like Go path.Join" | COMMENT |
| LOW | crates/ltx/tests/litestream_helpers.rs | 201 | // path_clean("a/b/../c") = "a//c" (Go path.Clean: "a/c") | COMMENT |
| LOW | crates/ltx/tests/litestream_helpers.rs | 301 | // The Rust port (lib.rs `parse_txid` / `parse_pos`) uses | COMMENT |
| LOW | crates/ltx/tests/litestream_helpers.rs | 521 | c.recoverable, | COMMENT |
| LOW | crates/ltx/tests/litestream_helpers.rs | 541 | // still auto-recoverable. This is the normal production shape: a low-level | COMMENT |
| LOW | crates/ltx/tests/integration_file.rs | 1 | //! integration_file — the **G2 round-trip gate** (PLAN.md §6.4) against the | COMMENT |
| LOW | crates/ltx/tests/fuzz_parsers.rs | 1 | //! fuzz_parsers — T16 / Gate G4: robustness (fuzz) targets for the LTX and WAL | COMMENT |
| LOW | crates/ltx/tests/fuzz_parsers.rs | 21 | //! that actually parses untrusted input. Go gets this no-panic property "for | COMMENT |
| LOW | crates/ltx/tests/fuzz_parsers.rs | 41 | //! * **mutated golden** bytes — the real-litestream L0 `.ltx` files and the | COMMENT |
| LOW | crates/ltx/tests/differential_xtool.rs | 1 | //! differential_xtool — **GATE G3 ("M1 correct"), PLAN.md §6.3**: cross-tool | COMMENT |
| LOW | crates/ltx/tests/differential_xtool.rs | 21 | //! | COMMENT |
| LOW | crates/ltx/tests/property_roundtrip.rs | 1 | //! property_roundtrip — T12: a property test (proptest) that replicate→restore | COMMENT |
| LOW | crates/ltx/tests/integration_minio.rs | 1 | //! integration_minio — runs the T5 generic `run_client_suite` against the T7 | COMMENT |
| LOW | crates/ltx/scripts/capture-golden.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | crates/ltx/scripts/db_equal.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | crates/ltx/src/replica.rs | 1 | //! replica.rs — single-replica sync loop + restore orchestration. | COMMENT |
| LOW | crates/ltx/src/replica.rs | 21 | //! `ltx/0/` (verified against `tests/fixtures/golden/replica`, captured from | COMMENT |
| LOW | crates/ltx/src/replica.rs | 81 | /// mirrors `AutoRecoverEnabled` (replica.go:58) for the monitor's | COMMENT |
| LOW | crates/ltx/src/replica.rs | 161 | /// (replica.go:244-248). | COMMENT |
| LOW | crates/ltx/src/replica.rs | 321 | /// than the replica (a lower TXID) and, if so, seeds the local L0 directory | COMMENT |
| LOW | crates/ltx/src/replica.rs | 381 | COMMENT | |
| LOW | crates/ltx/src/replica.rs | 681 | } | COMMENT |
| LOW | crates/ltx/src/wal.rs | 1 | //! wal.rs — SQLite WAL header/frame parsing + cumulative SQLite checksums. | COMMENT |
| LOW | crates/ltx/src/wal.rs | 21 | //! [16..20] salt-1 | COMMENT |
| LOW | crates/ltx/src/wal.rs | 61 | COMMENT | |
| LOW | crates/ltx/src/wal.rs | 81 | /// `invalid wal header magic: <hex>` — the magic was neither | COMMENT |
| LOW | crates/ltx/src/wal.rs | 101 | COMMENT | |
| LOW | crates/ltx/src/wal.rs | 121 | page_size: u32, | COMMENT |
| LOW | crates/ltx/src/wal.rs | 181 | } | COMMENT |
| LOW | crates/ltx/src/wal.rs | 241 | salt2: 0, | COMMENT |
| LOW | crates/ltx/src/wal.rs | 321 | /// Returns `true` when checksums for this WAL are big-endian (magic | COMMENT |
| LOW | crates/ltx/src/error.rs | 1 | //! error.rs — thiserror-based error model + `Result` alias. | COMMENT |
| LOW | crates/ltx/src/error.rs | 21 | /// No snapshot is available for restore. | COMMENT |
| LOW | crates/ltx/src/error.rs | 41 | /// Corresponds to `ErrLTXMissing` in litestream.go:36. | COMMENT |
| LOW | crates/ltx/src/error.rs | 61 | COMMENT | |
| LOW | crates/ltx/src/error.rs | 261 | /// Uses chain-walking (matching Go's `errors.Is` semantics) so that a | COMMENT |
| LOW | crates/ltx/src/leaser.rs | 1 | //! leaser.rs — object-storage lease fencing: acquire / renew / release + the | COMMENT |
| LOW | crates/ltx/src/leaser.rs | 21 | //! | COMMENT |
| LOW | crates/ltx/src/leaser.rs | 201 | /// The analogue of Go's `errors.As(err, &leaseErr)` (s3/leaser.go:117, 154). | COMMENT |
| LOW | crates/ltx/src/leaser.rs | 221 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] | COMMENT |
| LOW | crates/ltx/src/leaser.rs | 281 | // ── S3 implementation (s3/leaser.go:42-266) ─────────────────────────────────── | COMMENT |
| LOW | crates/ltx/src/leaser.rs | 601 | /// Best-effort hostname lookup with no external crate. Returns `None` when | COMMENT |
| LOW | crates/ltx/src/leaser.rs | 621 | /// HTTP GET at a configurable URL; an empty URL makes [`HeartbeatClient::ping`] a | COMMENT |
| LOW | crates/ltx/src/leaser.rs | 741 | COMMENT | |
| LOW | crates/ltx/src/leaser.rs | 801 | } | COMMENT |
| LOW | crates/ltx/src/leaser.rs | 1301 | COMMENT | |
| LOW | crates/ltx/src/lib.rs | 1 | //! `rustyriver` — embeddable streaming replication of a SQLite database to | COMMENT |
| LOW | crates/ltx/src/lib.rs | 61 | /// A [`ReplicaClient`] that stores LTX files on the local filesystem. | COMMENT |
| LOW | crates/ltx/src/lib.rs | 81 | COMMENT | |
| LOW | crates/ltx/src/lib.rs | 121 | COMMENT | |
| LOW | crates/ltx/src/lib.rs | 201 | /// | COMMENT |
| LOW | crates/ltx/src/lib.rs | 301 | })?; | COMMENT |
| LOW | crates/ltx/src/lib.rs | 361 | // naive `format!("{}/ltx", root)` skips this cleaning, so a root carrying a | COMMENT |
| LOW | crates/ltx/src/lib.rs | 381 | /// `path.Clean` semantics rather than reimplementing them. | COMMENT |
| LOW | crates/ltx/src/lib.rs | 501 | // Ported from litestream@v0.5.11 litestream.go:184-197. | COMMENT |
| 96 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | crates/celld/assets.rs | 129 | self.inner.index.config.binding.as_deref() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/celld/js/node_stream.js | 462 | function getOwnPropertyValueOrDefault(options, key, defaultValue) { | CODE |
| LOW | crates/celld/js/node_stream.js | 2960 | return function pipeOnDrainFunctionResult() { | CODE |
| LOW | crates/celld/js/node_util.js | 557 | function validateThisInternalField(object, fieldKey, className) { | CODE |
| LOW | crates/celld/js/node_util.js | 3023 | function formatWithOptionsInternal(inspectOptions, args) { | CODE |
| LOW | crates/celld/js/node_util.js | 3631 | function findLooseMatchingPrimitives(prim) { | CODE |
| LOW | crates/celld/js/node_util.js | 4194 | function transferableAbortController() { | CODE |
| LOW | crates/celld/js/node_crypto.js | 1130 | function processGeneratePrimeOptions(options) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/ltx/tests/litestream_helpers.rs | 118 | // Step 1: WAL header (24 bytes) | COMMENT |
| LOW⚡ | crates/ltx/tests/litestream_helpers.rs | 122 | // Step 2: frame header (8 bytes) | COMMENT |
| LOW⚡ | crates/ltx/tests/litestream_helpers.rs | 125 | // Step 3: frame data (4096 bytes) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/ltx/tests/litestream_helpers.rs | 118 | // Step 1: WAL header (24 bytes) | COMMENT |
| LOW⚡ | crates/ltx/tests/litestream_helpers.rs | 122 | // Step 2: frame header (8 bytes) | COMMENT |
| LOW⚡ | crates/ltx/tests/litestream_helpers.rs | 125 | // Step 3: frame data (4096 bytes) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/ltx/scripts/db_equal.sh | 4 | # db_equal.sh A <db1> <db2> # logical equality (default, version-robust) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/ltx/src/lib.rs | 10 | //! filled by their owning tasks and are scaffold placeholders until then. | COMMENT |