A declarative, HTML-based language that makes building web apps fun
This report summarizes scanner evidence for marko-js/marko, a JavaScript project with 14,468 GitHub stars. SynthScan examined 165,391 lines of code across 1983 source files, recording 127 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.8 (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? 112 finding(s).
Are imports declared and package/API names verified? 15 finding(s).
Are wrappers, guards, and repeated structures necessary? 96 finding(s).
Which changes need focused human review? 127 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 127 distinct pattern matches across 7 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 | .sizes/dom.js | 1685 | function syncControllableFormInput(el, hasChanged, onChange) { | CODE |
| LOW | .sizes/dom.js | 1906 | function queueCompleteAwaitCounter(tryBranch, awaitCounter) { | CODE |
| LOW⚡ | packages/runtime-tags/src/html/attrs.ts | 554 | function escapeSingleQuotedAttrValue(value: string) { | CODE |
| LOW⚡ | packages/runtime-tags/src/html/attrs.ts | 563 | function replaceUnsafeSingleQuoteAttrChar(match: string) { | CODE |
| LOW⚡ | packages/runtime-tags/src/html/attrs.ts | 567 | export function escapeDoubleQuotedAttrValue(value: string) { | CODE |
| LOW⚡ | packages/runtime-tags/src/html/attrs.ts | 576 | function replaceUnsafeDoubleQuoteAttrChar(match: string) { | CODE |
| LOW | packages/runtime-tags/src/html/serializer.ts | 2512 | function stringEntriesToHeadersInit(entries: Iterable<[string, string]>) { | CODE |
| LOW | packages/runtime-tags/src/html/writer.ts | 1542 | function renderReorderPlaceholders( | CODE |
| LOW | …es/runtime-tags/src/translator/visitors/placeholder.ts | 191 | function buildEscapedTextExpression(value: t.Expression): t.Expression { | CODE |
| LOW | …s/runtime-tags/src/translator/visitors/program/html.ts | 226 | function replaceRegisteredFunctionNode(node: t.Node) { | CODE |
| LOW | …s/runtime-tags/src/translator/visitors/program/html.ts | 244 | function registerFunctionDeclarations(body: t.Statement[]) { | CODE |
| LOW | …me-tags/src/translator/visitors/program/pre-analyze.ts | 72 | function splitStaticPlaceholderText( | CODE |
| LOW | …me-tags/src/translator/visitors/program/pre-analyze.ts | 394 | function buildChangeHandlerFunction( | CODE |
| LOW | …me-tags/src/translator/visitors/program/pre-analyze.ts | 417 | function ensureDestructuredChangeHandler(parent: t.NodePath<t.ObjectProperty>) { | CODE |
| LOW | …me-tags/src/translator/visitors/program/pre-analyze.ts | 491 | function moveElementDefaultsToConstTags( | CODE |
| LOW | …runtime-tags/src/translator/visitors/tag/custom-tag.ts | 352 | function buildLoadSetupVirtualModule( | CODE |
| LOW | …runtime-tags/src/translator/visitors/tag/custom-tag.ts | 364 | function buildLoadSignalVirtualModule( | CODE |
| LOW | …untime-tags/src/translator/visitors/tag/dynamic-tag.ts | 678 | function getDynamicTagInputBindings(tagExtra: t.MarkoTagExtra): Opt<Binding> { | CODE |
| LOW | …runtime-tags/src/translator/visitors/tag/native-tag.ts | 1337 | function getDOMControllableDefaultHelper( | CODE |
| LOW | …runtime-tags/src/translator/visitors/tag/native-tag.ts | 1451 | function assertValidNativeAttrName( | CODE |
| LOW | …runtime-tags/src/translator/visitors/tag/native-tag.ts | 1465 | function assertNativeAttrValueType( | CODE |
| LOW | …runtime-tags/src/translator/visitors/tag/native-tag.ts | 1594 | function assertOptionInSelectWithValue(tag: t.NodePath<t.MarkoTag>) { | CODE |
| LOW | packages/runtime-tags/src/translator/core/if.ts | 278 | export function flattenTextOnlyConditional(rootTag: t.NodePath<t.MarkoTag>) { | CODE |
| LOW | packages/runtime-tags/src/translator/core/if.ts | 376 | function assertHasPrecedingCondition(tag: t.NodePath<t.MarkoTag>) { | CODE |
| LOW | packages/runtime-tags/src/translator/core/if.ts | 390 | function assertOptionalIfAttribute(tag: t.NodePath<t.MarkoTag>) { | CODE |
| LOW | packages/runtime-tags/src/translator/core/style.ts | 133 | function createCustomPropertyNames(tag: t.NodePath<t.MarkoTag>) { | CODE |
| LOW | packages/runtime-tags/src/translator/core/style.ts | 170 | function checkDynamicStylePlacement(tag: t.NodePath<t.MarkoTag>) { | CODE |
| LOW | …s/runtime-tags/src/translator/util/section-renderer.ts | 7 | export function getSectionRendererIdentifier(section: Section) { | CODE |
| LOW | packages/runtime-tags/src/translator/util/scope-read.ts | 38 | export function createScopeReadExpression( | CODE |
| LOW | …ages/runtime-tags/src/translator/util/translate-var.ts | 275 | function toShorthandExcludedProperty(name: string) { | CODE |
| LOW | …untime-tags/src/translator/util/finalize-references.ts | 140 | function excludeAssignedChangeHandlers() { | CODE |
| LOW | …untime-tags/src/translator/util/finalize-references.ts | 505 | function resolveIntersectionSource( | CODE |
| LOW | …untime-tags/src/translator/util/finalize-references.ts | 746 | function resolveReferencedBindingsInFunction( | CODE |
| LOW | …untime-tags/src/translator/util/finalize-references.ts | 824 | function resolveReferencedBindings( | CODE |
| LOW | …untime-tags/src/translator/util/finalize-references.ts | 964 | function resolveExpressionReference( | CODE |
| LOW | packages/runtime-tags/src/translator/util/branch-tag.ts | 44 | export function resumeOwnerByMarkerWhenUnconditional( | CODE |
| LOW | packages/runtime-tags/src/translator/util/branch-tag.ts | 195 | export function forTypeToUnkeyedBranchRuntime(type: ForType) { | CODE |
| LOW | packages/runtime-tags/src/translator/util/bindings.ts | 473 | export function getDebugNamesAsIdentifier(refs: ReferencedBindings) { | CODE |
| LOW | packages/runtime-tags/src/translator/util/bindings.ts | 518 | export function hasNonConstantPropertyAlias(ref: Binding) { | CODE |
| LOW | …src/translator/util/get-declared-binding-expression.ts | 15 | export function getDeclaredBindingExpression( | CODE |
| LOW | …ckages/runtime-tags/src/translator/util/write-guard.ts | 212 | function getOrHoistSectionGuard( | CODE |
| LOW | …ckages/runtime-tags/src/translator/util/params-tree.ts | 108 | function hasSupersetExcludeProperties( | CODE |
| LOW | …es/runtime-tags/src/translator/util/translate-attrs.ts | 167 | export function getTranslatedBodyContentProperty( | CODE |
| LOW | …es/runtime-tags/src/translator/util/translate-attrs.ts | 177 | export function addDynamicAttrTagStatements( | CODE |
| LOW | packages/runtime-tags/src/translator/util/assert.ts | 171 | function buildUnsupportedAttrsError( | CODE |
| LOW | …ges/runtime-tags/src/translator/util/scope-accessor.ts | 45 | export function getScopeOffsetAccessorLiteral( | CODE |
| LOW | …ges/runtime-tags/src/translator/util/scope-accessor.ts | 139 | export function getClosureAccessorLiteral(binding: Binding) { | CODE |
| LOW | …ges/runtime-tags/src/translator/util/scope-accessor.ts | 162 | function getSectionInstancesAccessor(section: Section) { | CODE |
| LOW | …ges/runtime-tags/src/translator/util/scope-accessor.ts | 171 | export function getSectionInstancesAccessorLiteral(section: Section) { | CODE |
| LOW | packages/runtime-tags/src/translator/util/known-tag.ts | 954 | function collectAttrTagReferenceNodes( | CODE |
| LOW | …ages/runtime-tags/src/translator/util/solve-reasons.ts | 126 | function addIntersectionMemberReason( | CODE |
| LOW | …ages/runtime-tags/src/translator/util/tag-name-type.ts | 331 | export function isUnresolvedKnownWrongTag(tag: t.NodePath<t.MarkoTag>) { | CODE |
| LOW | …time-tags/src/translator/util/nested-attribute-tags.ts | 175 | function hasRepeatedDynamicAttrTags(attrTags: t.NodePath<t.MarkoTag>[]) { | CODE |
| LOW | packages/runtime-tags/src/translator/util/tag-import.ts | 28 | export function importOrSelfReferenceName( | CODE |
| LOW | …s/runtime-tags/src/translator/util/to-property-name.ts | 3 | export function getMemberExpressionPropString( | CODE |
| LOW | …s/runtime-tags/src/translator/util/to-property-name.ts | 29 | export function isValidPropertyIdentifier(name: string) { | CODE |
| LOW | …me-tags/src/translator/util/is-only-child-in-parent.ts | 15 | export function getOnlyChildParentTagName(tag: t.NodePath<t.MarkoTag>) { | CODE |
| LOW | packages/runtime-tags/src/translator/util/references.ts | 404 | function trackReferencesForBinding(babelBinding: t.Binding, binding: Binding) { | CODE |
| LOW | packages/runtime-tags/src/translator/util/references.ts | 608 | function createBindingsAndTrackReferences( | CODE |
| LOW | packages/runtime-tags/src/translator/util/references.ts | 1388 | export function getReferencedBindingsInFunction(extra: t.FunctionExtra) { | CODE |
| 36 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/runtime-tags/src/translator/core/try.ts | 165 | if (placeholderSection) importRuntimeFeature("placeholder"); | CODE |
| LOW | packages/runtime-tags/src/translator/util/runtime.ts | 121 | "placeholder", | CODE |
| LOW | …-reordered-placeholder/__snapshots__/writes.debug.html | 9 | "value": "placeholder" | CODE |
| LOW | …-reordered-placeholder/__snapshots__/writes.debug.html | 12 | "value": "placeholder" | CODE |
| LOW | …ordered-placeholder/__snapshots__/html.bundle.debug.js | 42 | (0, import_attr_tag.a)("placeholder", { "renderBody": (out) => { | CODE |
| LOW | …ordered-placeholder/__snapshots__/html.bundle.debug.js | 43 | (0, import_render_tag.default)(_marko_template$1, { "value": "placeholder" }, out, _componentDef, "1"); | CODE |
| LOW | …ild-reordered-placeholder/__snapshots__/html.bundle.js | 33 | (0, import_attr_tag.a)("placeholder", { "renderBody": (out) => { | CODE |
| LOW | …ild-reordered-placeholder/__snapshots__/html.bundle.js | 34 | (0, import_render_tag.default)(_marko_template$1, { "value": "placeholder" }, out, _componentDef, "1"); | CODE |
| LOW | …-child-reordered-placeholder/__snapshots__/writes.html | 9 | "value": "placeholder" | CODE |
| LOW | …-child-reordered-placeholder/__snapshots__/writes.html | 12 | "value": "placeholder" | CODE |
| LOW | …eordered-placeholder/__snapshots__/dom.bundle.debug.js | 31 | (0, import_attr_tag.a)("placeholder", { "renderBody": (out) => { | CODE |
| LOW | …eordered-placeholder/__snapshots__/dom.bundle.debug.js | 32 | (0, import_render_tag.default)(_marko_template$1, { "value": "placeholder" }, out, _componentDef, "1"); | CODE |
| LOW | packages/runtime-class/docs/syntax.md | 475 | <p>Lorem ipsum....</p> | CODE |
| LOW | packages/compiler/src/taglib/marko-html.json | 2086 | "name": "placeholder" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/test-parallel.js | 1 | // Runs the mocha suite across CPU cores. A few giant fixture-driven suites | COMMENT |
| LOW | …untime-tags/src/translator/util/constants/slot-kind.ts | 1 | // A binding's value. | COMMENT |
| LOW | …to-class/components/split-display/component-browser.js | 1 | // Split component (browser class makes it split / attach-only as a hydration | COMMENT |
| LOW | packages/runtime-class/CHANGELOG.md | 5881 | // { | COMMENT |
| LOW | packages/runtime-class/index.d.ts | 221 | replace(target: ChildNode): this; | COMMENT |
| LOW | packages/runtime-class/browser-refresh.js | 1 | // This is a noop in Marko 5 and should eventually be removed. | COMMENT |
| LOW | …ages/runtime-class/test/components-pages/index.test.js | 41 | var browser = createBrowserWithMarko(__dirname, html, { | COMMENT |
| LOW | packages/runtime-class/docs/compiler.md | 241 | COMMENT | |
| LOW | packages/runtime-class/src/runtime/vdom/VNode.js | 81 | }, | COMMENT |
| LOW | …ages/compiler/src/taglib/loader/loadTaglibFromProps.js | 121 | taglib.addAttribute(attr); | COMMENT |
| LOW | …ages/compiler/src/taglib/loader/loadTaglibFromProps.js | 161 | // will be the tag definition. Example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/compiler/test/compile.test.js | 132 | print("<foo<string> <T>|x: T|>${x}</foo>\n<type-arg<string>/>", { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/runtime-tags/CHANGELOG.md | 2734 | - [#2783](https://github.com/marko-js/marko/pull/2783) [`506539c`](https://github.com/marko-js/marko/commit/506539cbb17c | CODE |
| MEDIUM | packages/runtime-class/CHANGELOG.md | 1115 | - [#2783](https://github.com/marko-js/marko/pull/2783) [`506539c`](https://github.com/marko-js/marko/commit/506539cbb17c | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/runtime-class/docs/marko-5-upgrade.md | 3 | ## Step 0 - Ensure you're in a working state on the latest version of Marko 4 | COMMENT |
| LOW | packages/runtime-class/docs/marko-5-upgrade.md | 25 | ## Step 1 - Upgrade Marko & Dependencies | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …kages/runtime-class/src/runtime/vdom/morphdom/index.js | 672 | // For transcluded content, we need to check if the element belongs to a different component | COMMENT |