AI Slop Code Risk Monitor

roundcube/roundcubemail

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

The Roundcube Webmail suite

0.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for roundcube/roundcubemail, a PHP project with 7,253 GitHub stars. SynthScan examined 193,917 lines of code across 967 source files, recording 130 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 0.8 (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.

0.8
Adjusted Signal
0.8
Raw Pattern Score
100%
Time Factor
2026-10-25
Last Push
7.3K
Stars
PHP
Language
193.9K
Lines of Code
967
Files
130
Pattern Hits
2026-10-31
Scan Date
0.00
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 1.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.1/100 · LOW

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

Agent Over-Engineering Ratio 0.4/100 · LOW

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

PR Review Velocity Impact 3.8/100 · LOW

Which changes need focused human review? 130 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 1HIGH 2MEDIUM 0LOW 127

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 130 distinct pattern matches across 8 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.

Fake / Example Data62 hits · 72 pts
SeverityFileLineSnippetContext
LOWplugins/jqueryui/js/jquery-ui.min.js6!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(V){"use strict"CODE
LOWplugins/password/drivers/ximss.php55 // <session id="A001" urlID="4815-vN2Txjkggy7gjHRD10jw" userName="user@example.com"/>\0COMMENT
LOW…ns/example_addressbook/example_addressbook_backend.php34 'name' => 'John Doe',CODE
LOWplugins/additional_message_headers/composer.json10 "email": "email@example.org",CODE
LOWplugins/markdown_editor/tests/Browser/ComposeTest.php91 $browser->keys('#compose_to input', 'user@example.com');CODE
LOWplugins/managesieve/managesieve.js955 placeholder: $(field).attr('placeholder'),CODE
LOW…ugins/managesieve/lib/Roundcube/rcube_sieve_engine.php1785 'placeholder' => $this->plugin->gettext('headername'),CODE
LOWskins/elastic/ui.js780 $(input).filter('.datepicker').attr('placeholder', format);CODE
LOWskins/elastic/ui.js1170 .attr('placeholder', label.text())CODE
LOWskins/elastic/ui.js2074 placeholder = input.attr('placeholder'),CODE
LOWskins/elastic/ui.js2144 input.attr('placeholder', e.type == 'blur' ? placeholder : '');CODE
LOWtests/Framework/UserTest.php83 $this->assertSame('test@example.org', $all[1]['email']);CODE
LOWtests/Framework/UserTest.php98 $this->assertSame('test@example.org', $idents[1]['email_ascii']);CODE
LOWtests/Framework/UserTest.php136 $this->assertSame('test@example.org', $idents[2]['email']);CODE
LOW⚡tests/Framework/ContactsTest.php36 $data = ['email' => '@example.org'];CODE
LOW⚡tests/Framework/ContactsTest.php38 $this->assertSame(['type' => 3, 'message' => 'Invalid email address: @example.org'], $contacts->get_error());CODE
LOW⚡tests/Framework/ContactsTest.php40 $data = ['email' => 'test@test.com'];CODE
LOWtests/Framework/SmtpTest.php33 'From' => '"John Doe" <john@domain.tld>',CODE
LOWtests/Framework/MimeTest.php160 1 => ['name' => 'attacker@example.org', 'mailto' => 'admin@example.net', 'string' => '"attacker@example.CODE
LOW⚡tests/Framework/AddressbookTest.php17 $data = ['email' => 'test@test.com', 'other' => 'test'];CODE
LOW⚡tests/Framework/AddressbookTest.php20 $this->assertSame(['test@test.com'], $result);CODE
LOW⚡tests/Framework/AddressbookTest.php22 $data = ['email:home' => 'test@test.com', 'other' => 'test'];CODE
LOW⚡tests/Framework/AddressbookTest.php25 $this->assertSame(['test@test.com'], $result);CODE
LOW⚡tests/Framework/AddressbookTest.php27 $data = ['email:home' => 'test@test.com', 'other' => 'test'];CODE
LOW⚡tests/Framework/AddressbookTest.php30 $this->assertSame(['home' => ['test@test.com']], $result);CODE
LOWtests/Rcmail/SendmailTest.php99 \rcmail_sendmail::extract_inline_images($message, 'test@test.com');CODE
LOWtests/Rcmail/SendmailTest.php106 \rcmail_sendmail::extract_inline_images($message, 'test@test.com');CODE
LOWtests/Rcmail/OauthTest.php34 'name' => 'John Doe',CODE
LOWtests/Rcmail/OauthTest.php399 'name' => 'John Doe',CODE
LOWtests/Rcmail/OauthTest.php407 'user_name' => 'John Doe',CODE
LOWtests/Rcmail/OauthTest.php426 'name' => 'John Doe',CODE
LOWtests/Rcmail/OauthTest.php437 $this->assertSame($answer, ['user_name' => 'John Doe']);CODE
LOWtests/Rcmail/OutputHtmlTest.php291 $txt = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt 'CODE
LOWtests/Rcmail/OutputHtmlTest.php291 $txt = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt 'CODE
LOWtests/Browser/README.md37 $config['tests_username'] = 'roundcube.test@example.org';CODE
LOWtests/Browser/Contacts/ExportTest.php33 $this->assertSame('John Doe', $contacts[0]->displayname);CODE
LOWtests/Browser/Contacts/ExportTest.php60 $this->assertSame('John Doe', $contacts[0]->displayname);CODE
LOWtests/Browser/Contacts/PrintTest.php49 ->assertSeeIn('#contacttabs', 'johndoe@example.org');CODE
LOW⚡tests/Browser/data/data.sql2INSERT INTO contacts (user_id, changed, del, name, email, firstname, surname, vcard, words) VALUES (1, '2019-12-31 12:23CODE
LOW⚡tests/Browser/data/data.sql2INSERT INTO contacts (user_id, changed, del, name, email, firstname, surname, vcard, words) VALUES (1, '2019-12-31 12:23CODE
LOW⚡tests/Browser/data/data.sql7END:VCARD', ' john do johndo@example.org');CODE
LOWtests/Actions/Settings/IdentitiesTest.php33 $this->assertTrue(str_contains($result, 'test@example.org'));CODE
LOWtests/Actions/Settings/IdentityDeleteTest.php27 $query = $db->query('SELECT * FROM `identities` WHERE `email` = ?', 'test@example.org');CODE
LOWtests/Actions/Contacts/MailtoTest.php27 $query = $db->query('SELECT `contact_id` FROM `contacts` WHERE `email` = ?', 'johndoe@example.org');CODE
LOWtests/Actions/Contacts/Group_DelmembersTest.php100 . "VALUES (2, '2019-12-31 12:23:33', 0, 'John Doe', 'johndoe@example.org', 'John', 'Doe', '', '')");CODE
LOWtests/Actions/Contacts/Group_DelmembersTest.php100 . "VALUES (2, '2019-12-31 12:23:33', 0, 'John Doe', 'johndoe@example.org', 'John', 'Doe', '', '')");CODE
LOWtests/Actions/Contacts/Group_AddmembersTest.php99 . "VALUES (2, '2019-12-31 12:23:33', 0, 'John Doe', 'johndoe@example.org', 'John', 'Doe', '', '')");CODE
LOWtests/Actions/Contacts/Group_AddmembersTest.php99 . "VALUES (2, '2019-12-31 12:23:33', 0, 'John Doe', 'johndoe@example.org', 'John', 'Doe', '', '')");CODE
LOW⚡tests/src/sql/contacts.sql9 VALUES (1, '2019-12-31 12:23:33.523071-05', 0, 'John Doe', 'johndoe@example.org', 'John', 'Doe', 'BEGIN:VCARDCODE
LOW⚡tests/src/sql/contacts.sql9 VALUES (1, '2019-12-31 12:23:33.523071-05', 0, 'John Doe', 'johndoe@example.org', 'John', 'Doe', 'BEGIN:VCARDCODE
LOW⚡tests/src/sql/contacts.sql15END:VCARD', ' john do acme johndo@example.org');CODE
LOWtests/src/sql/identities.sql3INSERT INTO identities (user_id, name, standard, email, signature) VALUES (1, 'test', '0', 'test@example.org', 'sig');CODE
LOWprogram/include/rcmail_output_html.php2441 if (empty($attrib['placeholder'])) {CODE
LOWprogram/include/rcmail_output_html.php2442 $attrib['placeholder'] = $this->app->gettext('searchplaceholder');CODE
LOWprogram/actions/mail/show.php355 if (!empty($attrib['placeholder'])) {CODE
LOWprogram/actions/mail/show.php356 $placeholder = $rcmail->output->abs_url($attrib['placeholder'], true);CODE
LOW⚡program/actions/contacts/index.php1292 } elseif (!empty($attrib['placeholder'])) {CODE
LOW⚡program/actions/contacts/index.php1293 $photo_img = $rcmail->output->abs_url($attrib['placeholder'], true);CODE
LOW⚡program/actions/contacts/index.php1301 unset($attrib['placeholder']);CODE
LOWprogram/lib/Roundcube/html.php409 'placeholder', 'autofocus', 'pattern', 'oninput',CODE
2 more matches not shown…
Over-Commented Block45 hits · 34 pts
SeverityFileLineSnippetContext
LOWconfig/defaults.inc.php21COMMENT
LOWconfig/defaults.inc.php41COMMENT
LOWconfig/defaults.inc.php61];COMMENT
LOWconfig/defaults.inc.php121COMMENT
LOWconfig/defaults.inc.php141// For example %n = mail.domain.tld, %t = domain.tldCOMMENT
LOWconfig/defaults.inc.php161// 'verify_peer' => true,COMMENT
LOWconfig/defaults.inc.php181COMMENT
LOWconfig/defaults.inc.php221// Some servers return hidden folders (name starting with a dot)COMMENT
LOWconfig/defaults.inc.php261// ----------------------------------COMMENT
LOWconfig/defaults.inc.php281// Note: To disable user authentication set smtp_user and smtp_pass to ''.COMMENT
LOWconfig/defaults.inc.php321// See https://php.net/manual/en/context.ssl.phpCOMMENT
LOWconfig/defaults.inc.php421// OpenIDC protocol to get a short-living password (claim) for the user to log into IMAP/SMTP.COMMENT
LOWconfig/defaults.inc.php441// $config['oauth_token_uri'] = "https://oauth2.googleapis.com/token";COMMENT
LOWconfig/defaults.inc.php461// $config['oauth_identity_uri'] = "https://graph.microsoft.com/v1.0/me";COMMENT
LOWconfig/defaults.inc.php481// Define any number of hosts in the form of hostname:port or unix:///path/to/socket.fileCOMMENT
LOWconfig/defaults.inc.php501// Unset fields will be set to the default values host=127.0.0.1, port=6379.COMMENT
LOWconfig/defaults.inc.php541// current skin folder. Remove the slash to point to a file in the RoundcubeCOMMENT
LOWconfig/defaults.inc.php601// Location of temporary saved files such as attachments and cache filesCOMMENT
LOWconfig/defaults.inc.php621// Allow browser-autocompletion on login form.COMMENT
LOWconfig/defaults.inc.php661// Session authentication cookie name. Default: 'roundcube_sessauth'COMMENT
LOWconfig/defaults.inc.php681$config['session_storage'] = 'db';COMMENT
LOWconfig/defaults.inc.php701$config['x_frame_options'] = 'sameorigin';COMMENT
LOWconfig/defaults.inc.php721// %d - domain (http hostname, $_SERVER['HTTP_HOST'] without the first part)COMMENT
LOWconfig/defaults.inc.php741// Password character set, to change the password for userCOMMENT
LOWconfig/defaults.inc.php801// According to RFC2298, return receipt envelope sender address must be empty.COMMENT
LOWconfig/defaults.inc.php821// Mimetypes supported by the browser.COMMENT
LOWconfig/defaults.inc.php861// This can be set to a number defining token length. Default: 16.COMMENT
LOWconfig/defaults.inc.php881// It should be used as a last resort for tricky environments (e.g. with proxies).COMMENT
LOWconfig/defaults.inc.php961$config['date_long'] = 'Y-m-d H:i';COMMENT
LOWconfig/defaults.inc.php1001// Set the spell checking engine. Possible values:COMMENT
LOWconfig/defaults.inc.php1061// will be used. This is set to false for backwards compatibility.COMMENT
LOWconfig/defaults.inc.php1081// This indicates which type of address book to use. Possible choices:COMMENT
LOWconfig/defaults.inc.php1101// uid=user@domainCOMMENT
LOWconfig/defaults.inc.php1141 'search_bind_pw' => '',COMMENT
LOWconfig/defaults.inc.php1161 // If writable is true then these fields need to be populated:COMMENT
LOWconfig/defaults.inc.php1281// If there's more than one address book, n parallel (async) requests will be created,COMMENT
LOWconfig/defaults.inc.php1301// Warning: These are field names not LDAP attributes (see 'fieldmap' setting)!COMMENT
LOWconfig/defaults.inc.php1321// Default: true (the built-in "Trusted senders" addressbook, source id = '2')COMMENT
LOWconfig/defaults.inc.php1381// 0 - never,COMMENT
LOWconfig/defaults.inc.php1441// If true all folders will be checked for recent messagesCOMMENT
LOWconfig/defaults.inc.php1461COMMENT
LOWconfig/defaults.inc.php1481$config['force_7bit'] = false;COMMENT
LOWconfig/defaults.inc.php1501// Directly delete messages in Junk instead of moving to TrashCOMMENT
LOWplugins/jqueryui/js/jquery.minicolors.min.js1//COMMENT
LOWprogram/lib/Roundcube/rcube_result_thread.php581 // For the following structure: THREAD (2)(3 6 (4 23)(44 7 96))((11)(12))COMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHprogram/include/rcmail.php503 // remove from list if not writeable as requestedCOMMENT
HIGHprogram/include/rcmail.php507 // remove from list if hidden as requestedCOMMENT
Hyper-Verbose Identifiers14 hits · 14 pts
SeverityFileLineSnippetContext
LOW.php-cs-fixer-fully_qualified_strict_types.php251 protected function createConfigurationDefinition(): FixerConfigurationResolverInterfaceCODE
LOW.php-cs-fixer-fully_qualified_strict_types.php543 private function setupUsesFromDiscoveredSymbols(array &$uses, string $namespaceName): voidCODE
LOWtests/Framework/LdapGenericTest.php12 protected function markTestSkippedIfNetLdapPackageIsNotInstalled(): voidCODE
LOWtests/MessageRendering/MarkdownTest.php32 public function testPlaintextAndMarkdownContent()CODE
LOWtests/MessageRendering/MarkdownTest.php57 public function testPlaintextWithMarkdownAttachment()CODE
LOW…ts/MessageRendering/EmailAdressSpoofingAttacksTest.php14 public function testEmailAdressSpoofingAttacks()CODE
LOWtests/MessageRendering/MessageRenderingTestCase.php43 protected function runAndGetHtmlOutputDomxpath(string $msgId): \DOMXPathCODE
LOW…sts/MessageRendering/SingleAttachedImageNoTextTest.php14 public function testShowMultipartMixedSingleImageToo()CODE
LOW…sts/MessageRendering/SingleAttachedImageNoTextTest.php30 public function testShowUnreferredToImagesWithContentId()CODE
LOW…sts/MessageRendering/SingleAttachedImageNoTextTest.php45 public function testShowUnreferredToImagesWithContentIdInMultipartAlternative()CODE
LOWtests/Public/StaticTest.php247 public function testRangeHeaderSuffixLargerThanFile(): voidCODE
LOWtests/Public/StaticTest.php273 public function testRangeHeaderFullFileViaRange(): voidCODE
LOWtests/Public/StaticTest.php295 public function testRangeHeaderFullFileViaRangeEndBiggerThanSize(): voidCODE
LOWtests/Public/StaticTest.php415 public function testContentLengthAccuracy($path): voidCODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALplugins/jqueryui/js/jquery-ui.min.js6!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(V){"use strict"CODE
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡tests/Rcmail/OauthTest.php624 // Step 1: User somehow ends up with a login URL stored (shouldn't happen, but test it)COMMENT
LOW⚡tests/Rcmail/OauthTest.php627 // Step 2: unauthenticated hook should NOT store login URLsCOMMENT
LOWprogram/include/rcmail.php364 // we need to check if default is writeable, if not weCOMMENT
Structural Annotation Overuse2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡tests/Rcmail/OauthTest.php624 // Step 1: User somehow ends up with a login URL stored (shouldn't happen, but test it)COMMENT
LOW⚡tests/Rcmail/OauthTest.php627 // Step 2: unauthenticated hook should NOT store login URLsCOMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/message_rendering.yml29 # re-building what our compose-file contains we can just use it.COMMENT