Super simple group chat, without a subscription
This report presents the forensic synthetic code analysis of basecamp/once-campfire, a Ruby project with 4,552 GitHub stars. SynthScan v2.0 examined 18,298 lines of code across 376 source files, recording 58 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 4.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).
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 58 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 | app/models/webhook.rb | 72 | def receive_attachment_reply_to(room, attachment:) | CODE |
| LOW | app/models/webhook.rb | 76 | def without_recipient_mentions(body) | CODE |
| LOW⚡ | app/models/room/message_pusher.rb | 40 | def push_to_users_involved_in_everything(payload) | CODE |
| LOW⚡ | app/models/room/message_pusher.rb | 44 | def push_to_users_involved_in_mentions(payload) | CODE |
| LOW⚡ | app/models/room/message_pusher.rb | 52 | def push_subscriptions_for_mentionable_users(mentionees) | CODE |
| LOW⚡ | app/models/room/message_pusher.rb | 62 | def enqueue_payload_for_delivery(payload, subscriptions) | CODE |
| LOW | app/models/user/mentionable.rb | 12 | def attachable_plain_text_representation(caption) | CODE |
| LOW | app/models/opengraph/metadata/fetching.rb | 30 | def fetch_non_fxtwitter_document(untrusted_url) | CODE |
| LOW | app/models/opengraph/metadata/fetching.rb | 53 | def replace_twitter_domain_for_opengraph_support(url) | CODE |
| LOW | app/javascript/lib/autocomplete/helpers.js | 28 | export function transitionElementWithClass(element, className, callback) { | CODE |
| LOW | app/javascript/lib/autocomplete/helpers.js | 86 | export function getAbsolutePositionForOffsets({ top, right, bottom, left }) { | CODE |
| LOW | app/controllers/users/sidebars_controller.rb | 13 | def extract_direct_memberships(all_memberships) | CODE |
| LOW | app/controllers/concerns/authentication.rb | 14 | def allow_unauthenticated_access(**options) | CODE |
| LOW | app/controllers/concerns/authentication.rb | 22 | def require_unauthenticated_access(**options) | CODE |
| LOW | app/controllers/concerns/authentication.rb | 86 | def set_authentication_cookie(session) | CODE |
| LOW | app/helpers/messages_helper.rb | 86 | def message_attachment_presentation(message) | CODE |
| LOW | app/helpers/messages_helper.rb | 90 | def message_sound_presentation(message) | CODE |
| LOW | app/helpers/users_helper.rb | 2 | def button_to_direct_room_with(user) | CODE |
| LOW | app/helpers/clipboard_helper.rb | 2 | def button_to_copy_to_clipboard(url, &) | CODE |
| LOW | app/helpers/messages/attachment_presentation.rb | 48 | def inline_media_dimension_constraints(width, height, &) | CODE |
| LOW | app/helpers/rooms/involvements_helper.rb | 2 | def turbo_frame_for_involvement_tag(room, &) | CODE |
| LOW | app/helpers/rooms/involvements_helper.rb | 8 | def button_to_change_involvement(room, involvement) | CODE |
| LOW | test/models/room/push_test.rb | 67 | def wait_for_web_push_delivery_pool_tasks(count) | CODE |
| LOW | test/models/room/push_test.rb | 71 | def wait_for_invalidation_pool_tasks(count) | CODE |
| LOW | test/models/message/attachment_test.rb | 24 | def create_attachment_message(file, content_type) | CODE |
| LOW | test/controllers/messages_controller_test.rb | 158 | def ensure_messages_not_present(*messages) | CODE |
| LOW | test/controllers/accounts/logos_controller_test.rb | 49 | def assert_valid_png_response(size:) | CODE |
| LOW | test/test_helpers/turbo_test_helper.rb | 2 | def assert_rendered_turbo_stream_broadcast(*streambles, action:, target:, &block) | CODE |
| LOW | test/helpers/content_filters_test.rb | 143 | def unfurled_message_body_for_basecamp(text) | CODE |
| LOW | test/helpers/content_filters_test.rb | 153 | def unfurled_message_body_for_twitter(text) | CODE |
| LOW | test/channels/unread_rooms_channel_test.rb | 36 | def capture_unread_broadcasts_for(user) | CODE |
| LOW | lib/rails_ext/actiontext_opengraph_embeds.rb | 33 | def attachable_plain_text_representation(caption) | CODE |
| LOW | lib/rails_ext/action_text_attachables.rb | 13 | def attachable_from_possibly_expired_sgid(sgid) | CODE |
| LOW | lib/web_push/pool.rb | 44 | def invalidate_subscription_later(id) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/channels/room_messages_channel.rb | 1 | # Authorizes the room message stream when the subscription is made, so that revoking a | COMMENT |
| LOW | config/storage.yml | 1 | test: | COMMENT |
| LOW | config/storage.yml | 21 | # credentials: <%= Rails.root.join("path/to/gcs.keyfile") %> | COMMENT |
| LOW | config/locales/en.yml | 1 | # Files in the config/locales directory are used for internationalization | COMMENT |
| LOW | config/locales/en.yml | 21 | # | COMMENT |
| LOW | config/environments/test.rb | 1 | require "active_support/core_ext/integer/time" | COMMENT |
| LOW | config/initializers/web_push.rb | 21 | # Pin the connection to the public IP resolved (and guarded) by | COMMENT |
| LOW | config/initializers/permissions_policy.rb | 1 | # Define an application-wide HTTP permissions policy. For further | COMMENT |
| LOW | config/initializers/content_security_policy.rb | 1 | # Be sure to restart your server when you modify this file. | COMMENT |
| LOW | config/initializers/content_security_policy.rb | 21 | # config.content_security_policy_nonce_directives = %w(script-src) | COMMENT |
| LOW | config/initializers/inflections.rb | 1 | # Be sure to restart your server when you modify this file. | COMMENT |
| LOW | lib/restricted_http/private_network_guard.rb | 1 | require "surfguard" | COMMENT |
| LOW | db/schema.rb | 1 | # This file is auto-generated from the current state of the database. Instead | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | config/initializers/permissions_policy.rb | 1 | # Define an application-wide HTTP permissions policy. For further | COMMENT |
| MEDIUM | config/initializers/content_security_policy.rb | 3 | # Define an application-wide content security policy. | COMMENT |
| MEDIUM | db/schema.rb | 1 | # This file is auto-generated from the current state of the database. Instead | COMMENT |
| MEDIUM | db/schema.rb | 5 | # This file is the source Rails uses to define your schema when running `bin/rails | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | app/javascript/controllers/refresh_room_controller.js | 52 | this.channel.consumer.connection.monitor.visibilityDidChange() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/models/first_run_test.rb | 27 | FirstRun.create!({ name: "User", email_address: "user@example.com", password: "secret123456" }) | CODE |
| LOW | test/models/user_test.rb | 35 | User.create!(name: "User", email_address: "user@example.com", password: "secret123456") | CODE |
| LOW | test/models/user/role_test.rb | 5 | assert User.create!(name: "User", email_address: "user@example.com", password: "secret123456").member? | CODE |
| LOW⚡ | test/controllers/users/profiles_controller_test.rb | 15 | put user_profile_url, params: { user: { name: "John Doe", bio: "Acrobat" } } | CODE |
| LOW⚡ | test/controllers/users/profiles_controller_test.rb | 18 | assert_equal "John Doe", users(:david).reload.name | CODE |
| LOW⚡ | test/controllers/users/profiles_controller_test.rb | 24 | put user_profile_url(users(:jason)), params: { user: { name: "John Doe" } } | CODE |