AI Slop Code Risk Monitor

docmost/docmost

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

Docmost is an open-source collaborative wiki and documentation software. It is an open-source alternative to Confluence and Notion.

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for docmost/docmost, a TypeScript project with 22,171 GitHub stars. SynthScan examined 227,745 lines of code across 1719 source files, recording 135 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 0.6 (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.6
Adjusted Signal
0.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
22.2K
Stars
TypeScript
Language
227.7K
Lines of Code
1.7K
Files
135
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 2.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.3/100 · LOW

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

Agent Over-Engineering Ratio 2.8/100 · LOW

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

PR Review Velocity Impact 3.1/100 · LOW

Which changes need focused human review? 135 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 0MEDIUM 0LOW 134

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 135 distinct pattern matches across 4 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 Identifiers127 hits · 127 pts
SeverityFileLineSnippetContext
LOW…ckages/editor-ext/src/lib/table/table-readonly-sort.ts58function getOrSaveOriginalOrder(CODE
LOW…ages/editor-ext/src/lib/table/header-pin/controller.ts45function maybeTeardownFallbackListener() {CODE
LOW…t/src/lib/table/utils/get-selection-range-in-column.ts17export function getSelectionRangeInColumn(tr: Transaction, startColIndex: number, endColIndex: number = startColIndex): CODE
LOW…lib/table/utils/convert-array-of-rows-to-table-node.ts9export function convertArrayOfRowsToTableNode(CODE
LOW…lib/table/utils/convert-table-node-to-array-of-rows.ts29export function convertTableNodeToArrayOfRows(tableNode: Node): (Node | null)[][] {CODE
LOWapps/server/src/database/helpers/helpers.ts4export async function isPageEmbeddingsTableExists(db: KyselyDB) {CODE
LOWapps/server/src/collaboration/collaboration.util.ts229export function prosemirrorNodeToYElement(node: any): Y.XmlElement | Y.XmlText {CODE
LOW…re/page/transclusion/utils/transclusion-unsync.util.ts21export function rewriteAttachmentsForUnsync(CODE
LOW…ge/transclusion/utils/transclusion-prosemirror.util.ts18export function collectTransclusionsFromPmJson(CODE
LOW…ge/transclusion/utils/transclusion-prosemirror.util.ts55export function collectReferencesFromPmJson(CODE
LOWapps/server/src/core/workspace/workspace.util.ts12export function getWorkspaceDefaultPageEditMode(CODE
LOW…r/src/core/casl/abilities/workspace-ability.factory.ts33function buildWorkspaceOwnerAbility() {CODE
LOW…r/src/core/casl/abilities/workspace-ability.factory.ts49function buildWorkspaceAdminAbility() {CODE
LOW…r/src/core/casl/abilities/workspace-ability.factory.ts65function buildWorkspaceMemberAbility() {CODE
LOW…r/src/integrations/outbound/outbound-network-policy.ts79export function parseOutboundNetworkPolicy(raw: string): OutboundNetworkPolicy {CODE
LOWapps/server/src/integrations/export/utils.ts38export function updateAttachmentUrlsToLocalPaths(prosemirrorJson: any) {CODE
LOW…ps/server/src/integrations/import/utils/table-utils.ts69export function normalizeTableColumnWidths(CODE
LOW…s/server/src/integrations/import/utils/import.utils.ts6export async function buildAttachmentCandidates(CODE
LOW…s/server/src/integrations/import/utils/import.utils.ts30export function resolveRelativeAttachmentPath(CODE
LOW…s/server/src/integrations/import/utils/import.utils.ts71export async function collectMarkdownAndHtmlFiles(CODE
LOW…rver/src/integrations/import/utils/import-formatter.ts340export async function rewriteInternalLinksToMentionHtml(CODE
LOWapps/server/src/common/helpers/utils.ts21export function generateRandomSuffixNumbers(length: number) {CODE
LOWapps/server/src/common/helpers/utils.ts134export function extractBearerTokenFromHeader(CODE
LOWapps/server/src/common/helpers/security-headers.ts24export function resolveFrameHeadersForPath(CODE
LOWapps/server/src/common/helpers/prosemirror/utils.ts72export function extractInternalLinkSlugIds(prosemirrorJson: any): string[] {CODE
LOWapps/server/src/common/helpers/prosemirror/utils.ts93export function extractUserMentionIdsFromJson(json: any): string[] {CODE
LOWapps/client/src/ee/scim/queries/scim-token-query.ts34export function useCreateScimTokenMutation() {CODE
LOWapps/client/src/ee/scim/queries/scim-token-query.ts58export function useUpdateScimTokenMutation() {CODE
LOWapps/client/src/ee/scim/queries/scim-token-query.ts78export function useRevokeScimTokenMutation() {CODE
LOWapps/client/src/ee/oauth/queries/oauth-query.ts24export function useRevokeOAuthGrantMutation() {CODE
LOWapps/client/src/ee/oauth/services/oauth-service.ts19export async function approveOAuthAuthorization(CODE
LOWapps/client/src/ee/security/queries/security-query.ts37export function useCreateSsoProviderMutation() {CODE
LOWapps/client/src/ee/security/queries/security-query.ts54export function useUpdateSsoProviderMutation() {CODE
LOWapps/client/src/ee/security/queries/security-query.ts72export function useDeleteSsoProviderMutation() {CODE
LOW…/src/ee/security/components/disable-public-sharing.tsx30function DisablePublicSharingToggle() {CODE
LOW…/src/ee/security/components/allow-member-templates.tsx31function AllowMemberTemplatesToggle() {CODE
LOW…e/security/components/space-viewer-comments-toggle.tsx14export default function SpaceViewerCommentsToggle({CODE
LOWapps/client/src/ee/comment/queries/comment-query.ts32export function useResolveCommentMutation() {CODE
LOW…/src/ee/personal-space/queries/personal-space-query.ts24export function useCreatePersonalSpaceMutation() {CODE
LOWapps/client/src/ee/template/queries/template-query.ts57export function useCreateTemplateMutation() {CODE
LOWapps/client/src/ee/template/queries/template-query.ts90export function useUpdateTemplateMutation() {CODE
LOWapps/client/src/ee/template/queries/template-query.ts131export function useDeleteTemplateMutation() {CODE
LOW…e/page-verification/queries/page-verification-query.ts30export function usePageVerificationInfoQuery(CODE
LOW…e/page-verification/queries/page-verification-query.ts40export function useSetupVerificationMutation() {CODE
LOW…e/page-verification/queries/page-verification-query.ts62export function useUpdateVerificationMutation() {CODE
LOW…e/page-verification/queries/page-verification-query.ts84export function useRemoveVerificationMutation() {CODE
LOW…e/page-verification/queries/page-verification-query.ts128export function useSubmitForApprovalMutation() {CODE
LOW…e/page-verification/queries/page-verification-query.ts150export function useRejectApprovalMutation() {CODE
LOWapps/client/src/ee/ai-chat/queries/ai-chat-query.ts44export function useUpdateChatTitleMutation() {CODE
LOW…i-chat/components/ai-chat-workspace-knowledge-only.tsx12export default function AiChatWorkspaceKnowledgeOnly() {CODE
LOW…i-chat/components/ai-chat-workspace-knowledge-only.tsx39function AiChatWorkspaceKnowledgeOnlyToggle() {CODE
LOWapps/client/src/ee/siem/queries/siem-query.ts53function useInvalidateDestinations() {CODE
LOWapps/client/src/ee/siem/queries/siem-query.ts58export function useCreateSiemDestinationMutation() {CODE
LOWapps/client/src/ee/siem/queries/siem-query.ts71export function useUpdateSiemDestinationMutation() {CODE
LOWapps/client/src/ee/siem/queries/siem-query.ts84export function useDeleteSiemDestinationMutation() {CODE
LOWapps/client/src/ee/siem/queries/siem-query.ts97export function useRetrySiemDestinationMutation() {CODE
LOWapps/client/src/ee/siem/queries/siem-query.ts110export function useTestSiemDestinationMutation() {CODE
LOWapps/client/src/ee/audit/queries/audit-query.ts35export function useUpdateAuditRetentionMutation() {CODE
LOWapps/client/src/ee/ai/queries/ai-query.ts35export function useAiGenerateStreamMutation(): UseMutationResult<CODE
LOW…/ee/page-permission/types/page-permission-role-data.ts17export function getPagePermissionRoleLabel(value: string): string | undefined {CODE
67 more matches not shown…
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALpackages/editor-ext/src/lib/details/details.ts145 !state.schema.nodes.detailsContent.contentMatch.matchFragment(CODE
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippetContext
LOWapps/server/src/core/label/label.controller.ts101 // @AuthWorkspace() workspace: Workspace,COMMENT
LOWapps/client/src/theme.ts101 "--mantine-color-error": "var(--mantine-color-red-7)",COMMENT
LOW…/client/src/features/page/tree/components/doc-tree.tsx201COMMENT
LOW…omponents/transclusion/transclusion-lookup-context.tsx61 // Read inside flush() via ref so changing share context doesn't churn theCOMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…erver/src/core/integration/oauth/oauth.service.spec.ts166 currentUserEmail = 'user@example.com';CODE
LOW…server/src/common/validators/no-urls.validator.spec.ts102 'user@example.com',CODE
LOW…s/client/src/features/editor/extensions/placeholder.ts10 const dataAttribute = `data-${options.dataAttribute || "placeholder"}`;CODE