This report summarizes scanner evidence for zhongerxin/Cowart, a JavaScript project with 6,048 GitHub stars. SynthScan examined 18,916 lines of code across 55 source files, recording 102 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 3.9 (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? 102 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 102 finding(s).
Which changes need focused human review? 102 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 102 distinct pattern matches across 1 syntactic category. 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 | vite.config.js | 94 | async function sanitizeCanvasSnapshotForServer(snapshot) { | CODE |
| LOW | vite.config.js | 264 | function localAssetFilePathFromUrl(src) { | CODE |
| LOW | src/cowartAssetCache.js | 23 | export function createCowartAssetObjectUrlCache({ | CODE |
| LOW | src/canvasSnapshot.js | 4 | export function createCowartSnapshotWithDefaultPage(snapshot) { | CODE |
| LOW | src/canvasSnapshot.js | 45 | function pruneRecordsWithMissingDependencies(store, skippedRecords) { | CODE |
| LOW | src/canvasSnapshot.js | 66 | function normalizeImageShapeRecord(record) { | CODE |
| LOW | src/canvasSnapshot.js | 84 | export function sanitizeCanvasSnapshotForTldraw(snapshot) { | CODE |
| LOW | src/cowartCanvasSave.js | 9 | export function attachCowartCanvasSaveSession(editor) { | CODE |
| LOW | src/widgetStartup.js | 3 | export function installCowartStartupDiagnostics(appVersion) { | CODE |
| LOW | src/filmPlayback.js | 16 | export function attachCowartFilmController(iframe, { duration = 15, muted = false, onStatus = () => {} } = {}) { | CODE |
| LOW | src/filmConfig.js | 20 | export function buildFilmGenerationPrompt({ holderShape, userPrompt, target, referenceLines = [], canvasContext = {}, al | CODE |
| LOW | src/analytics.js | 397 | export function trackAiGenerationRequested(parameters) { | CODE |
| LOW⚡ | src/App.jsx | 1198 | function collectAnnotationEditShapeIds(editor, imageShapeId) { | CODE |
| LOW⚡ | src/App.jsx | 1207 | function collectHtmlDraftAnnotationShapeIds(editor, draftShapeId) { | CODE |
| LOW⚡ | src/App.jsx | 1216 | function collectAiSlidesAnnotationShapeIds(editor, slidesShapeId) { | CODE |
| LOW⚡ | src/App.jsx | 1225 | function buildAnnotationEditPrompt({ imageShapeId, shapeIds, exportWidth, exportHeight, screenshotAsset }) { | CODE |
| LOW⚡ | src/App.jsx | 1275 | function getAnnotationEditExportPixelRatio(bounds) { | CODE |
| LOW⚡ | src/App.jsx | 1282 | function getAnnotationEditExportSize(exportBounds) { | CODE |
| LOW⚡ | src/App.jsx | 1291 | function isAnnotationEditExportTooLarge({ width, height }) { | CODE |
| LOW⚡ | src/App.jsx | 1298 | function prepareAnnotationEditRequest(editor, imageShapeId) { | CODE |
| LOW⚡ | src/App.jsx | 6061 | function getCowartSelectionSnapshot(editor) { | CODE |
| LOW⚡ | src/App.jsx | 6067 | function getCowartSelectionRecords(editor) { | CODE |
| LOW⚡ | src/App.jsx | 6074 | function cowartSelectionRecordsEqual(left, right) { | CODE |
| LOW | src/App.jsx | 367 | async function hydrateCowartHtmlDraftLocalImages(htmlContent, options = {}) { | CODE |
| LOW | src/App.jsx | 397 | function isCowartHtmlDraftAssetUrl(src) { | CODE |
| LOW | src/App.jsx | 405 | function cowartHtmlDraftAssetUrlFromVirtualUrl(src) { | CODE |
| LOW | src/App.jsx | 419 | function cowartHtmlDraftVirtualUrl(assetUrl) { | CODE |
| LOW | src/App.jsx | 424 | function revokeCowartAssetObjectUrls() { | CODE |
| LOW | src/App.jsx | 435 | function cowartAssetReferencesChanged(changes) { | CODE |
| LOW | src/App.jsx | 449 | async function resolveCowartTldrawAssetUrl(asset) { | CODE |
| LOW | src/App.jsx | 472 | function storeChangedSinceSnapshot(editor, baselineStore) { | CODE |
| LOW | src/App.jsx | 489 | function applyRemoteCanvasSnapshot(editor, snapshot, { preserveLocalChanges = false } = {}) { | CODE |
| LOW | src/App.jsx | 583 | function isCowartHtmlDraftEmbedShape(shape) { | CODE |
| LOW | src/App.jsx | 668 | function createAiImageHolderAtViewportCenter(editor) { | CODE |
| LOW | src/App.jsx | 707 | function createAiDraftHolderAtViewportCenter(editor) { | CODE |
| LOW | src/App.jsx | 735 | function createAiFilmHolderAtViewportCenter(editor) { | CODE |
| LOW | src/App.jsx | 769 | function createAiSlidesAtViewportCenter(editor) { | CODE |
| LOW | src/App.jsx | 844 | function adoptGeneratedAiSlidesItems(editor) { | CODE |
| LOW | src/App.jsx | 862 | function normalizeAiDraftHolderLabels(editor) { | CODE |
| LOW | src/App.jsx | 875 | function copySelectedCowartContent(editor, event) { | CODE |
| LOW | src/App.jsx | 897 | function rememberAiSlidesPasteTarget(editor) { | CODE |
| LOW | src/App.jsx | 919 | function preparePastedItemForAiSlides(editor, shape, source) { | CODE |
| LOW | src/App.jsx | 937 | function movePastedItemsIntoAiSlides(editor) { | CODE |
| LOW | src/App.jsx | 986 | function startEditingAnnotationArrowLabel(editor, arrowId) { | CODE |
| LOW | src/App.jsx | 999 | function pinAnnotationArrowLabelPosition(editor, arrowId, attempt = 0) { | CODE |
| LOW | src/App.jsx | 1026 | function selectAnnotationTextWhenReady(editor, arrowId, attempt = 0) { | CODE |
| LOW | src/App.jsx | 1050 | function selectAnnotationTextRange(editor, arrowId) { | CODE |
| LOW | src/App.jsx | 1096 | function getDefaultAnnotationArrowBend(dx, dy, scale) { | CODE |
| LOW | src/App.jsx | 1151 | function collectAnnotationTargetShapeIds(editor, targetShapeId, isTargetShape, invalidTargetMessage) { | CODE |
| LOW | src/App.jsx | 1245 | function buildAnnotationHtmlPrompt({ imageShape, shapeIds, exportWidth, exportHeight, screenshotAsset }) { | CODE |
| LOW | src/App.jsx | 1311 | function annotationEditScreenshotFileName() { | CODE |
| LOW | src/App.jsx | 1316 | function annotationHtmlScreenshotFileName() { | CODE |
| LOW | src/App.jsx | 1361 | function supportsCowartMessageImages() { | CODE |
| LOW | src/App.jsx | 1365 | async function sendAnnotationEditRequest(editor, imageShapeId, request) { | CODE |
| LOW | src/App.jsx | 1413 | async function sendAnnotationHtmlRequest(editor, imageShapeId) { | CODE |
| LOW | src/App.jsx | 1508 | function serializeCowartHtmlDraftDocument(iframeDocument) { | CODE |
| LOW | src/App.jsx | 1561 | function captureCowartDomTextSelection(iframeDocument) { | CODE |
| LOW | src/App.jsx | 1576 | function restoreCowartDomTextSelection(iframeDocument, selectionSnapshot) { | CODE |
| LOW | src/App.jsx | 1600 | function createCowartHtmlDraftDomEditorSession(iframeDocument, { onSave, onRequestExit }) { | CODE |
| LOW | src/App.jsx | 1770 | async function waitForHtmlDraftCaptureReady(iframeDocument) { | CODE |
| 42 more matches not shown… | ||||