AI Slop Code Risk Monitor

nhn/tui.editor

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

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for nhn/tui.editor, a TypeScript project with 17,985 GitHub stars. SynthScan examined 68,219 lines of code across 492 source files, recording 61 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.2 (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.

1.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-11-15
Last Push
18.0K
Stars
TypeScript
Language
68.2K
Lines of Code
492
Files
61
Pattern Hits
2026-11-15
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-11-15.

Cognitive Ownership Risk 5.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 2.7/100 · LOW

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

PR Review Velocity Impact 4.5/100 · LOW

Which changes need focused human review? 61 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 0HIGH 0MEDIUM 1LOW 60

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 61 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 Identifiers37 hits · 37 pts
SeverityFileLineSnippetContext
LOWplugins/color-syntax/src/utils/dom.ts15export function removeProseMirrorHackNodes(html: string) {CODE
LOWplugins/table-merged-cell/src/markdown/parser.ts23function extendTableCellIndexWithRowspanMap(CODE
LOWplugins/table-merged-cell/src/wysiwyg/contextMenu.ts20function createMergedTableContextMenu(context: PluginContext, tableCell: Element) {CODE
LOWplugins/table-merged-cell/src/wysiwyg/contextMenu.ts44export function addMergedTableContextMenu(context: PluginContext) {CODE
LOW…/table-merged-cell/src/wysiwyg/command/removeColumn.ts5export function createRemoveColumnCommand(CODE
LOW…-cell/src/__test__/integration/wysiwyg/helper/utils.ts38export function removeProseMirrorHackNodes(html: string) {CODE
LOWplugins/code-syntax-highlight/types/index.d.ts18export default function codeSyntaxHighlightPlugin(CODE
LOWplugins/code-syntax-highlight/src/plugin.ts10export function codeSyntaxHighlightPlugin(CODE
LOW…tax-highlight/src/nodeViews/codeSyntaxHighlightView.ts192export function createCodeSyntaxHighlightView(languages: string[]) {CODE
LOWlibs/toastmark/src/commonmark/gfm/autoLinks.ts10function trimUnmatchedTrailingParens(source: string) {CODE
LOWapps/editor/webpack.config.js106function setProductionConfigForAll(config) {CODE
LOWapps/editor/src/viewer.ts20function registerHTMLTagToWhitelist(convertorMap: CustomHTMLRenderer) {CODE
LOWapps/editor/src/ui/toolbarItemFactory.ts30function createScrollSyncToolbarItem(): ToolbarItemInfo {CODE
LOWapps/editor/src/ui/toolbarItemFactory.ts62function createDefaultToolbarItemInfo(type: string) {CODE
LOWapps/editor/src/markdown/scroll/dom.ts73export function findAdjacentElementToScrollTop(scrollTop: number, root: HTMLElement) {CODE
LOWapps/editor/src/markdown/scroll/dom.ts98function findLastSiblingElementToScrollTop(el: El, scrollTop: number, offsetTop: number): El {CODE
LOWapps/editor/src/markdown/scroll/offset.ts33export function getAndSaveOffsetInfo(node: HTMLElement, root: HTMLElement, mdNodeId: number) {CODE
LOWapps/editor/src/markdown/plugins/syntaxHighlight.ts156function cacheIndexToRemoveBackground(doc: ProsemirrorNode, start: MdPos, end: MdPos) {CODE
LOWapps/editor/src/markdown/plugins/helper/markInfo.ts229function markParagraphInBlockQuote(node: MdNode) {CODE
LOWapps/editor/src/markdown/helper/pos.ts120export function getNodeContentOffsetRange(doc: ProsemirrorNode, targetIndex: number) {CODE
LOWapps/editor/src/wysiwyg/helper/node.ts57export function createDOMInfoParsedRawHTML(tag: string) {CODE
LOWapps/editor/src/wysiwyg/helper/tableOffsetMap.ts264export function mixinTableOffsetMapPrototype(CODE
LOWapps/editor/src/wysiwyg/clipboard/pasteMsoList.ts63function createListItemDataFromParagraph(para: HTMLElement, index: number) {CODE
LOWapps/editor/src/wysiwyg/clipboard/pasteMsoList.ts165export function convertMsoParagraphsToList(html: string) {CODE
LOWapps/editor/src/wysiwyg/clipboard/paste.ts10function getContentBetweenFragmentComments(html: string) {CODE
LOWapps/editor/src/wysiwyg/clipboard/paste.ts21function convertMsoTableToCompletedTable(html: string) {CODE
LOWapps/editor/src/wysiwyg/clipboard/paste.ts100export function createRowsFromPastingTable(tableContent: Fragment) {CODE
LOWapps/editor/src/wysiwyg/clipboard/paste.ts139function createTableFromPastingTable(CODE
LOWapps/editor/src/__test__/unit/convertor.spec.ts922 function assertFrontMatterConverting(markdown: string, expected: string) {CODE
LOWapps/editor/src/__test__/unit/convertor.spec.ts948 function createConvertorWithHTMLRenderer() {CODE
LOW…ps/editor/src/__test__/unit/markdown/mdPreview.spec.ts223 function createPreviewWithHTMLRenderer() {CODE
LOWapps/editor/src/__test__/integration/ui/toolbar.spec.ts356 function createCustomButtonWithPopup() {CODE
LOWapps/editor/src/sanitizer/htmlSanitizer.ts7export function registerTagWhitelistIfPossible(tagName: string) {CODE
LOW…/editor/src/convertors/toWysiwyg/htmlToWwConvertors.ts12export function getTextWithoutTrailingNewline(text: string) {CODE
LOW…ditor/src/convertors/toMarkdown/toMdNodeTypeWriters.ts15function convertToRawHTMLHavingInlines(CODE
LOW…ditor/src/convertors/toMarkdown/toMdNodeTypeWriters.ts25function convertToRawHTMLHavingBlocks(CODE
LOWapps/editor/src/utils/dom.ts268export function removeProseMirrorHackNodes(html: string) {CODE
Structural Annotation Overuse13 hits · 25 pts
SeverityFileLineSnippetContext
LOWdocs/en/i18n.md114// Step 1 : Import language fileCOMMENT
LOWdocs/en/i18n.md117// Step 2 : Set language each editorCOMMENT
LOW⚡docs/en/i18n.md137// Step 1 : Import language fileCOMMENT
LOW⚡docs/en/i18n.md140// Step 2 : Override values of languageCOMMENT
LOW⚡docs/en/i18n.md149// Step 3 : Set language each editorCOMMENT
LOWdocs/en/i18n.md169// Step 1 : Register new languageCOMMENT
LOWdocs/en/i18n.md176// Step 2 : Set language with new registration codeCOMMENT
LOWapps/editor/examples/example13-creating-plugin.html47 // Step 1: Define the user plugin functionCOMMENT
LOWapps/editor/examples/example13-creating-plugin.html82 // Step 2: Set the defined plugin function as an option valueCOMMENT
LOW⚡apps/editor/src/convertors/toMarkdown/toMdConvertors.ts374// Step 1: Create the converter by overriding the custom converterCOMMENT
LOW⚡apps/editor/src/convertors/toMarkdown/toMdConvertors.ts378// Step 2: Create a converter for the node type of ProseMirror by combining the converterCOMMENT
LOW⚡apps/editor/src/convertors/toMarkdown/toMdConvertors.ts382// Step 3: Create a converter for the mark type of ProseMirror by combining the converterCOMMENT
LOW⚡apps/editor/src/convertors/toMarkdown/toMdConvertors.ts384// Step 4: The created node type converter and mark type converter are injectedCOMMENT
Verbosity Indicators6 hits · 12 pts
SeverityFileLineSnippetContext
LOWapps/editor/examples/example13-creating-plugin.html47 // Step 1: Define the user plugin functionCOMMENT
LOWapps/editor/examples/example13-creating-plugin.html82 // Step 2: Set the defined plugin function as an option valueCOMMENT
LOW⚡apps/editor/src/convertors/toMarkdown/toMdConvertors.ts374// Step 1: Create the converter by overriding the custom converterCOMMENT
LOW⚡apps/editor/src/convertors/toMarkdown/toMdConvertors.ts378// Step 2: Create a converter for the node type of ProseMirror by combining the converterCOMMENT
LOW⚡apps/editor/src/convertors/toMarkdown/toMdConvertors.ts382// Step 3: Create a converter for the mark type of ProseMirror by combining the converterCOMMENT
LOW⚡apps/editor/src/convertors/toMarkdown/toMdConvertors.ts384// Step 4: The created node type converter and mark type converter are injectedCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMapps/editor/types/toastmark.d.ts1// @TODO replace these definition for Definitely TypeCOMMENT
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…bs/toastmark/src/commonmark/gfm/__test__/table.spec.ts361 <p>bar</p>COMMENT
LOWapps/editor/src/__test__/unit/convertor.spec.ts61 # heading1COMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWapps/editor/src/plugins/placeholder.ts24 addClass(placeHolder, 'placeholder');CODE
LOWapps/editor/src/__test__/unit/editor.spec.ts144 editor.setPlaceholder('placeholder');CODE