AI Slop Code Risk Monitor

docusealco/docuseal

SlopCodeMonitor badge for docusealco/docuseal Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Open source DocuSign alternative. Create, fill, and sign digital documents ✍️

2.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for docusealco/docuseal, a Ruby project with 18,960 GitHub stars. SynthScan examined 151,481 lines of code across 682 source files, recording 248 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 2.0 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.0
Adjusted Signal
2.0
Raw Pattern Score
100%
Time Factor
2026-10-26
Last Push
19.0K
Stars
Ruby
Language
151.5K
Lines of Code
682
Files
248
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 5.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 154 finding(s).

Hallucinated Dependency & Supply Chain Risk 4.7/100 · LOW

Are imports declared and package/API names verified? 94 finding(s).

Agent Over-Engineering Ratio 3.2/100 · LOW

Are wrappers, guards, and repeated structures necessary? 97 finding(s).

PR Review Velocity Impact 9.6/100 · LOW

Which changes need focused human review? 248 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 6HIGH 0MEDIUM 2LOW 240

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 248 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers97 hits · 98 pts
SeverityFileLineSnippetContext
LOW⚡app/mailers/submitter_mailer.rb272 def build_submitter_preferences_index(submitter)CODE
LOW⚡app/mailers/submitter_mailer.rb276 def select_completed_documents(submitter)CODE
LOW⚡app/mailers/submitter_mailer.rb284 def add_attachments_with_size_limit(submitter, storage_attachments, current_size, filename_format = nil)CODE
LOWapp/mailers/submitter_mailer.rb299 def from_address_for_submitter(submitter)CODE
LOW…avascript/template_builder/dynamic_variables_schema.js278function parseComparisonOrPresence (tokens, pos) {CODE
LOW…avascript/template_builder/dynamic_variables_schema.js325function extractConditionVariables (node, acc = []) {CODE
LOW…avascript/template_builder/dynamic_variables_schema.js466function assignNestedSchemaWithPriority (propertiesHash, parentProperties, keyString, newType) {CODE
LOW…avascript/template_builder/dynamic_variables_schema.js497function processConditionVariables (condition, propertiesHash, parentProperties) {CODE
LOWapp/jobs/process_submitter_completion_job.rb98 def enqueue_completed_webhooks(submitter, is_last: false)CODE
LOWapp/jobs/process_submitter_completion_job.rb150 def enqueue_bcc_completed_emails(submitter, user, is_sent_to_user)CODE
LOWapp/jobs/process_submitter_completion_job.rb190 def enqueue_next_submitter_request_notification(submitter) # rubocop:disable Metrics/PerceivedComplexityCODE
LOWapp/jobs/process_submitter_completion_job.rb225 def enqueue_next_submitter_viewer_notification(submission, next_submitters)CODE
LOWapp/controllers/start_form_controller.rb90 def find_or_initialize_submitter(template, submitter_params)CODE
LOWapp/controllers/templates_clone_controller.rb49 def maybe_redirect_to_template(template)CODE
LOWapp/controllers/passwords_controller.rb28 def after_resetting_password_path_for(_)CODE
LOWapp/controllers/submit_form_upload_controller.rb72 def build_new_cookie_signatures_json(submitter, attachment)CODE
LOWapp/controllers/start_form_resubmit_controller.rb50 def find_or_initialize_submitter(template, resubmit_submitter)CODE
LOWapp/controllers/api/submitters_controller.rb114 def maybe_filter_by_completed_at(submitters, params)CODE
LOWapp/controllers/api/submitters_controller.rb157 def maybe_assign_completed_attributes(submitter, attrs)CODE
LOWapp/controllers/api/submission_documents_controller.rb32 def build_completed_documents(submission, merge: false)CODE
LOWapp/controllers/api/api_base_controller.rb42 def access_denied_error_message(error)CODE
LOWlib/pdfium.rb1334 def collect_text_objects_chars(text_page, rect_bounds)CODE
LOWlib/pdfium.rb1384 def rebuild_text_object_survivors(entry)CODE
LOWlib/pdfium.rb1893 def calculate_render_dimensions(width_param, height_param, scale_param)CODE
LOWlib/email_messages.rb19 def find_or_create_for_account_user(account, user, subject, body)CODE
LOWlib/submissions.rb13 def maybe_update_completed_at(submission)CODE
LOWlib/submissions.rb187 def find_first_order_submitters(submission, submitters_index)CODE
LOWlib/submissions.rb250 def filtered_conditions_schema(submission, values: nil, include_submitter_uuid: nil)CODE
LOWlib/submissions.rb262 def filtered_conditions_fields(submitter, only_submitter_fields: true)CODE
LOWlib/templates.rb107 def filter_undefined_submitters(template_submitters)CODE
LOWlib/templates.rb128 def cleanup_document_attachment(attachment)CODE
LOWlib/submission_events.rb14 def create_with_tracking_data(submitter, event_type, request, data = {})CODE
LOWlib/template_versions.rb60 def serialize_dynamic_documents(template, dynamic_docs)CODE
LOWlib/search_entries.rb118 def build_weights_wildcard_tsquery(keyword, weight)CODE
LOWlib/search_entries.rb178 def build_submitter_values_string(submitter)CODE
LOWlib/replace_email_variables.rb99 def build_documents_links_text(submitter, sig = nil)CODE
LOWlib/replace_email_variables.rb188 def build_submission_submitters(submission)CODE
LOWlib/account_configs.rb25 def find_or_initialize_for_key(account, key)CODE
LOWlib/load_bmp.rb138 def extract_raw_pixel_data_blob(bmp_bytes, pixel_data_offset, bmp_stride, height)CODE
LOWlib/load_bmp.rb161 def decode_indexed_pixel_data(padded_rows, bpp, width, color_table)CODE
LOWlib/accounts.rb19 def find_or_create_testing_user(account)CODE
LOWlib/accounts.rb43 def generate_unique_test_email(original_email)CODE
LOWlib/accounts.rb76 def load_recipient_form_fields(_account)CODE
LOWlib/document_metadatas.rb6 def find_or_create_for_document(document, account_id:)CODE
LOWlib/submitters.rb99 def select_attachments_for_download(submitter)CODE
LOWlib/submitters.rb132 def build_prefill_attachment_data(submitter, attachment)CODE
LOWlib/submitters.rb171 def fetch_values_for_delegate(submitter)CODE
LOWlib/submitters.rb262 def send_shared_link_email_verification_code(submitter, request:)CODE
LOWlib/submitters/start_form.rb40 def find_or_initialize_submitter(template, submitter_params, exclude_completed:, request:, current_user: nil)CODE
LOWlib/submitters/start_form.rb76 def assign_submission_attributes(submitter, template, ip:, user_agent:, source: :link, resubmit_submitter: nil)CODE
LOWlib/submitters/start_form.rb133 def enqueue_new_submitter_jobs(submitter)CODE
LOWlib/submitters/submit_values.rb74 def assign_completed_attributes(submitter, request, validate_required: true)CODE
LOWlib/submitters/submit_values.rb266 def calculate_date_formula_value(_formula, _values, _submission)CODE
LOWlib/submitters/submit_values.rb274 def replace_current_date_placeholders(submitter)CODE
LOWlib/submitters/submit_values.rb287 def template_default_value_for_submitter(value, submitter, with_time: false, field: nil)CODE
LOWlib/submitters/submit_values.rb300 def maybe_remove_condition_values(submitter, required_field_uuids_acc: nil)CODE
LOWlib/submitters/submit_values.rb354 def check_field_areas_attachments(field, attachments_index)CODE
LOWlib/submitters/submit_values.rb442 def replace_default_variables(value, attrs, submission, with_time: false, field: nil)CODE
LOWlib/submitters/normalize_values.rb186 def normalize_attachment_value(value, field, account, attachments, for_submitter: nil, purpose: nil)CODE
LOWlib/submitters/normalize_values.rb239 def find_or_create_blob_from_html(_account, value, _field)CODE
37 more matches not shown…
Fake / Example Data88 hits · 86 pts
SeverityFileLineSnippetContext
LOWapp/javascript/template_builder/contenteditable.vue10 :data-placeholder="placeholder"CODE
LOWspec/system/signing_form_spec.rb171 fill_in 'Name', with: 'John Doe'CODE
LOWspec/system/signing_form_spec.rb231 expect(submitter.name).to eq('John Doe')CODE
LOWspec/system/signing_form_spec.rb262 fill_in 'Name', with: 'John Doe'CODE
LOWspec/system/signing_form_spec.rb319 expect(submitter.name).to eq('John Doe')CODE
LOWspec/system/signing_form_spec.rb617 fill_in 'signature_text_input', with: 'John Doe'CODE
LOWspec/system/signing_form_spec.rb740 fill_in 'initials_text_input', with: 'John Doe'CODE
LOWspec/system/signing_form_spec.rb960 fill_in 'Full Name (optional)', with: 'John Doe'CODE
LOWspec/system/signing_form_spec.rb977 expect(field_value(submitter, 'Full Name')).to eq 'John Doe'CODE
LOWspec/system/signing_form_spec.rb985 fill_in 'Full Name (optional)', with: 'John Doe'CODE
LOWspec/system/signing_form_spec.rb1002 expect(field_value(submitter, 'Full Name')).to eq 'John Doe'CODE
LOWspec/system/signing_form_spec.rb1011 fill_in 'Full Name (optional)', with: 'Jane Doe'CODE
LOWspec/system/signing_form_spec.rb1025 expect(field_value(submitter, 'Full Name')).to eq 'Jane Doe'CODE
LOWspec/system/signing_form_spec.rb1297 fill_in 'First Name', with: 'John Doe'CODE
LOWspec/system/signing_form_spec.rb1308 fill_in 'First Name', with: 'John Doe'CODE
LOWspec/system/signing_form_spec.rb1318 expect(field_value(submitter, 'First Name')).to eq 'John Doe'CODE
LOWspec/system/email_settings_spec.rb17 fill_in 'Username', with: 'user@example.com'CODE
LOWspec/system/email_settings_spec.rb20 fill_in 'Send from Email', with: 'user@example.com'CODE
LOWspec/system/email_settings_spec.rb32 expect(encrypted_config.value['username']).to eq('user@example.com')CODE
LOWspec/system/email_settings_spec.rb37 expect(encrypted_config.value['from_email']).to eq('user@example.com')CODE
LOWdocs/openapi.json1683 "name": "John Doe",CODE
LOWdocs/openapi.json2371 "value": "John Doe"CODE
LOWdocs/openapi.json2889 "name": "John Doe",CODE
LOWdocs/openapi.json2897 "value": "John Doe"CODE
LOWdocs/openapi.json3379 "value": "John Doe"CODE
LOWdocs/openapi.json4446 "value": "John Doe"CODE
LOWdocs/openapi.json5408 "value": "John Doe"CODE
LOWdocs/openapi.json5556 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"FirsCODE
LOWdocs/openapi.json6386 "value": "John Doe"CODE
LOWdocs/openapi.json6763 "name": "John Doe",CODE
LOWdocs/openapi.json6787 "value": "John Doe"CODE
LOWdocs/openapi.json7357 "name": "John Doe",CODE
LOWdocs/openapi.json7366 "value": "John Doe"CODE
LOWdocs/openapi.json7786 "name": "John Doe",CODE
LOWdocs/openapi.json7810 "value": "John Doe"CODE
LOWdocs/openapi.json8832 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First PartCODE
LOWdocs/openapi.json8900 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"FirsCODE
LOWdocs/openapi.json11676 "value": "John Doe"CODE
LOWdocs/api/go.md1876 payload := strings.NewReader("{\"name\":\"Test Submission Document\",\"documents\":[{\"name\":\"Test Document\",\"html\CODE
LOWdocs/api/go.md1991 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First PartCODE
LOWdocs/api/go.md3979 payload := strings.NewReader("{\"html\":\"<p>Lorem Ipsum is simply dummy text of the\\n<text-field\\n name=\\\"IndustrCODE
LOWdocs/api/go.md4024 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First Party\"\n CODE
LOWdocs/api/go.md4092 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First PartCODE
LOWdocs/api/python.md1801 "html": """<p>Lorem Ipsum is simply dummy text of theCODE
LOWdocs/api/python.md1918 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First PartSTRING
LOWdocs/api/python.md3773 "html": """<p>Lorem Ipsum is simply dummy text of theSTRING
LOWdocs/api/python.md3813 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First Party\"\n STRING
LOWdocs/api/python.md3881 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First PartSTRING
LOWdocs/api/csharp.md1735request.AddParameter("application/json", "{\"name\":\"Test Submission Document\",\"documents\":[{\"name\":\"Test DocumenCODE
LOWdocs/api/csharp.md1836 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First PartCODE
LOWdocs/api/csharp.md3641request.AddParameter("application/json", "{\"html\":\"<p>Lorem Ipsum is simply dummy text of the\\n<text-field\\n name=CODE
LOWdocs/api/csharp.md3672 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First Party\"\n CODE
LOWdocs/api/csharp.md3740 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First PartCODE
LOWdocs/api/php.md1780 'html' => '<p>Lorem Ipsum is simply dummy text of theCODE
LOWdocs/api/php.md1897 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First PartCODE
LOWdocs/api/php.md3725 'html' => '<p>Lorem Ipsum is simply dummy text of theCODE
LOWdocs/api/php.md3765 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First Party\"\n CODE
LOWdocs/api/php.md3833 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First PartCODE
LOWdocs/api/javascript.md1794 html: `<p>Lorem Ipsum is simply dummy text of theCODE
LOWdocs/api/javascript.md1911 "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First PartCODE
28 more matches not shown…
Hallucination Indicators6 hits · 60 pts
SeverityFileLineSnippetContext
CRITICALapp/javascript/template_builder/dynamic_editor.js1053 tr.replaceWith(table.pos, table.pos + table.node.nodeSize, tr.doc.type.schema.nodes.paragraph.create())CODE
CRITICALapp/javascript/template_builder/dynamic_editor.js1119 tr.insert(cellPos + 1, tr.doc.type.schema.nodes.paragraph.create(paragraph?.attrs))CODE
CRITICALapp/javascript/template_builder/dynamic_menu.vue471 this.editor.view.dom.parentElement.addEventListener('mousedown', this.onMouseDown)CODE
CRITICALapp/javascript/template_builder/dynamic_menu.vue479 this.editor.view.dom.parentElement.removeEventListener('mousedown', this.onMouseDown)CODE
CRITICALapp/javascript/template_builder/dynamic_area.vue274 const tr = this.editor.view.state.tr.setNodeMarkup(pos, undefined, {CODE
CRITICALapp/javascript/template_builder/dynamic_area.vue275 ...this.editor.view.state.doc.nodeAt(pos)?.attrs,CODE
Over-Commented Block54 hits · 54 pts
SeverityFileLineSnippetContext
LOWapp/models/submission_event.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/account_linked_account.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/email_message.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/account.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/email_message_asset.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/submitter.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/submitter.rb21# uuid :string not nullCOMMENT
LOWapp/models/search_entry.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/otp_challenge.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/lock_event.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/dynamic_document_version.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/encrypted_user_config.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/webhook_url.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/email_event.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/template_folder.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/template.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/template.rb21# author_id :bigint not nullCOMMENT
LOWapp/models/webhook_event.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/template_version.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/template_sharing.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/user_config.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/document_generation_event.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/template_access.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/mcp_token.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/submitter_version.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/account_config.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/encrypted_config.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/dynamic_document.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/submission.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/submission.rb21# created_at :datetime not nullCOMMENT
LOWapp/models/webhook_attempt.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/completed_document.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/account_access.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/completed_submitter.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/document_metadata.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/user.rb1# frozen_string_literal: trueCOMMENT
LOWapp/models/user.rb21# last_sign_in_ip :stringCOMMENT
LOWapp/models/access_token.rb1# frozen_string_literal: trueCOMMENT
LOWconfig/initializers/devise.rb41 endCOMMENT
LOWconfig/initializers/devise.rb61 # Configure the parent class responsible to send e-mails.COMMENT
LOWconfig/initializers/devise.rb81 # given should be a request method and it will automatically be passed to theCOMMENT
LOWconfig/initializers/devise.rb101 # config.params_authenticatable = trueCOMMENT
LOWconfig/initializers/devise.rb121 # Does not affect registerable.COMMENT
LOWconfig/initializers/devise.rb141 config.reload_routes = falseCOMMENT
LOWconfig/initializers/devise.rb161 # Send a notification email when the user's password is changed.COMMENT
LOWconfig/initializers/devise.rb181 # config.confirm_within = 3.daysCOMMENT
LOWconfig/initializers/devise.rb201COMMENT
LOWconfig/initializers/devise.rb221 # Defines which strategy will be used to lock an account.COMMENT
LOWconfig/initializers/devise.rb241 config.unlock_in = 23.hoursCOMMENT
LOWconfig/initializers/devise.rb261 # Allow you to use another hashing or encryption algorithm besides bcrypt (default).COMMENT
LOWconfig/initializers/devise.rb281 # only the current scope. By default, Devise signs out all scopes.COMMENT
LOWconfig/initializers/devise.rb301 #COMMENT
LOWconfig/initializers/devise.rb321COMMENT
LOWdb/schema.rb1# This file is auto-generated from the current state of the database. InsteadCOMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMdb/schema.rb1# This file is auto-generated from the current state of the database. InsteadCOMMENT
MEDIUMdb/schema.rb5# This file is the source Rails uses to define your schema when running `bin/railsCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWconfig/environments/production.rb77 # Set this to true and configure the email server for immediate delivery to raise delivery errors.COMMENT