Project N.O.M.A.D, is a self-contained, offline survival computer packed with critical tools, knowledge, and AI to keep you informed and empowered—anytime, anywhere.
This report presents the forensic synthetic code analysis of Crosstalk-Solutions/project-nomad, a TypeScript project with 34,079 GitHub stars. SynthScan v2.0 examined 73,362 lines of code across 351 source files, recording 132 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 3.3 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 132 distinct pattern matches across 12 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 | admin/database/seeders/service_seeder.ts | 32 | // ── Core / original services ────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/database/seeders/service_seeder.ts | 207 | // ── Supply Depot — curated catalog (ports 8400–8499) ───────────────────── | COMMENT |
| MEDIUM | admin/app/services/content_auto_update_service.ts | 434 | // ── Per-window budget ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/app/services/content_auto_update_service.ts | 468 | // ── Backoff + run recording ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/app/services/content_auto_update_service.ts | 502 | // ── Status snapshot ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/app/services/kiwix_catalog_service.ts | 132 | // ── ZIM internals ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/app/services/kiwix_catalog_service.ts | 254 | // ── Map internals ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/app/services/kiwix_catalog_service.ts | 283 | // ── Shared ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/tests/unit/content_auto_update_backoff.spec.ts | 29 | // ── Failure backoff ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/tests/unit/content_auto_update_backoff.spec.ts | 59 | // ── Success reset ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/tests/unit/custom_app_guard.spec.ts | 6 | // ── Bind mounts ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/tests/unit/custom_app_guard.spec.ts | 77 | // ── Image references ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/tests/unit/content_auto_update.spec.ts | 46 | // ── Per-resource eligibility ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/tests/unit/content_auto_update.spec.ts | 126 | // ── Cap-bounded selection ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/tests/unit/content_auto_update.spec.ts | 194 | // ── Window boundary math (per-window budget reset) ───────────────────────────── | COMMENT |
| MEDIUM | admin/tests/unit/content_auto_update.spec.ts | 208 | // ── Shared update window ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/tests/unit/app_auto_update.spec.ts | 35 | // ── Per-app eligibility ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/tests/unit/app_auto_update.spec.ts | 133 | // ── Shared update window (reused from the core auto-update) ──────────────────── | COMMENT |
| MEDIUM | admin/inertia/components/CustomAppModal.tsx | 189 | // ── Port row helpers ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/inertia/components/CustomAppModal.tsx | 201 | // ── Volume row helpers ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/inertia/components/CustomAppModal.tsx | 212 | // ── Env var helpers ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/inertia/components/CustomAppModal.tsx | 223 | // ── Submit ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/inertia/pages/supply-depot.tsx | 177 | // ── Filtering ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/inertia/pages/supply-depot.tsx | 204 | // ── Actions ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/inertia/pages/supply-depot.tsx | 355 | // ── Install modal helpers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | admin/inertia/pages/supply-depot.tsx | 824 | // ── App Card component ──────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install/migrate-disk-collector.sh | 102 | # Step 1: Stop old host process | COMMENT |
| LOW | install/migrate-disk-collector.sh | 121 | # Step 2: Backup compose.yml | COMMENT |
| LOW | install/migrate-disk-collector.sh | 133 | # Step 3: Remove old bind-mount from admin volumes | COMMENT |
| LOW | install/migrate-disk-collector.sh | 152 | # Step 4: Add disk-collector service block | COMMENT |
| LOW | install/migrate-disk-collector.sh | 202 | # Step 6: Verify | COMMENT |
| LOW | admin/app/jobs/run_download_job.ts | 182 | // Step 1: delete the OUTDATED file if it differs from the new one. | COMMENT |
| LOW | admin/app/services/rag_service.ts | 1432 | // Step 2: is the knowledge base even installed? Short-circuits before any | COMMENT |
| LOW | admin/app/services/rag_service.ts | 1447 | // Step 5: only check liveness once we know we'd otherwise act. The health | COMMENT |
| LOW⚡ | admin/app/services/docker_service.ts | 450 | // Step 4: Mark service as uninstalled | COMMENT |
| LOW⚡ | admin/app/services/docker_service.ts | 456 | // Step 5: Recreate the container | COMMENT |
| LOW⚡ | admin/app/services/docker_service.ts | 1278 | // Step 1: Build/update the XML from current disk state | COMMENT |
| LOW⚡ | admin/app/services/docker_service.ts | 1284 | // Step 2: Stop and remove old container (leave ZIM volumes intact) | COMMENT |
| LOW⚡ | admin/app/services/docker_service.ts | 1624 | // Step 1: Pull new image (runtimeImage diverges from newImage for AMD, see above) | COMMENT |
| LOW⚡ | admin/app/services/docker_service.ts | 1628 | // Step 2: Find and stop existing container | COMMENT |
| LOW | admin/app/services/docker_service.ts | 380 | // Step 1: Try to stop and remove the container if it exists | COMMENT |
| LOW | admin/app/services/docker_service.ts | 399 | // Step 2: Remove the container | COMMENT |
| LOW | admin/app/services/docker_service.ts | 416 | // Step 3: Clear volumes/data if needed | COMMENT |
| LOW | admin/app/services/docker_service.ts | 1299 | // Step 3: Read the service record and authoritatively set the correct command. | COMMENT |
| LOW | admin/app/services/docker_service.ts | 1315 | // Step 4: Recreate container directly (skipping _createContainer to avoid re-downloading | COMMENT |
| LOW | admin/app/services/docker_service.ts | 1647 | // Step 3: Rename old container as safety net | COMMENT |
| LOW | admin/app/services/docker_service.ts | 1679 | // Step 4: Create new container with inspected config + new image | COMMENT |
| LOW | admin/app/services/docker_service.ts | 1739 | // Step 5: Start new container. If the start itself throws (bad device/GPU config, | COMMENT |
| LOW | admin/app/services/docker_service.ts | 1764 | // Step 6: Health check — verify container stays running for 5 seconds | COMMENT |
| LOW⚡ | admin/docs/use-cases.md | 170 | ### Step 1: Identify Your Needs | COMMENT |
| LOW⚡ | admin/docs/use-cases.md | 173 | ### Step 2: Prioritize Content | COMMENT |
| LOW⚡ | admin/docs/use-cases.md | 180 | ### Step 3: Upload Relevant Documents | COMMENT |
| LOW⚡ | admin/docs/use-cases.md | 183 | ### Step 4: Download While You Can | COMMENT |
| LOW⚡ | admin/docs/use-cases.md | 186 | ### Step 5: Practice | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install/migrate-disk-collector.sh | 102 | # Step 1: Stop old host process | COMMENT |
| LOW | install/migrate-disk-collector.sh | 121 | # Step 2: Backup compose.yml | COMMENT |
| LOW | install/migrate-disk-collector.sh | 133 | # Step 3: Remove old bind-mount from admin volumes | COMMENT |
| LOW | install/migrate-disk-collector.sh | 152 | # Step 4: Add disk-collector service block | COMMENT |
| LOW | install/migrate-disk-collector.sh | 202 | # Step 6: Verify | COMMENT |
| LOW | admin/app/jobs/run_download_job.ts | 182 | // Step 1: delete the OUTDATED file if it differs from the new one. | COMMENT |
| LOW | admin/app/services/rag_service.ts | 1432 | // Step 2: is the knowledge base even installed? Short-circuits before any | COMMENT |
| LOW | admin/app/services/rag_service.ts | 1447 | // Step 5: only check liveness once we know we'd otherwise act. The health | COMMENT |
| LOW⚡ | admin/app/services/docker_service.ts | 450 | // Step 4: Mark service as uninstalled | COMMENT |
| LOW⚡ | admin/app/services/docker_service.ts | 456 | // Step 5: Recreate the container | COMMENT |
| LOW⚡ | admin/app/services/docker_service.ts | 1278 | // Step 1: Build/update the XML from current disk state | COMMENT |
| LOW⚡ | admin/app/services/docker_service.ts | 1284 | // Step 2: Stop and remove old container (leave ZIM volumes intact) | COMMENT |
| LOW⚡ | admin/app/services/docker_service.ts | 1624 | // Step 1: Pull new image (runtimeImage diverges from newImage for AMD, see above) | COMMENT |
| LOW⚡ | admin/app/services/docker_service.ts | 1628 | // Step 2: Find and stop existing container | COMMENT |
| LOW | admin/app/services/docker_service.ts | 380 | // Step 1: Try to stop and remove the container if it exists | COMMENT |
| LOW | admin/app/services/docker_service.ts | 399 | // Step 2: Remove the container | COMMENT |
| LOW | admin/app/services/docker_service.ts | 416 | // Step 3: Clear volumes/data if needed | COMMENT |
| LOW | admin/app/services/docker_service.ts | 1299 | // Step 3: Read the service record and authoritatively set the correct command. | COMMENT |
| LOW | admin/app/services/docker_service.ts | 1315 | // Step 4: Recreate container directly (skipping _createContainer to avoid re-downloading | COMMENT |
| LOW | admin/app/services/docker_service.ts | 1647 | // Step 3: Rename old container as safety net | COMMENT |
| LOW | admin/app/services/docker_service.ts | 1679 | // Step 4: Create new container with inspected config + new image | COMMENT |
| LOW | admin/app/services/docker_service.ts | 1739 | // Step 5: Start new container. If the start itself throws (bad device/GPU config, | COMMENT |
| LOW | admin/app/services/docker_service.ts | 1764 | // Step 6: Health check — verify container stays running for 5 seconds | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install/uninstall_nomad.sh | 79 | # Check if 'docker compose' (v2 plugin) is available | COMMENT |
| LOW | install/install_nomad.sh | 141 | # Check if the script is being run in debug mode | COMMENT |
| LOW | install/install_nomad.sh | 194 | # Check if Docker was installed successfully | COMMENT |
| LOW | install/install_nomad.sh | 204 | # Check if Docker service is running | COMMENT |
| LOW | install/install_nomad.sh | 221 | # Check if 'docker compose' (v2 plugin) is available | COMMENT |
| LOW | install/install_nomad.sh | 258 | # Check if nvidia-container-toolkit is already installed | COMMENT |
| LOW | install/install_nomad.sh | 305 | # Check if nvidia runtime already exists | COMMENT |
| LOW | install/install_nomad.sh | 495 | # Check if NVIDIA GPU is present | COMMENT |
| LOW | install/install_nomad.sh | 506 | # Check if NVIDIA Container Toolkit is installed | COMMENT |
| LOW | install/install_nomad.sh | 513 | # Check if Docker has NVIDIA runtime | COMMENT |
| LOW | install/update_nomad.sh | 98 | # Check if 'docker compose' (v2 plugin) is available | COMMENT |
| LOW | install/sidecar-updater/update-watcher.sh | 123 | # Check if an update request file exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install/uninstall_nomad.sh | 1 | #!/bin/bash | COMMENT |
| LOW | install/install_nomad.sh | 1 | #!/bin/bash | COMMENT |
| LOW | install/install_nomad.sh | 161 | echo -e "${YELLOW}#${RESET} Docker not found. Installing Docker...\\n" | COMMENT |
| LOW | install/install_nomad.sh | 641 | # [Nn]*|"") | COMMENT |
| LOW | install/install_nomad.sh | 661 | # eus_database_move | COMMENT |
| LOW | install/run_updater_fixes.sh | 1 | #!/bin/bash | COMMENT |
| LOW | install/run_updater_fixes.sh | 21 | # Downloads the updated sidecar Dockerfile (adds jq) and update-watcher.sh | COMMENT |
| LOW | install/update_nomad.sh | 1 | #!/bin/bash | COMMENT |
| LOW | install/migrate-disk-collector.sh | 1 | #!/bin/bash | COMMENT |
| LOW | admin/app/jobs/embed_file_job.ts | 341 | } | COMMENT |
| LOW | admin/app/services/system_service.ts | 121 | if (!ollamaContainer) return null | COMMENT |
| LOW | admin/config/session.ts | 1 | // import env from '#start/env' | COMMENT |
| LOW | admin/config/session.ts | 21 | // /** | COMMENT |
| LOW | admin/config/session.ts | 41 | // * list of available stores and their config. | COMMENT |
| LOW | admin/config/queue.ts | 1 | import env from '#start/env' | COMMENT |
| LOW | .github/workflows/release.yml | 81 | GH_TOKEN: ${{ secrets.COSMISTACKBOT_ACCESS_TOKEN }} | COMMENT |
| LOW | .github/scripts/finalize-release-notes.sh | 1 | #!/usr/bin/env bash | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | admin/app/utils/zim_filename.ts | 17 | export function findReplacedWikipediaFiles( | CODE |
| LOW | admin/app/utils/fs.ts | 47 | export async function listDirectoryContentsRecursive(path: string): Promise<FileEntry[]> { | CODE |
| LOW | admin/app/utils/downloads.ts | 226 | export async function doResumableDownloadWithRetry({ | CODE |
| LOW | admin/app/utils/content_auto_update_backoff.ts | 25 | export async function recordResourceUpdateSuccess(resource: InstalledResource): Promise<void> { | CODE |
| LOW | admin/app/utils/content_auto_update_backoff.ts | 35 | export async function recordResourceUpdateFailure( | CODE |
| LOW | admin/app/validators/common.ts | 79 | export function assertNotCloudMetadataUrl(urlString: string): void { | CODE |
| LOW | admin/app/services/kiwix_catalog_service.ts | 311 | export async function reconcileResourceUpdateState( | CODE |
| LOW | admin/util/zim.ts | 3 | export function isRawListRemoteZimFilesResponse(obj: any): obj is RawListRemoteZimFilesResponse { | CODE |
| LOW | admin/config/inertia.ts | 8 | export function invalidateAssistantNameCache() { | CODE |
| LOW | admin/inertia/hooks/useServiceInstallationActivity.ts | 6 | export default function useServiceInstallationActivity() { | CODE |
| LOW | admin/inertia/lib/collections.ts | 12 | function resolveTierResourcesInner( | CODE |
| LOW | admin/inertia/lib/util.ts | 6 | export function setGlobalNotificationCallback(callback: (notification: Notification) => void) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | install/management_compose.yaml | 29 | # PORT is the port the admin server listens on *inside* the container and should not be changed. If you want to ch | COMMENT |
| LOW⚡ | install/management_compose.yaml | 39 | # If you change the MySQL port, make sure to update this accordingly | COMMENT |
| LOW⚡ | install/management_compose.yaml | 48 | # If you change the Redis port, make sure to update this accordingly | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | admin/app/controllers/system_controller.ts | 396 | // Security guardrails: hard-block dangerous bind mounts / malformed images regardless of | COMMENT |
| MEDIUM | admin/app/controllers/system_controller.ts | 621 | // Security guardrails (same posture as create). | COMMENT |
| MEDIUM | admin/docs/api-reference.md | 98 | ## Knowledge Base (RAG) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | admin/app/services/zim_extraction_service.ts | 184 | // that we can leverage for better chunking. If not, we'll just chunk it as one big piece of text. | COMMENT |
| MEDIUM | admin/app/services/kiwix_catalog_service.ts | 116 | // 1. Exact-name lookup (the robust path). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | admin/scripts/audit_catalog_ports.py | 61 | except Exception: | CODE |
| LOW | admin/scripts/audit_catalog_ports.py | 97 | except Exception: | CODE |
| MEDIUM | admin/scripts/audit_catalog_ports.py | 58 | def parse_config(raw): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | install/install_nomad.sh | 406 | # Create a admin.log file in the logs directory | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | admin/scripts/audit_catalog_ports.py | 77 | CODE | |
| LOW | admin/scripts/audit_catalog_ports.py | 101 | CODE |