Official successor to conduwuit
This report presents the forensic synthetic code analysis of matrix-construct/tuwunel, a Rust project with 2,325 GitHub stars. SynthScan v2.0 examined 160,281 lines of code across 1164 source files, recording 543 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 2.8 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).
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 543 distinct pattern matches across 9 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 | Cargo.toml | 721 | COMMENT | |
| LOW | Cargo.toml | 741 | opt-level = 0 | COMMENT |
| LOW | Cargo.toml | 761 | # '-Ztime-llvm-passes', | COMMENT |
| LOW | Cargo.toml | 781 | # '-Zmir-opt-level=0', | COMMENT |
| LOW | Cargo.toml | 801 | # '-Zmir-opt-level=0', | COMMENT |
| LOW | Cargo.toml | 821 | # '-Zvalidate-mir=false', | COMMENT |
| LOW | tuwunel-example.toml | 1 | ### Tuwunel Configuration | COMMENT |
| LOW | tuwunel-example.toml | 21 | # The server_name is the pretty name of this server. It is used as a | COMMENT |
| LOW | tuwunel-example.toml | 41 | # media. Note: this was previously "/var/lib/matrix-conduit". | COMMENT |
| LOW | tuwunel-example.toml | 61 | # "::1"] | COMMENT |
| LOW | tuwunel-example.toml | 81 | # granting world R/W permissions with `unix_socket_perms` (666 minimum). | COMMENT |
| LOW | tuwunel-example.toml | 101 | # API. To use this, set a database backup path that tuwunel can write | COMMENT |
| LOW | tuwunel-example.toml | 121 | # | COMMENT |
| LOW | tuwunel-example.toml | 141 | # | COMMENT |
| LOW | tuwunel-example.toml | 161 | # | COMMENT |
| LOW | tuwunel-example.toml | 181 | # | COMMENT |
| LOW | tuwunel-example.toml | 201 | #spacehierarchy_cache_ttl_min = 21600 | COMMENT |
| LOW | tuwunel-example.toml | 221 | # | COMMENT |
| LOW | tuwunel-example.toml | 241 | # exotic loads of federating to many other servers require a higher TTL | COMMENT |
| LOW | tuwunel-example.toml | 261 | # The number of seconds to wait for a reply to a DNS query. Please note | COMMENT |
| LOW | tuwunel-example.toml | 281 | # of UDP. | COMMENT |
| LOW | tuwunel-example.toml | 301 | # | COMMENT |
| LOW | tuwunel-example.toml | 321 | #dns_passthru_domains = [] | COMMENT |
| LOW | tuwunel-example.toml | 341 | COMMENT | |
| LOW | tuwunel-example.toml | 361 | # | COMMENT |
| LOW | tuwunel-example.toml | 381 | # | COMMENT |
| LOW | tuwunel-example.toml | 401 | # previews and update/news endpoint checks. | COMMENT |
| LOW | tuwunel-example.toml | 421 | #request_idle_timeout = 5 | COMMENT |
| LOW | tuwunel-example.toml | 441 | # advertise it in Accept-Encoding and transparently decompress responses. | COMMENT |
| LOW | tuwunel-example.toml | 461 | COMMENT | |
| LOW | tuwunel-example.toml | 481 | # for that server, so subsequent lookups back off instead of blocking | COMMENT |
| LOW | tuwunel-example.toml | 501 | # | COMMENT |
| LOW | tuwunel-example.toml | 521 | # | COMMENT |
| LOW | tuwunel-example.toml | 541 | # | COMMENT |
| LOW | tuwunel-example.toml | 561 | # source. The rightmost value is used for multi-valued headers; | COMMENT |
| LOW | tuwunel-example.toml | 581 | # | COMMENT |
| LOW | tuwunel-example.toml | 601 | # if you deployed the proxy in a common bridge network with your | COMMENT |
| LOW | tuwunel-example.toml | 621 | # | COMMENT |
| LOW | tuwunel-example.toml | 641 | # `yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse` | COMMENT |
| LOW | tuwunel-example.toml | 661 | COMMENT | |
| LOW | tuwunel-example.toml | 681 | # | COMMENT |
| LOW | tuwunel-example.toml | 701 | COMMENT | |
| LOW | tuwunel-example.toml | 721 | COMMENT | |
| LOW | tuwunel-example.toml | 741 | # reloadable: yes | COMMENT |
| LOW | tuwunel-example.toml | 761 | # | COMMENT |
| LOW | tuwunel-example.toml | 781 | #resolve_state_locally_shadow = false | COMMENT |
| LOW | tuwunel-example.toml | 801 | # | COMMENT |
| LOW | tuwunel-example.toml | 821 | # | COMMENT |
| LOW | tuwunel-example.toml | 841 | # "/_matrix/client/v3/profile/{userId}". | COMMENT |
| LOW | tuwunel-example.toml | 861 | # MSC4466 lets clients pick this per request via the | COMMENT |
| LOW | tuwunel-example.toml | 881 | # APIs. Set this to false to protect against /publicRooms spiders. | COMMENT |
| LOW | tuwunel-example.toml | 901 | # | COMMENT |
| LOW | tuwunel-example.toml | 921 | #turn_allow_guests = false | COMMENT |
| LOW | tuwunel-example.toml | 941 | # | COMMENT |
| LOW | tuwunel-example.toml | 961 | # Correct operation may not be guaranteed, but incorrect operation may be | COMMENT |
| LOW | tuwunel-example.toml | 981 | # MSC4284: ask the room's policy server to sign outgoing events. When a | COMMENT |
| LOW | tuwunel-example.toml | 1001 | # event, on the client read endpoints. Off by default: it adds a typed | COMMENT |
| LOW | tuwunel-example.toml | 1021 | # | COMMENT |
| LOW | tuwunel-example.toml | 1041 | # | COMMENT |
| LOW | tuwunel-example.toml | 1061 | COMMENT | |
| 445 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | src/api/server/well_known.rs | 15 | server: match services.server.config.well_known.server.as_ref() { | CODE |
| CRITICAL | src/service/oauth/server.rs | 83 | let has_cwk = args.server.config.well_known.client.is_some(); | CODE |
| CRITICAL | src/service/oauth/providers.rs | 229 | && let Some(server_url) = self.services.config.well_known.client.as_ref() | CODE |
| CRITICAL | src/service/admin/execute.rs | 39 | let smoketest = self.services.server.config.test.contains("smoke"); | CODE |
| CRITICAL | src/service/admin/mod.rs | 306 | let Some(report_room) = self.services.server.config.report_room.as_ref() else { | CODE |
| CRITICAL | src/service/media/mod.rs | 848 | r.push(self.services.server.config.database_path.clone()); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tuwunel-example.toml | 119 | # Set this to any float value to multiply tuwunel's in-memory LRU caches | COMMENT |
| LOW | tuwunel-example.toml | 132 | # Set this to any float value in megabytes for tuwunel to tell the | COMMENT |
| LOW | tuwunel-example.toml | 146 | # Set this to any float value in megabytes for tuwunel to tell the | COMMENT |
| LOW | tuwunel-example.toml | 839 | # Set this to true to require authentication on the normally | COMMENT |
| LOW | tuwunel-example.toml | 870 | # Set this to true to allow your server's public room directory to be | COMMENT |
| LOW | tuwunel-example.toml | 879 | # Set this to true to allow your server's public room directory to be | COMMENT |
| LOW | tuwunel-example.toml | 893 | # Set this to false to limit results of rooms when searching by ID to | COMMENT |
| LOW | tuwunel-example.toml | 923 | # Set this to true to lock down your server's public room directory and | COMMENT |
| LOW | tuwunel-example.toml | 930 | # Set this to true to allow federating device display names / allow | COMMENT |
| LOW | tuwunel-example.toml | 1792 | # Set this to false if you run the server on btrfs or ZFS, and do not | COMMENT |
| LOW | tuwunel-example.toml | 1941 | # Set this to true for tuwunel to compress HTTP response bodies using | COMMENT |
| LOW | tuwunel-example.toml | 1950 | # Set this to true for tuwunel to compress HTTP response bodies using | COMMENT |
| LOW | tuwunel-example.toml | 1962 | # Set this to true for tuwunel to compress HTTP response bodies using | COMMENT |
| LOW | tuwunel-example.toml | 2853 | # Set this to true for excluding unencrypted rooms from the common-rooms | COMMENT |
| LOW | docs/deploying/docker-compose.with-traefik.yml | 101 | TRAEFIK_CERTIFICATESRESOLVERS_LETSENCRYPT_ACME_EMAIL: # Set this to the email you want to receive certificate expi | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tuwunel-example.toml | 1494 | # This is more secure, but if needed you can use traditional static | COMMENT |
| MEDIUM | tuwunel-example.toml | 1663 | # anything, you can try mode 3 (SkipAnyCorruptedRecord) but this will | COMMENT |
| MEDIUM | docs/deploying/docker-compose.with-traefik.yml | 18 | TUWUNEL_REGISTRATION_TOKEN: "" # This is a token you can use to register on the server | CODE |
| LOW | docs/deploying/docker-compose.for-traefik.yml | 61 | # name, don't forget to change it here and in the docker-compose.override.yml | COMMENT |
| LOW | docs/deploying/docker-compose.for-traefik.yml | 61 | # name, don't forget to change it here and in the docker-compose.override.yml | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tuwunel-example.toml | 392 | # wait is event-driven and wakes the instant the events arrive, so this is | COMMENT |
| MEDIUM | .github/workflows/summarise/grid.sh | 3 | # and Playwright): the rendering primitives plus the driver that orchestrates | COMMENT |
| MEDIUM | .github/workflows/summarise/grid.sh | 119 | # The orchestration shared by every grid summariser. A sourcing adapter sets the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/service/rooms/state_res/events/member.rs | 15 | /// This is a type that deserializes each field lazily, as requested. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docker/playwright.sh | 34 | # the harness does not provision (no-ops in docker/lib/playwright.tuwunel.ts): | COMMENT |
| MEDIUM | docker/lib/complement-runner.sh | 44 | # resources (the patched harness reads COMPLEMENT_RUN_ID). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tuwunel-example.toml | 3009 | # example: "admin@example.com" | COMMENT |
| LOW | src/core/config/mod.rs | 3502 | /// example: "admin@example.com" | COMMENT |
| LOW | src/service/sending/sender.rs | 674 | device_id: device_id!("placeholder").to_owned(), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/summarise/ci_timings.py | 83 | CODE | |
| LOW | .github/workflows/summarise/complement_metrics.py | 64 | CODE | |
| LOW | .github/workflows/summarise/complement_metrics.py | 210 | CODE |