AI Slop Code Risk Monitor

bigskysoftware/htmx

SlopCodeMonitor badge for bigskysoftware/htmx Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

</> htmx - high power tools for HTML

2.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for bigskysoftware/htmx, a JavaScript project with 49,576 GitHub stars. SynthScan examined 95,878 lines of code across 483 source files, recording 54 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 2.1 (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.

2.1
Adjusted Signal
2.1
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
49.6K
Stars
JavaScript
Language
95.9K
Lines of Code
483
Files
54
Pattern Hits
2026-10-31
Scan Date
0.04
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 1.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 7.3/100 · LOW

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

Agent Over-Engineering Ratio 2.8/100 · LOW

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

PR Review Velocity Impact 10.1/100 · LOW

Which changes need focused human review? 54 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 14HIGH 5MEDIUM 0LOW 35

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 54 distinct pattern matches across 5 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.

Hallucination Indicators14 hits · 140 pts
SeverityFileLineSnippetContext
CRITICALtest/core/headers.js129 evt.detail.value.should.deep.equal([1, 2, 3])CODE
CRITICALtest/core/api.js236 document.body.innerHTML.should.not.equal('foo!')CODE
CRITICALtest/attributes/hx-swap-oob.js368 event.detail.content.innerHTML.should.equal('Swapped')CODE
CRITICALtest/attributes/hx-disinherit.js34 btn.firstChild.firstChild.id.should.equal('snowflake')CODE
CRITICALtest/attributes/hx-disinherit.js52 btn.firstChild.firstChild.id.should.equal('unique')CODE
CRITICALtest/attributes/hx-disinherit.js53 btn.firstChild.firstChild.firstChild.id.should.equal('snowflake')CODE
CRITICALtest/attributes/hx-disinherit.js69 btn.firstChild.firstChild.id.should.equal('snowflake')CODE
CRITICALwww/static/test/core/headers.js129 evt.detail.value.should.deep.equal([1, 2, 3])CODE
CRITICALwww/static/test/core/api.js236 document.body.innerHTML.should.not.equal('foo!')CODE
CRITICALwww/static/test/attributes/hx-swap-oob.js357 event.detail.content.innerHTML.should.equal('Swapped')CODE
CRITICALwww/static/test/attributes/hx-disinherit.js34 btn.firstChild.firstChild.id.should.equal('snowflake')CODE
CRITICALwww/static/test/attributes/hx-disinherit.js52 btn.firstChild.firstChild.id.should.equal('unique')CODE
CRITICALwww/static/test/attributes/hx-disinherit.js53 btn.firstChild.firstChild.firstChild.id.should.equal('snowflake')CODE
CRITICALwww/static/test/attributes/hx-disinherit.js69 btn.firstChild.firstChild.id.should.equal('snowflake')CODE
Hyper-Verbose Identifiers29 hits · 29 pts
SeverityFileLineSnippetContext
LOWtest/lib/_hyperscript.js39 function getOrInitObject(root, prop) {CODE
LOWtest/lib/_hyperscript.js517 function isValidSingleQuoteStringStart(tokens) {CODE
LOWtest/lib/_hyperscript.js670 function consumeAttributeReference() {CODE
LOWtest/lib/_hyperscript.js684 function consumeShortAttributeReference() {CODE
LOWtest/lib/_hyperscript.js5591 function parsePseudopossessiveTarget(parser, runtime, tokens) {CODE
LOWwww/content/essays/mcp_apps_hypermedia.md446async def render_occurrences_fragment(ctx: Context, event_id) -> CallToolResult:CODE
LOWwww/static/test/lib/_hyperscript.js39 function getOrInitObject(root, prop) {CODE
LOWwww/static/test/lib/_hyperscript.js517 function isValidSingleQuoteStringStart(tokens) {CODE
LOWwww/static/test/lib/_hyperscript.js670 function consumeAttributeReference() {CODE
LOWwww/static/test/lib/_hyperscript.js684 function consumeShortAttributeReference() {CODE
LOWwww/static/test/lib/_hyperscript.js5591 function parsePseudopossessiveTarget(parser, runtime, tokens) {CODE
LOWwww/static/src/htmx.js466 function getAttributeValueWithDisinheritance(initialElement, ancestor, attributeName) {CODE
LOWwww/static/src/htmx.js2194 function isPossibleRelativeReference(token, last, paramName) {CODE
LOWwww/static/src/htmx.js2517 function ignoreBoostedAnchorCtrlClick(elt, evt) {CODE
LOWwww/static/src/htmx.js2877 function maybeSetLastButtonClicked(evt) {CODE
LOWwww/static/src/htmx.js2888 function maybeUnsetLastButtonClicked(evt) {CODE
LOWwww/static/src/htmx.js3425 function addRequestIndicatorClasses(elt) {CODE
LOWwww/themes/htmx-theme/static/js/htmx.js466 function getAttributeValueWithDisinheritance(initialElement, ancestor, attributeName) {CODE
LOWwww/themes/htmx-theme/static/js/htmx.js2194 function isPossibleRelativeReference(token, last, paramName) {CODE
LOWwww/themes/htmx-theme/static/js/htmx.js2517 function ignoreBoostedAnchorCtrlClick(elt, evt) {CODE
LOWwww/themes/htmx-theme/static/js/htmx.js2877 function maybeSetLastButtonClicked(evt) {CODE
LOWwww/themes/htmx-theme/static/js/htmx.js2888 function maybeUnsetLastButtonClicked(evt) {CODE
LOWwww/themes/htmx-theme/static/js/htmx.js3425 function addRequestIndicatorClasses(elt) {CODE
LOWsrc/htmx.js466 function getAttributeValueWithDisinheritance(initialElement, ancestor, attributeName) {CODE
LOWsrc/htmx.js2194 function isPossibleRelativeReference(token, last, paramName) {CODE
LOWsrc/htmx.js2517 function ignoreBoostedAnchorCtrlClick(elt, evt) {CODE
LOWsrc/htmx.js2877 function maybeSetLastButtonClicked(evt) {CODE
LOWsrc/htmx.js2888 function maybeUnsetLastButtonClicked(evt) {CODE
LOWsrc/htmx.js3425 function addRequestIndicatorClasses(elt) {CODE
Cross-File Repetition5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHwww/content/attributes/hx-post.md0\ the hx-patch attribute in htmx will cause an element to issue a patch request to the specified url and swap the \ retuSTRING
HIGHwww/content/attributes/hx-delete.md0\ the hx-patch attribute in htmx will cause an element to issue a patch request to the specified url and swap the \ retuSTRING
HIGHwww/content/attributes/hx-put.md0\ the hx-patch attribute in htmx will cause an element to issue a patch request to the specified url and swap the \ retuSTRING
HIGHwww/content/attributes/hx-get.md0\ the hx-patch attribute in htmx will cause an element to issue a patch request to the specified url and swap the \ retuSTRING
HIGHwww/content/attributes/hx-patch.md0\ the hx-patch attribute in htmx will cause an element to issue a patch request to the specified url and swap the \ retuSTRING
Fake / Example Data5 hits · 5 pts
SeverityFileLineSnippetContext
LOWtest/core/regressions.js185 '<input hx-get="/test" hx-target="#formtest" hx-trigger="click" type="text" id="id_email" value="test@testCODE
LOWwww/content/extensions/preload.md74 <li><a href="/server/3">This will be preloaded, too. Lorem ipsum.</a>CODE
LOWwww/content/examples/inline-validation.md100 } else if(email != "test@test.com") {CODE
LOWwww/content/examples/inline-validation.md110 return `<h3>Signup Form</h3><p>Enter an email into the input below and on tab out it will be validated. Only "tCODE
LOWwww/static/test/core/regressions.js185 '<input hx-get="/test" hx-target="#formtest" hx-trigger="click" type="text" id="id_email" value="test@testCODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWwww/config.toml21[slugify]COMMENT