Bento, the office suite that fits in a file
This report presents the forensic synthetic code analysis of nyblnet/bento, a TypeScript project with 4,576 GitHub stars. SynthScan v2.0 examined 208,189 lines of code across 494 source files, recording 799 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 5.8 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 799 distinct pattern matches across 6 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 | home/bridge.js | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/bridge.js | 21 | // the transport — it is the FileSystemWritableFileStream semantics below, whose | COMMENT |
| LOW | home/bridge.js | 81 | const want = (opts && opts.suggestedName) || '' | COMMENT |
| LOW | home/webext/src/route.js | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/webext/src/page-bridge.js | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/webext/src/page-bridge.js | 201 | // nothing to resolve until the write itself. The extension validates the | COMMENT |
| LOW | home/webext/src/background.js | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/webext/src/background.js | 21 | // machine. So every message re-resolves from the grant; nothing is cached. | COMMENT |
| LOW | home/webext/src/background.js | 141 | // the sender's file, and treating it as such destroys documents: | COMMENT |
| LOW | home/webext/src/db.js | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/webext/src/db.js | 21 | // cache derived, disposable: one entry per document, holding what was read | COMMENT |
| LOW | home/webext/src/update.js | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/webext/src/theme.js | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/webext/src/library.js | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/webext/src/library.js | 181 | const head = await file.slice(0, HEAD_BYTES).text() | COMMENT |
| LOW | home/webext/src/library.js | 421 | const net = deps.fetch ?? fetch | COMMENT |
| LOW | home/webext/src/home.js | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/webext/src/home.js | 681 | if (upd?.version) { | COMMENT |
| LOW | home/webext/src/home.js | 941 | closeMenu() | COMMENT |
| LOW | home/webext/src/release.js | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/webext/src/release.js | 21 | // party that serves the bytes. | COMMENT |
| LOW | home/webext/src/release.js | 61 | // The 359-byte difference is a Cloudflare Web Analytics beacon the edge injects | COMMENT |
| LOW | home/webext/src/relay.js | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/webext/src/i18n.js | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/webext/src/i18n.js | 21 | // | COMMENT |
| LOW | home/ios/SearchViewController.swift | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/ios/BentoDocument.swift | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/ios/Releases.swift | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/ios/Releases.swift | 21 | /// THIS IS THE ONE THING THE HOST FETCHES. The app makes no other network | COMMENT |
| LOW | home/ios/Releases.swift | 101 | guard let url = payload["url"] as? String, !url.isEmpty else { | COMMENT |
| LOW | home/ios/Releases.swift | 181 | throw Failed(message: "the downloaded app did not match its signed hash — refusing it") | COMMENT |
| LOW | home/ios/Releases.swift | 201 | /// signatures as RAW `r || s` — 64 bytes, two fixed-width integers. | COMMENT |
| LOW | home/ios/Releases.swift | 261 | // Accept: text/html,…,*/*;q=0.8 689,675 bytes — does NOT | COMMENT |
| LOW | home/ios/FolderGrants.swift | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/ios/project.yml | 21 | buildPhase: resources | COMMENT |
| LOW | home/ios/project.yml | 41 | # committed. Unset, it expands to empty and simulator builds are | COMMENT |
| LOW | home/ios/BentoIndex.swift | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/ios/BentoIndex.swift | 21 | /// moment a document contains an emoji or a CJK character — which is to say, on | COMMENT |
| LOW | home/ios/BentoIndex.swift | 41 | /// Bento document — the `.bento.html` name is a convention, and conventions | COMMENT |
| LOW | home/ios/BentoIndex.swift | 61 | // MARK: - Result | COMMENT |
| LOW | home/ios/BentoIndex.swift | 101 | /// first `sniffBytes`, `head` the first `headBytes`, `whole` all of it (or | COMMENT |
| LOW | home/ios/BentoIndex.swift | 221 | guard let start = whole.firstIndex(ofSequence: Array("<div data-bento-preview".utf16)) else { return nil } | COMMENT |
| LOW | home/ios/BentoIndex.swift | 241 | COMMENT | |
| LOW | home/ios/LibraryIndex.swift | 21 | } | COMMENT |
| LOW | home/ios/EditorViewController.swift | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/ios/EditorViewController.swift | 21 | /// The host is PER DOCUMENT, derived from the file's own path, not a single | COMMENT |
| LOW | home/ios/EditorViewController.swift | 61 | /// Called when the user leaves the document. The browser owns teardown — | COMMENT |
| LOW | home/ios/EditorViewController.swift | 101 | /// Necessary because on iPhone there is no longer a fullscreen signal to key | COMMENT |
| LOW | home/ios/EditorViewController.swift | 121 | /// landscape, but the bar was no more justified there; it was only ever a | COMMENT |
| LOW | home/ios/EditorViewController.swift | 141 | /// | COMMENT |
| LOW | home/ios/EditorViewController.swift | 181 | view.setNeedsLayout() | COMMENT |
| LOW | home/ios/EditorViewController.swift | 241 | // letterbox onto the slide. It does not even hide the status bar on | COMMENT |
| LOW | home/ios/EditorViewController.swift | 381 | let a = UIAlertController(title: nil, message: message, preferredStyle: .alert) | COMMENT |
| LOW | home/ios/EditorViewController.swift | 501 | /// credentials: a read-only copy has the owner keys stripped), and it is not | COMMENT |
| LOW | home/ios/EditorViewController.swift | 521 | /// the file on disk. Routing on `openDocumentVended` alone could not work: | COMMENT |
| LOW | home/ios/EditorViewController.swift | 541 | /// raw the JS parser CONSUMES that escape — the page gets back a document | COMMENT |
| LOW | home/ios/EditorViewController.swift | 561 | /// Reduce a page-supplied filename to ONE plain component, or refuse it. | COMMENT |
| LOW | home/ios/Brand.swift | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | home/ios/DocumentBrowserViewController.swift | 41 | func openIndexed(_ url: URL) { openEditor(url) } | COMMENT |
| LOW | …/android/app/src/main/java/page/bento/home/Releases.kt | 161 | // field is missing and `want` is never null, so the comparison already | COMMENT |
| 541 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | slides/src/starterdeck.ts | 345 | // ── 1 · TITLE ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | slides/src/starterdeck.ts | 437 | // ── 2 · ONE FILE ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | slides/src/starterdeck.ts | 482 | // ── 3 · NO MOVING PARTS (staggers + count-ups, arriving by morph) ───── | COMMENT |
| MEDIUM | slides/src/starterdeck.ts | 525 | // ── 4 · MORPH MANIFESTO ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | slides/src/starterdeck.ts | 759 | // ── 6 · CHARTS ALIVE (+ hidden pie state) ────────────────────────────── | COMMENT |
| MEDIUM | slides/src/starterdeck.ts | 870 | // ── 7 · TABLES (real HTML table) ─────────────────────────────────────── | COMMENT |
| MEDIUM | slides/src/starterdeck.ts | 956 | // ── 8 · MOMENTUM (line-chart hero) ───────────────────────────────────── | COMMENT |
| MEDIUM | slides/src/starterdeck.ts | 983 | // ── 9 · MOTION & LINES ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | slides/src/starterdeck.ts | 1028 | // ── 10 · CHOREOGRAPHY (base + two hidden states) ────────────────────── | COMMENT |
| MEDIUM | slides/src/starterdeck.ts | 1118 | // ── 11 · HOVER FOCUS ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | slides/src/starterdeck.ts | 1168 | // ── 12 · MARKDOWN ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | slides/src/starterdeck.ts | 1201 | // ── 13 · CLOSE ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | type/src/inline.ts | 307 | // ─────────────────────────────────────────────────────────── model → HTML | COMMENT |
| MEDIUM | type/src/inline.ts | 484 | // ─────────────────────────────────────────────────────────── HTML → model | COMMENT |
| MEDIUM | type/src/comments.ts | 12 | // ─────────────────────────────────────────────────────────── the four choices | COMMENT |
| MEDIUM | type/src/comments.ts | 40 | // ─────────────────────────────────────────────── how comments stay out of print | COMMENT |
| MEDIUM | type/src/comments.ts | 54 | // ───────────────────────────────────────────────────────── NEEDS FROM THE CORE | COMMENT |
| MEDIUM | type/src/comments.ts | 145 | // ───────────────────────────────────────────────────────────────── the shape | COMMENT |
| MEDIUM | type/src/comments.ts | 222 | // ─────────────────────────────────────────────────── reading and writing them | COMMENT |
| MEDIUM | type/src/comments.ts | 297 | // ───────────────────────────────────────────────────────── anchor maintenance | COMMENT |
| MEDIUM | type/src/comments.ts | 436 | // ───────────────────────────────────────────────────────────── thread logic | COMMENT |
| MEDIUM | type/src/comments.ts | 526 | // ────────────────────────────────────── the hooks the core calls (see (B)) | COMMENT |
| MEDIUM | type/src/comments.ts | 561 | // ═══════════════════════════════════════════════════════════════════════ UI | COMMENT |
| MEDIUM | type/src/comments.ts | 931 | // ─────────────────────────────────────────────────────────────── the feature | COMMENT |
| MEDIUM | type/src/comments.ts | 1072 | // ─────────────────────────────────────────────────────── showing and hiding | COMMENT |
| MEDIUM | type/src/docstyles.ts | 52 | // ═══════════════════════════════════════════════════════════ resolution (pure) | COMMENT |
| MEDIUM | type/src/docstyles.ts | 298 | // ═══════════════════════════════════════════════════════════════════ the UI | COMMENT |
| MEDIUM | type/src/main.ts | 46 | // ───────────────────────────────────────────────────────────── the document | COMMENT |
| MEDIUM | type/src/main.ts | 96 | // ───────────────────────────────────────────────────────────────── chrome | COMMENT |
| MEDIUM | type/src/main.ts | 179 | // ───────────────────────────────────────────────────── chrome: labels & icons | COMMENT |
| MEDIUM | type/src/main.ts | 281 | // ─────────────────────────────────────────────── the feature registry, rendered | COMMENT |
| MEDIUM | type/src/main.ts | 681 | // ────────────────────────────────────────────────────────── sidebar | COMMENT |
| MEDIUM | type/src/main.ts | 764 | // ───────────────────────────────────────────── revisions and redlining | COMMENT |
| MEDIUM | type/src/main.ts | 856 | // ─────────────────────────────────────────────────────────── signatures | COMMENT |
| MEDIUM | type/src/main.ts | 955 | // ─────────────────────────────────────────────────────────── a small toast | COMMENT |
| MEDIUM | type/src/main.ts | 971 | // ─────────────────────────────────────────────────────────────── saving | COMMENT |
| MEDIUM | type/src/main.ts | 1020 | // ─────────────────────────────────────────────────────────────── printing | COMMENT |
| MEDIUM | type/src/main.ts | 1098 | // ─────────────────────────────────────────────────────────────────── ready | COMMENT |
| MEDIUM | type/src/editor.ts | 55 | // ───────────────────────────────────────────────────────── caret ↔ model | COMMENT |
| MEDIUM | type/src/editor.ts | 140 | // ─────────────────────────────────────────────────────────── input | COMMENT |
| MEDIUM | type/src/editor.ts | 276 | // ────────────────────────────────────────────────────────── formatting | COMMENT |
| MEDIUM | type/src/editor.ts | 483 | // ───────────────────────────────────────────────────────────── keys | COMMENT |
| MEDIUM | type/src/props.ts | 38 | // ─────────────────────────────────────────────────────────────── small parts | COMMENT |
| MEDIUM | type/src/props.ts | 109 | // ────────────────────────────────────────────────────────────────── sections | COMMENT |
| MEDIUM | type/src/props.ts | 464 | // ──────────────────────────────────────────────────────────────── the panel | COMMENT |
| MEDIUM⚡ | type/src/math.ts | 4 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | type/src/math.ts | 6 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | type/src/math.ts | 15 | // ═══ WHAT IS SUPPORTED ══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | type/src/math.ts | 42 | // ═══ WHAT IS NOT ════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | type/src/math.ts | 65 | // ═══ HOW MATH FITS THE MODEL, AND WHY ═══════════════════════════════════════ | COMMENT |
| MEDIUM | type/src/math.ts | 126 | // ═══ NEEDS FROM THE CORE ════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | type/src/math.ts | 239 | // ───────────────────────────────────────────────────────────── the renderers | COMMENT |
| MEDIUM | type/src/math.ts | 277 | // ───────────────────────────────────────────────────────────── editing | COMMENT |
| MEDIUM | type/src/math.ts | 365 | // ───────────────────────────────────────────────────────────── the chrome | COMMENT |
| MEDIUM | type/src/find.ts | 53 | // ───────────────────────────────────────────────────────────── the search | COMMENT |
| MEDIUM | type/src/find.ts | 178 | // ─────────────────────────────────────────────────────────── decoration | COMMENT |
| MEDIUM | type/src/find.ts | 224 | // ────────────────────────────────────────────────────────────── the panel | COMMENT |
| MEDIUM | type/src/find.ts | 252 | // ─────────────────────────────────────────────────────────── chrome | COMMENT |
| MEDIUM | type/src/find.ts | 329 | // ───────────────────────────────────────────────────────── searching | COMMENT |
| MEDIUM | type/src/find.ts | 372 | // ─────────────────────────────────────────────────────── highlighting | COMMENT |
| 121 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | spaces/src/editor.ts | 5067 | print() | CODE |
| HIGH | scripts/test-spaces-model.ts | 1288 | ['py', 'def f():\n return None', 'def', 'k'], | CODE |
| HIGH⚡ | scripts/test-tray-bridge.ts | 142 | print("ok " + b64(out) + " " + (inside ? "1" : "0")) | CODE |
| HIGH⚡ | scripts/test-tray-bridge.ts | 145 | print("ok " + b64(exportName(arg(2)))) | CODE |
| HIGH⚡ | scripts/test-tray-bridge.ts | 149 | print("ok " + b64(targetsOpenDocument(arg(2)) ? "1" : "0")) | CODE |
| HIGH⚡ | scripts/test-tray-bridge.ts | 151 | print("ok " + b64(jsString(arg(1)))) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/agents.md | 397 | ## Layout guardrails | COMMENT |
| MEDIUM | scripts/test-autosave.ts | 18 | // writing into bento/slides' database since its scaffold landed. | COMMENT |
| MEDIUM | scripts/test-spaces-model.ts | 12 | // space" for a document it could not read. The scaffold did — it returned | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | home/android/app/src/main/res/values-night/colors.xml | 19 | <color name="placeholder">#24313F</color> | CODE |
| LOW | home/android/app/src/main/res/values/colors.xml | 19 | <color name="placeholder">#E4E9EF</color> | CODE |
| LOW | slides/src/modelkeys.generated.ts | 17 | "text": ["align", "backdropFilter", "blend", "blur", "color", "colorGradient", "fontFamily", "fontSize", "fontWeig | CODE |
| LOW | scripts/test-spaces-undo.ts | 64 | html: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod ' | CODE |
| LOW | scripts/test-spaces-undo.ts | 64 | html: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod ' | CODE |
| LOW | scripts/test-type-link.ts | 253 | const long = 'lorem ipsum dolor sit amet '.repeat(4000) + 'x'; | CODE |
| LOW | scripts/test-type-link.ts | 253 | const long = 'lorem ipsum dolor sit amet '.repeat(4000) + 'x'; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/ci.yml | 467 | # Creating a document downloads an app shell and writes it to the user's | COMMENT |