Wiki.js | A modern and powerful wiki app built on Node.js
This report presents the forensic synthetic code analysis of requarks/wiki, a Vue project with 28,592 GitHub stars. SynthScan v2.0 examined 66,251 lines of code across 544 source files, recording 88 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 2.7 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 88 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 |
|---|---|---|---|---|
| MEDIUM⚡ | config.sample.yml | 7 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 9 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 13 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 15 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 88 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 90 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 97 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 99 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 104 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 106 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 111 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 113 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 118 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 120 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 126 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 128 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 135 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 137 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 141 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config.sample.yml | 143 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | config.sample.yml | 57 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | config.sample.yml | 59 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | server/app/data.yml | 1 | # --------------------------------- | COMMENT |
| MEDIUM | server/app/data.yml | 4 | # --------------------------------- | COMMENT |
| MEDIUM | server/app/data.yml | 169 | # --------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config.sample.yml | 1 | ####################################################################### | COMMENT |
| LOW | config.sample.yml | 41 | # cert: path/to/cert.crt | COMMENT |
| LOW | config.sample.yml | 81 | # to 1024 bits (default: null): | COMMENT |
| LOW | config.sample.yml | 101 | COMMENT | |
| LOW | config.sample.yml | 121 | # If your server cannot access the internet. Set to true and manually | COMMENT |
| LOW | config.sample.yml | 141 | # --------------------------------------------------------------------- | COMMENT |
| LOW | server/graph/resolvers/folder.js | 1 | module.exports = { | COMMENT |
| LOW | server/graph/resolvers/folder.js | 21 | // name: args.name | COMMENT |
| LOW | server/graph/resolvers/tag.js | 1 | module.exports = { | COMMENT |
| LOW | server/graph/resolvers/tag.js | 21 | // createTag(obj, args) { | COMMENT |
| LOW | server/graph/resolvers/tag.js | 41 | // return tag.removeDocument(doc) | COMMENT |
| LOW | server/models/pages.js | 1021 | }) | COMMENT |
| LOW | server/modules/rendering/markdown-katex/mhchem.js | 81 | // | COMMENT |
| LOW | server/modules/rendering/markdown-katex/mhchem.js | 101 | // | COMMENT |
| LOW | .github/workflows/build.yml | 381 | with: | COMMENT |
| LOW | .github/workflows/build.yml | 401 | # sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | COMMENT |
| LOW | dev/cypress/plugins/index.js | 1 | /// <reference types="cypress" /> | COMMENT |
| LOW | dev/cypress/support/index.js | 1 | // *********************************************************** | COMMENT |
| LOW | dev/cypress/support/commands.js | 1 | // *********************************************** | COMMENT |
| LOW | dev/cypress/support/commands.js | 21 | // Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... }) | COMMENT |
| LOW | dev/containers/docker-compose.yml | 21 | container_name: wiki-adminer | COMMENT |
| LOW | dev/helm/values.yaml | 81 | # hosts: | COMMENT |
| LOW | dev/helm/values.yaml | 121 | # readOnlyRootFilesystem: true | COMMENT |
| LOW | dev/helm/values.yaml | 141 | extraEnvVars: [] | COMMENT |
| LOW | dev/helm/values.yaml | 161 | enabled: true | COMMENT |
| LOW | dev/helm/values.yaml | 181 | ## PostgreSQL Database to create. | COMMENT |
| LOW | dev/helm/values.yaml | 201 | ## Persistent Volume Storage configuration. | COMMENT |
| LOW | dev/helm/values.yaml | 221 | size: 8Gi | COMMENT |
| LOW | client/scss/base/icons.scss | 1 | // @font-face { | COMMENT |
| LOW | client/scss/base/icons.scss | 21 | // white-space: nowrap; | COMMENT |
| LOW | client/components/admin/admin-pages-edit.vue | 41 | v-list-item-title Edit | COMMENT |
| LOW | client/components/admin/admin-general.vue | 121 | v-toolbar(color='indigo', dark, dense, flat) | COMMENT |
| LOW | client/components/admin/admin-general.vue | 141 | //- disabled | COMMENT |
| LOW | client/components/admin/admin-theme.vue | 61 | outlined | COMMENT |
| LOW | client/components/admin/admin-theme.vue | 81 | //- template(v-slot:item='thm') | COMMENT |
| LOW | client/components/admin/admin-security.vue | 101 | //- v-model='config.securityCSP' | COMMENT |
| LOW | client/components/admin/admin-extensions.vue | 61 | // responseResult { | COMMENT |
| LOW | client/components/common/nav-header.vue | 21 | v-flex(xs5, md4) | COMMENT |
| LOW | client/components/editor/editor-modal-media.vue | 81 | v-menu(offset-x, min-width='200') | COMMENT |
| LOW | client/components/editor/editor-modal-media.vue | 161 | //- .body-2(:class='$vuetify.theme.dark ? `white--text` : `teal--text`') {{$t('editor:assets.fetchImage' | COMMENT |
| LOW | client/components/editor/editor-markdown.vue | 441 | // reader.onload = evt => { | COMMENT |
| LOW | client/components/editor/editor-modal-properties.vue | 201 | //- .overline {{$t('editor:props.socialFeatures')}} | COMMENT |
| LOW | client/components/editor/editor-modal-properties.vue | 221 | //- v-model='isPublished' | COMMENT |
| LOW | client/themes/default/components/page.vue | 181 | span {{$t('common:header.history')}} | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | client/components/editor/markdown/help.vue | 17 | div **Lorem ipsum** | CODE |
| LOW⚡ | client/components/editor/markdown/help.vue | 22 | .caption: strong Lorem ipsum | CODE |
| LOW⚡ | client/components/editor/markdown/help.vue | 28 | div *Lorem ipsum* | CODE |
| LOW⚡ | client/components/editor/markdown/help.vue | 33 | .caption: em Lorem ipsum | CODE |
| LOW⚡ | client/components/editor/markdown/help.vue | 39 | div ~~Lorem ipsum~~ | CODE |
| LOW⚡ | client/components/editor/markdown/help.vue | 44 | .caption(style='text-decoration: line-through;') Lorem ipsum | CODE |
| LOW⚡ | client/components/editor/markdown/help.vue | 156 | div Lorem ipsum | CODE |
| LOW⚡ | client/components/editor/markdown/help.vue | 158 | div Dolor sit amet | CODE |
| LOW⚡ | client/components/editor/markdown/help.vue | 163 | .caption Lorem ipsum | CODE |
| LOW⚡ | client/components/editor/markdown/help.vue | 165 | .caption Dolor sit amet | CODE |
| LOW | client/components/editor/markdown/help.vue | 185 | div.pl-3 echo 'Lorem ipsum' | CODE |
| LOW | client/components/editor/markdown/help.vue | 200 | span.token.string 'Lorem ipsum'#[br] | CODE |
| LOW⚡ | client/components/editor/markdown/help.vue | 211 | div > Lorem ipsum | CODE |
| LOW⚡ | client/components/editor/markdown/help.vue | 212 | div > dolor sit amet | CODE |
| LOW⚡ | client/components/editor/markdown/help.vue | 218 | blockquote(style='border: 1px solid #263238; border-radius: .5rem; padding: 1rem 24px;') Lorem ips | CODE |
| LOW⚡ | client/components/editor/markdown/help.vue | 218 | blockquote(style='border: 1px solid #263238; border-radius: .5rem; padding: 1rem 24px;') Lorem ips | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | server/controllers/common.js | 29 | if (WIKI.models.knex.client.pool.numFree() < 1 && WIKI.models.knex.client.pool.numUsed() < 1) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/auto_assign.yml | 16 | # Set 0 to add all the reviewers (default: 0) | COMMENT |
| LOW | dev/packer/scripts/999-img-check.sh | 93 | # Check if there are log archives or log files that have not been recently cleared. | COMMENT |