A plugin to edit and view Excalidraw drawings in Obsidian
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 346 finding(s).
Are imports declared and package/API names verified? 21 finding(s).
Are wrappers, guards, and repeated structures necessary? 320 finding(s).
Which changes need focused human review? 375 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …idraw Automate library and related type definitions.md | 5819 | function sceneCoordsToViewportCoords( | CODE |
| LOW | …idraw Automate library and related type definitions.md | 5830 | function viewportCoordsToSceneCoords( | CODE |
| LOW | …idraw Automate library and related type definitions.md | 5948 | function configureObsidianCommonHost( | CODE |
| LOW | …idraw Automate library and related type definitions.md | 5952 | function configureObsidianExcalidrawHost( | CODE |
| LOW | …ata/excalidraw-automate/references/type-definitions.md | 5819 | function sceneCoordsToViewportCoords( | CODE |
| LOW | …ata/excalidraw-automate/references/type-definitions.md | 5830 | function viewportCoordsToSceneCoords( | CODE |
| LOW | …ata/excalidraw-automate/references/type-definitions.md | 5948 | function configureObsidianCommonHost( | CODE |
| LOW | …ata/excalidraw-automate/references/type-definitions.md | 5952 | function configureObsidianExcalidrawHost( | CODE |
| LOW | …excalidraw-automate/references/scripts/LayerManager.md | 3307 | function resolveHistoryDefaultTransition(stateNode) { | CODE |
| LOW | …excalidraw-automate/references/scripts/LayerManager.md | 3324 | function getInitialStateNodesWithTheirAncestors(stateNode) { | CODE |
| LOW | …excalidraw-automate/references/scripts/LayerManager.md | 3470 | function removeConflictingTransitions(enabledTransitions, stateNodeSet, historyValue) { | CODE |
| LOW | …excalidraw-automate/references/scripts/LayerManager.md | 3558 | function areStateNodeCollectionsEqual(prevStateNodes, nextStateNodeSet) { | CODE |
| LOW | …excalidraw-automate/references/scripts/LayerManager.md | 3697 | function addDescendantStatesToEnter(stateNode, historyValue, statesForDefaultEntry, statesToEnter) { | CODE |
| LOW | …excalidraw-automate/references/scripts/LayerManager.md | 3760 | function addProperAncestorStatesToEnter(stateNode, toStateNode, statesToEnter, historyValue, statesForDefaultEntry) { | CODE |
| LOW | …excalidraw-automate/references/scripts/LayerManager.md | 3793 | function resolveAndExecuteActionsWithContext(currentSnapshot, event, actorScope, actions, extra, retries) { | CODE |
| LOW | …excalidraw-automate/references/scripts/LayerManager.md | 3951 | function selectEventlessTransitions(nextState, event) { | CODE |
| LOW | …excalidraw-automate/references/scripts/LayerManager.md | 4827 | function resolveHistoryReferencedState(root, referenced) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 572 | function getSlideshowDisplayIdentity(display) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 581 | function getSlideshowDisplayConfigurationKey(displays) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 585 | function resolveSlideshowDisplayTarget(displays, preferredId, preferredIdentity) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 1416 | function resolvePresentationSource(choices, sourceKey) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 1421 | function getPresentationSourceType(sourceKey) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 1424 | function getLinePresentationSourceKey(element) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 2996 | async function saveSlideshowLaunchPreferences(ea2, preferences) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 3006 | function loadSlideshowPresentationSource(ea2, drawingPath) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 3013 | async function saveSlideshowPresentationSource(ea2, drawingPath, source) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 6943 | function chooseSidepanelPresentationSourceKey(choices, storedSource, preferredType) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 6949 | function getConvertibleSelectedLine(ea2) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 6954 | function getDeclarableSelectedFrame(ea2) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 6960 | function getPresentationSourceLabels(choices, frameLabel, defaultLineLabel) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 8711 | function resolveManualInvocationIntent(modifiers) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 8718 | function chooseManualPresentationSourceKey(choices, selectedSource, savedSource, preferredType) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 8728 | function getElementPresentationSourceKey(element) { | CODE |
| LOW⚡ | …ta/excalidraw-automate/references/scripts/Slideshow.md | 8733 | function registerSlideshowElementActionProvider(context) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 430 | function createSlideshowTranslator(locale) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 457 | function chooseClosestNativeWindow(windows, geometry) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 602 | function onDisplayConfigurationChanged(win, callback) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 633 | function chooseDefaultDisplayTargets(displays, currentDisplayId) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 715 | function resolveCapturedNativeWindow(win, snapshot) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 753 | async function restoreWindowPlacementStable(win, snapshot, timeoutMs = 2400, monitorMs = 900) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 813 | function expandSlideRectToAspectRatio(slide, dimensions) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 879 | function isOptionalNonNegativeNumber(value) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 888 | function readOriginalPathProperties(value) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 972 | function hasFrameSlideshowDeclaration(customData) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 1014 | function readLegacyLineSlideshowData(customData) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 1119 | function reconcileLineSlideRecords(records, pairCount, pathId, points) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 1530 | function getAnimationElementContext(elements) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 1548 | function getAnimationOverlayPlacement(bounds, state, hostViewportOrigin) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 1684 | function resolveAnimationTargetElementIds(slideScope, targets, elements) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 1712 | function recycleMissingAnimationTargets(steps, elements) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 1772 | function removeAnimationTargetConflicts(slideScope, steps, incomingTargets, elements, editedStepId, incomingEffect) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 2722 | function getSceneVisualFingerprint(elements) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 2742 | function getSlideVisualFingerprint(elements, slide) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 2978 | function loadSlideshowLaunchPreferences(ea2) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 3048 | function loadSlideshowDisplayPreferences(ea2, deviceKey, configurationKey) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 3066 | async function saveSlideshowDisplayPreferences(ea2, deviceKey, preferences, configurationKey) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 3095 | function loadPresenterNotesFontSize(ea2, deviceKey, configurationKey, displayIdentity) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 3114 | async function savePresenterNotesFontSize(ea2, fontSize, deviceKey, configurationKey, displayIdentity) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 3138 | function loadSorterThumbnailMaxWidth(ea2) { | CODE |
| LOW | …ta/excalidraw-automate/references/scripts/Slideshow.md | 3143 | async function saveSorterThumbnailMaxWidth(ea2, width) { | CODE |
| 252 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ta/excalidraw-automate/references/scripts/Slideshow.md | 3824 | return this.options.setup.deck.visibleSlides.find((slide) => slide.id === slideId) ?? null; | CODE |
| CRITICAL | …ta/excalidraw-automate/references/scripts/Slideshow.md | 3842 | await this.options.ea.obsidian.MarkdownRenderer.render( | CODE |
| CRITICAL | …idence/3022/observer-inflight-close-control-source.txt | 23 | const before={at:Date.now(),dirty:view.isDirty(),busy:view.isPersistenceBusy(),pendingSave:saveHandle?{settled:saveHa | CODE |
| CRITICAL | ea-scripts/Slideshow.md | 3895 | return this.options.setup.deck.visibleSlides.find((slide) => slide.id === slideId) ?? null; | CODE |
| CRITICAL | ea-scripts/Slideshow.md | 3913 | await this.options.ea.obsidian.MarkdownRenderer.render( | CODE |
| CRITICAL | ea-scripts/Mindmap Builder.md | 10353 | runtimeContext.ea.targetView.ownerDocument.body.appendChild(modalEl); | CODE |
| CRITICAL | ea-scripts/Mindmap Builder.md | 13354 | runtimeContext.ea.targetView.ownerDocument.body.appendChild(modalEl); | CODE |
| CRITICAL | src/core/managers/PluginSettingsManager.ts | 401 | const stat = await this.host.app.vault.adapter.stat( | CODE |
| CRITICAL | src/shared/ExcalidrawAutomate.ts | 1053 | this.plugin.app.workspace.leftSplit.toggle(); | CODE |
| CRITICAL | src/shared/ExcalidrawAutomate.ts | 1057 | this.plugin.app.workspace.rightSplit.toggle(); | CODE |
| CRITICAL | src/shared/Dialogs/CLIInstructions.ts | 13 | try { await this.contentEl.ownerDocument.defaultView.navigator.clipboard.writeText(instructions); } | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ea-scripts/Color Scheme Manager.md | 1491 | const SAMPLE_IMPORT = `# =========================================================================== | CODE |
| MEDIUM | ea-scripts/Color Scheme Manager.md | 1493 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | ea-scripts/Color Scheme Manager.md | 1507 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | ea-scripts/Color Scheme Manager.md | 1509 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | ea-scripts/Color Scheme Manager.md | 1517 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | ea-scripts/Color Scheme Manager.md | 1519 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/shared/EmbeddedFileLoader.ts | 2958 | // ─── MathJax CHTML stylesheet helpers ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/shared/EmbeddedFileLoader.ts | 3068 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/AITrainingData/ExcalidrawStartupExample.md | 641 | return exportFilepath; | COMMENT |
| LOW | docs/AITrainingData/ExcalidrawStartupExample.md | 761 | // callback: (elements, appState, files, view, hookEA) => { | COMMENT |
| LOW | …Data/excalidraw-automate/references/startup-scripts.md | 321 | * ea: ExcalidrawAutomate | COMMENT |
| LOW | …Data/excalidraw-automate/references/startup-scripts.md | 981 | exportFilepath = "Assets/logos/" + filename; | COMMENT |
| LOW | …Data/excalidraw-automate/references/startup-scripts.md | 1101 | // triggerWhenInvisible: false, | COMMENT |
| LOW | …excalidraw-automate/references/scripts/LayerManager.md | 13761 | #promptInteractionService; | COMMENT |
| LOW | …excalidraw-automate/references/scripts/LayerManager.md | 13781 | #latestSelectionResolution = null; | COMMENT |
| LOW | …/excalidraw-automate/references/scripts/Auto Layout.md | 81 | displayText: | COMMENT |
| LOW | ea-scripts/LayerManager.md | 13761 | #promptInteractionService; | COMMENT |
| LOW | ea-scripts/LayerManager.md | 13781 | #latestSelectionResolution = null; | COMMENT |
| LOW | ea-scripts/Capture Note.md | 2941 | // ------------------------------------------------------------- | COMMENT |
| LOW | ea-scripts/Auto Layout.md | 81 | displayText: | COMMENT |
| LOW | ea-scripts/Comic Strip Director.md | 401 | } | COMMENT |
| LOW | ea-scripts/Comic Strip Director.md | 3481 | stepWrap.empty(); | COMMENT |
| LOW | ea-scripts/Color Scheme Manager.md | 521 | console.error("Color Scheme Manager: color picker failed", e); | COMMENT |
| LOW | ea-scripts/Color Scheme Manager.md | 821 | "black", // fixed anchor | COMMENT |
| LOW | ea-scripts/Color Scheme Manager.md | 1501 | # canvas picker grid). | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 61 | # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines | COMMENT |
| LOW | src/constants/assets/startupScript.md | 321 | // trackElements: true, | COMMENT |
| LOW | src/shared/ExcalidrawData.ts | 921 | // -------------- | COMMENT |
| LOW | src/shared/MarkdownImage.ts | 681 | rememberRenderedMarkdownImage(view, element.id, markdown, sourceFile); | COMMENT |
| LOW | src/view/ExcalidrawView.ts | 7821 | return; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/CLI.md | 184 | "default": "placeholder", | CODE |
| LOW | docs/AITrainingData/excalidraw-cli/SKILL.md | 23 | For cheap previews: :read detail=images, then :export imagePolicy={"default":"placeholder","rules":[{"ids":["wanted-id"] | CODE |
| LOW | src/core/cli/cliExportGeometry.ts | 17 | const converted = await prepareImagePreview(elements, {}, parseImagePolicy({ default: "placeholder" }), new Map()); | CODE |
| LOW | src/core/cli/cliExport.ts | 90 | .filter(item => item.mode !== "placeholder" && item.fileId !== null) | CODE |
| LOW | src/core/cli/cliCommands.ts | 72 | For cheap previews: :read detail=images, then :export imagePolicy={"default":"placeholder","rules":[{"ids":["wanted-id"] | CODE |
| LOW | src/core/cli/cliImages.ts | 10 | type Mode = "original" | "thumbnail" | "placeholder"; | CODE |
| LOW | src/core/cli/cliImages.ts | 28 | if (value !== "original" && value !== "thumbnail" && value !== "placeholder") throw new CLIError("INVALID_INPUT", "E | CODE |
| LOW | src/core/cli/cliImages.ts | 161 | if (decision.mode === "placeholder") { | CODE |
| LOW | src/core/cli/cliSchema.ts | 30 | default: { enum: ["original", "thumbnail", "placeholder"] }, | CODE |
| LOW | src/core/cli/cliSchema.ts | 36 | mode: { enum: ["original", "thumbnail", "placeholder"] }, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/utils/ExcalidrawExtrasGateway.ts | 265 | // Step 1: Install Plugin | COMMENT |
| LOW | src/utils/ExcalidrawExtrasGateway.ts | 283 | // Step 2: Plugin installed but disabled | COMMENT |
| LOW | src/utils/ExcalidrawExtrasGateway.ts | 319 | // Step 3: API & Version Checks | COMMENT |
| LOW | src/utils/ExcalidrawExtrasGateway.ts | 362 | // Step 4: Enable Specific Feature Setting | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/utils/ExcalidrawExtrasGateway.ts | 265 | // Step 1: Install Plugin | COMMENT |
| LOW | src/utils/ExcalidrawExtrasGateway.ts | 283 | // Step 2: Plugin installed but disabled | COMMENT |
| LOW | src/utils/ExcalidrawExtrasGateway.ts | 319 | // Step 3: API & Version Checks | COMMENT |
| LOW | src/utils/ExcalidrawExtrasGateway.ts | 362 | // Step 4: Enable Specific Feature Setting | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | RefactorPlan.md | 302 | | 2026-09-06 | Made Markdown-image/embeddable conversion transactional after live race diagnostics | The prior conversio | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | package-lock.json | 11460 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/view/ExcalidrawView.ts | 5138 | textElement.rawText, //TODO: implement originalText support in ExcalidrawAutomate | CODE |