AI Slop Code Risk Monitor

zsviczian/obsidian-excalidraw-plugin

SlopCodeMonitor badge for zsviczian/obsidian-excalidraw-plugin Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A plugin to edit and view Excalidraw drawings in Obsidian

1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for zsviczian/obsidian-excalidraw-plugin, a TypeScript project with 7,811 GitHub stars. SynthScan examined 341,255 lines of code across 635 source files, recording 375 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 1.4 (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.4
Adjusted Signal
1.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.8K
Stars
TypeScript
Language
341.3K
Lines of Code
635
Files
375
Pattern Hits
2026-10-31
Scan Date
0.02
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 4.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.7/100 · LOW

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

Agent Over-Engineering Ratio 4.5/100 · LOW

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

PR Review Velocity Impact 7.0/100 · LOW

Which changes need focused human review? 375 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 11HIGH 0MEDIUM 10LOW 354

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 375 distinct pattern matches across 10 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 Identifiers312 hits · 282 pts
SeverityFileLineSnippetContext
LOW…idraw Automate library and related type definitions.md5819 function sceneCoordsToViewportCoords(CODE
LOW…idraw Automate library and related type definitions.md5830 function viewportCoordsToSceneCoords(CODE
LOW…idraw Automate library and related type definitions.md5948 function configureObsidianCommonHost(CODE
LOW…idraw Automate library and related type definitions.md5952 function configureObsidianExcalidrawHost(CODE
LOW…ata/excalidraw-automate/references/type-definitions.md5819 function sceneCoordsToViewportCoords(CODE
LOW…ata/excalidraw-automate/references/type-definitions.md5830 function viewportCoordsToSceneCoords(CODE
LOW…ata/excalidraw-automate/references/type-definitions.md5948 function configureObsidianCommonHost(CODE
LOW…ata/excalidraw-automate/references/type-definitions.md5952 function configureObsidianExcalidrawHost(CODE
LOW…excalidraw-automate/references/scripts/LayerManager.md3307 function resolveHistoryDefaultTransition(stateNode) {CODE
LOW…excalidraw-automate/references/scripts/LayerManager.md3324 function getInitialStateNodesWithTheirAncestors(stateNode) {CODE
LOW…excalidraw-automate/references/scripts/LayerManager.md3470 function removeConflictingTransitions(enabledTransitions, stateNodeSet, historyValue) {CODE
LOW…excalidraw-automate/references/scripts/LayerManager.md3558 function areStateNodeCollectionsEqual(prevStateNodes, nextStateNodeSet) {CODE
LOW…excalidraw-automate/references/scripts/LayerManager.md3697 function addDescendantStatesToEnter(stateNode, historyValue, statesForDefaultEntry, statesToEnter) {CODE
LOW…excalidraw-automate/references/scripts/LayerManager.md3760 function addProperAncestorStatesToEnter(stateNode, toStateNode, statesToEnter, historyValue, statesForDefaultEntry) {CODE
LOW…excalidraw-automate/references/scripts/LayerManager.md3793 function resolveAndExecuteActionsWithContext(currentSnapshot, event, actorScope, actions, extra, retries) {CODE
LOW…excalidraw-automate/references/scripts/LayerManager.md3951 function selectEventlessTransitions(nextState, event) {CODE
LOW…excalidraw-automate/references/scripts/LayerManager.md4827 function resolveHistoryReferencedState(root, referenced) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md572 function getSlideshowDisplayIdentity(display) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md581 function getSlideshowDisplayConfigurationKey(displays) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md585 function resolveSlideshowDisplayTarget(displays, preferredId, preferredIdentity) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md1416 function resolvePresentationSource(choices, sourceKey) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md1421 function getPresentationSourceType(sourceKey) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md1424 function getLinePresentationSourceKey(element) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md2996 async function saveSlideshowLaunchPreferences(ea2, preferences) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md3006 function loadSlideshowPresentationSource(ea2, drawingPath) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md3013 async function saveSlideshowPresentationSource(ea2, drawingPath, source) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md6943 function chooseSidepanelPresentationSourceKey(choices, storedSource, preferredType) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md6949 function getConvertibleSelectedLine(ea2) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md6954 function getDeclarableSelectedFrame(ea2) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md6960 function getPresentationSourceLabels(choices, frameLabel, defaultLineLabel) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md8711 function resolveManualInvocationIntent(modifiers) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md8718 function chooseManualPresentationSourceKey(choices, selectedSource, savedSource, preferredType) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md8728 function getElementPresentationSourceKey(element) {CODE
LOW⚡…ta/excalidraw-automate/references/scripts/Slideshow.md8733 function registerSlideshowElementActionProvider(context) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md430 function createSlideshowTranslator(locale) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md457 function chooseClosestNativeWindow(windows, geometry) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md602 function onDisplayConfigurationChanged(win, callback) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md633 function chooseDefaultDisplayTargets(displays, currentDisplayId) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md715 function resolveCapturedNativeWindow(win, snapshot) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md753 async function restoreWindowPlacementStable(win, snapshot, timeoutMs = 2400, monitorMs = 900) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md813 function expandSlideRectToAspectRatio(slide, dimensions) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md879 function isOptionalNonNegativeNumber(value) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md888 function readOriginalPathProperties(value) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md972 function hasFrameSlideshowDeclaration(customData) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md1014 function readLegacyLineSlideshowData(customData) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md1119 function reconcileLineSlideRecords(records, pairCount, pathId, points) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md1530 function getAnimationElementContext(elements) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md1548 function getAnimationOverlayPlacement(bounds, state, hostViewportOrigin) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md1684 function resolveAnimationTargetElementIds(slideScope, targets, elements) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md1712 function recycleMissingAnimationTargets(steps, elements) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md1772 function removeAnimationTargetConflicts(slideScope, steps, incomingTargets, elements, editedStepId, incomingEffect) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md2722 function getSceneVisualFingerprint(elements) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md2742 function getSlideVisualFingerprint(elements, slide) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md2978 function loadSlideshowLaunchPreferences(ea2) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md3048 function loadSlideshowDisplayPreferences(ea2, deviceKey, configurationKey) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md3066 async function saveSlideshowDisplayPreferences(ea2, deviceKey, preferences, configurationKey) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md3095 function loadPresenterNotesFontSize(ea2, deviceKey, configurationKey, displayIdentity) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md3114 async function savePresenterNotesFontSize(ea2, fontSize, deviceKey, configurationKey, displayIdentity) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md3138 function loadSorterThumbnailMaxWidth(ea2) {CODE
LOW…ta/excalidraw-automate/references/scripts/Slideshow.md3143 async function saveSorterThumbnailMaxWidth(ea2, width) {CODE
252 more matches not shown…
Hallucination Indicators11 hits · 110 pts
SeverityFileLineSnippetContext
CRITICAL…ta/excalidraw-automate/references/scripts/Slideshow.md3824 return this.options.setup.deck.visibleSlides.find((slide) => slide.id === slideId) ?? null;CODE
CRITICAL…ta/excalidraw-automate/references/scripts/Slideshow.md3842 await this.options.ea.obsidian.MarkdownRenderer.render(CODE
CRITICAL…idence/3022/observer-inflight-close-control-source.txt23 const before={at:Date.now(),dirty:view.isDirty(),busy:view.isPersistenceBusy(),pendingSave:saveHandle?{settled:saveHaCODE
CRITICALea-scripts/Slideshow.md3895 return this.options.setup.deck.visibleSlides.find((slide) => slide.id === slideId) ?? null;CODE
CRITICALea-scripts/Slideshow.md3913 await this.options.ea.obsidian.MarkdownRenderer.render(CODE
CRITICALea-scripts/Mindmap Builder.md10353 runtimeContext.ea.targetView.ownerDocument.body.appendChild(modalEl);CODE
CRITICALea-scripts/Mindmap Builder.md13354 runtimeContext.ea.targetView.ownerDocument.body.appendChild(modalEl);CODE
CRITICALsrc/core/managers/PluginSettingsManager.ts401 const stat = await this.host.app.vault.adapter.stat(CODE
CRITICALsrc/shared/ExcalidrawAutomate.ts1053 this.plugin.app.workspace.leftSplit.toggle();CODE
CRITICALsrc/shared/ExcalidrawAutomate.ts1057 this.plugin.app.workspace.rightSplit.toggle();CODE
CRITICALsrc/shared/Dialogs/CLIInstructions.ts13 try { await this.contentEl.ownerDocument.defaultView.navigator.clipboard.writeText(instructions); }CODE
Decorative Section Separators8 hits · 29 pts
SeverityFileLineSnippetContext
MEDIUMea-scripts/Color Scheme Manager.md1491const SAMPLE_IMPORT = `# ===========================================================================CODE
MEDIUMea-scripts/Color Scheme Manager.md1493# ===========================================================================COMMENT
MEDIUM⚡ea-scripts/Color Scheme Manager.md1507# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡ea-scripts/Color Scheme Manager.md1509# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡ea-scripts/Color Scheme Manager.md1517# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡ea-scripts/Color Scheme Manager.md1519# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/shared/EmbeddedFileLoader.ts2958// ─── MathJax CHTML stylesheet helpers ────────────────────────────────────────COMMENT
MEDIUMsrc/shared/EmbeddedFileLoader.ts3068// ─────────────────────────────────────────────────────────────────────────────COMMENT
Over-Commented Block23 hits · 23 pts
SeverityFileLineSnippetContext
LOWdocs/AITrainingData/ExcalidrawStartupExample.md641 return exportFilepath;COMMENT
LOWdocs/AITrainingData/ExcalidrawStartupExample.md761// callback: (elements, appState, files, view, hookEA) => {COMMENT
LOW…Data/excalidraw-automate/references/startup-scripts.md321 * ea: ExcalidrawAutomateCOMMENT
LOW…Data/excalidraw-automate/references/startup-scripts.md981 exportFilepath = "Assets/logos/" + filename;COMMENT
LOW…Data/excalidraw-automate/references/startup-scripts.md1101// triggerWhenInvisible: false,COMMENT
LOW…excalidraw-automate/references/scripts/LayerManager.md13761 #promptInteractionService;COMMENT
LOW…excalidraw-automate/references/scripts/LayerManager.md13781 #latestSelectionResolution = null;COMMENT
LOW…/excalidraw-automate/references/scripts/Auto Layout.md81 displayText:COMMENT
LOWea-scripts/LayerManager.md13761 #promptInteractionService;COMMENT
LOWea-scripts/LayerManager.md13781 #latestSelectionResolution = null;COMMENT
LOWea-scripts/Capture Note.md2941// -------------------------------------------------------------COMMENT
LOWea-scripts/Auto Layout.md81 displayText:COMMENT
LOWea-scripts/Comic Strip Director.md401 }COMMENT
LOWea-scripts/Comic Strip Director.md3481 stepWrap.empty();COMMENT
LOWea-scripts/Color Scheme Manager.md521 console.error("Color Scheme Manager: color picker failed", e);COMMENT
LOWea-scripts/Color Scheme Manager.md821 "black", // fixed anchorCOMMENT
LOWea-scripts/Color Scheme Manager.md1501# canvas picker grid).COMMENT
LOW.github/workflows/codeql-analysis.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOW.github/workflows/codeql-analysis.yml61 # ✏️ If the Autobuild fails above, remove it and uncomment the following three linesCOMMENT
LOWsrc/constants/assets/startupScript.md321// trackElements: true,COMMENT
LOWsrc/shared/ExcalidrawData.ts921 // --------------COMMENT
LOWsrc/shared/MarkdownImage.ts681 rememberRenderedMarkdownImage(view, element.id, markdown, sourceFile);COMMENT
LOWsrc/view/ExcalidrawView.ts7821 return;COMMENT
Fake / Example Data10 hits · 10 pts
SeverityFileLineSnippetContext
LOWdocs/CLI.md184 "default": "placeholder",CODE
LOWdocs/AITrainingData/excalidraw-cli/SKILL.md23For cheap previews: :read detail=images, then :export imagePolicy={"default":"placeholder","rules":[{"ids":["wanted-id"]CODE
LOWsrc/core/cli/cliExportGeometry.ts17 const converted = await prepareImagePreview(elements, {}, parseImagePolicy({ default: "placeholder" }), new Map());CODE
LOWsrc/core/cli/cliExport.ts90 .filter(item => item.mode !== "placeholder" && item.fileId !== null)CODE
LOWsrc/core/cli/cliCommands.ts72For cheap previews: :read detail=images, then :export imagePolicy={"default":"placeholder","rules":[{"ids":["wanted-id"]CODE
LOWsrc/core/cli/cliImages.ts10type Mode = "original" | "thumbnail" | "placeholder";CODE
LOWsrc/core/cli/cliImages.ts28 if (value !== "original" && value !== "thumbnail" && value !== "placeholder") throw new CLIError("INVALID_INPUT", "ECODE
LOWsrc/core/cli/cliImages.ts161 if (decision.mode === "placeholder") {CODE
LOWsrc/core/cli/cliSchema.ts30 default: { enum: ["original", "thumbnail", "placeholder"] },CODE
LOWsrc/core/cli/cliSchema.ts36 mode: { enum: ["original", "thumbnail", "placeholder"] },CODE
Verbosity Indicators4 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/utils/ExcalidrawExtrasGateway.ts265 // Step 1: Install PluginCOMMENT
LOWsrc/utils/ExcalidrawExtrasGateway.ts283 // Step 2: Plugin installed but disabledCOMMENT
LOWsrc/utils/ExcalidrawExtrasGateway.ts319 // Step 3: API & Version ChecksCOMMENT
LOWsrc/utils/ExcalidrawExtrasGateway.ts362 // Step 4: Enable Specific Feature SettingCOMMENT
Structural Annotation Overuse4 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/utils/ExcalidrawExtrasGateway.ts265 // Step 1: Install PluginCOMMENT
LOWsrc/utils/ExcalidrawExtrasGateway.ts283 // Step 2: Plugin installed but disabledCOMMENT
LOWsrc/utils/ExcalidrawExtrasGateway.ts319 // Step 3: API & Version ChecksCOMMENT
LOWsrc/utils/ExcalidrawExtrasGateway.ts362 // Step 4: Enable Specific Feature SettingCOMMENT
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMRefactorPlan.md302| 2026-09-06 | Made Markdown-image/embeddable conversion transactional after live race diagnostics | The prior conversioCODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMpackage-lock.json11460 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/view/ExcalidrawView.ts5138 textElement.rawText, //TODO: implement originalText support in ExcalidrawAutomateCODE