AI Slop Code Risk Monitor

AssemblyScript/assemblyscript

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

A TypeScript-like language for WebAssembly.

2.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for AssemblyScript/assemblyscript, a WebAssembly project with 18,036 GitHub stars. SynthScan examined 125,671 lines of code across 881 source files, recording 122 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 2.3 (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.3
Adjusted Signal
2.3
Raw Pattern Score
100%
Time Factor
2026-10-18
Last Push
18.0K
Stars
WebAssembly
Language
125.7K
Lines of Code
881
Files
122
Pattern Hits
2026-10-31
Scan Date
0.00
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 3.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 9.3/100 · LOW

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

PR Review Velocity Impact 8.5/100 · LOW

Which changes need focused human review? 122 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 0HIGH 0MEDIUM 51LOW 71

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 122 distinct pattern matches across 6 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.

Decorative Section Separators50 hits · 218 pts
SeverityFileLineSnippetContext
MEDIUM⚡std/assembly/iterator.ts14 // ╒═══════════════════ Iterator layout (32-bit) ══════════════════╕COMMENT
MEDIUM⚡std/assembly/iterator.ts19 // ├─────────────────────────────────────────────────────────┬───┬─┤COMMENT
MEDIUM⚡std/assembly/iterator.ts21 // └─────────────────────────────────────────────────────────┴───┴─┘COMMENT
MEDIUM⚡std/assembly/shared/typeinfo.ts3// ╒═══════════════════ Typeinfo interpretation ═══════════════════╕COMMENT
MEDIUM⚡std/assembly/shared/typeinfo.ts8// ╞═══════════════════════════════════════════════════════════════╡ ┐COMMENT
MEDIUM⚡std/assembly/shared/typeinfo.ts10// ├───────────────────────────────────────────────────────────────┤COMMENT
MEDIUM⚡std/assembly/rt/itcms.ts9// ╒═════════════╤══════════════ Colors ═══════════════════════════╕COMMENT
MEDIUM⚡std/assembly/rt/itcms.ts11// ├─────────────┼─────────────────────────────────────────────────┤COMMENT
MEDIUM⚡std/assembly/rt/itcms.ts16// └─────────────┴─────────────────────────────────────────────────┘COMMENT
MEDIUM⚡std/assembly/rt/itcms.ts64// ╒═══════════════ Managed object layout (32-bit) ════════════════╕COMMENT
MEDIUM⚡std/assembly/rt/itcms.ts69// ╞═══════════════════════════════════════════════════════════╤═══╡COMMENT
MEDIUM⚡std/assembly/rt/itcms.ts71// ├───────────────────────────────────────────────────────────┴───┤COMMENT
MEDIUM⚡std/assembly/rt/itcms.ts73// ├───────────────────────────────────────────────────────────────┤COMMENT
MEDIUM⚡std/assembly/rt/itcms.ts75// ├───────────────────────────────────────────────────────────────┤COMMENT
MEDIUM⚡std/assembly/rt/itcms.ts77// ╞>ptr═══════════════════════════════════════════════════════════╡COMMENT
MEDIUMstd/assembly/rt/common.ts23// ╒════════════ Memory manager block layout (32-bit) ═════════════╕COMMENT
MEDIUMstd/assembly/rt/common.ts28// ╞>ptr═══════════════════════════════════════════════════════════╡COMMENT
MEDIUM⚡std/assembly/rt/common.ts45// ╒══════════ Garbage collector object layout (32-bit) ═══════════╕COMMENT
MEDIUM⚡std/assembly/rt/common.ts50// ╞═══════════════════════════════════════════════════════════════╡COMMENT
MEDIUM⚡std/assembly/rt/common.ts52// ├───────────────────────────────────────────────────────────────┤COMMENT
MEDIUM⚡std/assembly/rt/common.ts54// ├───────────────────────────────────────────────────────────────┤COMMENT
MEDIUM⚡std/assembly/rt/common.ts56// ├───────────────────────────────────────────────────────────────┤COMMENT
MEDIUM⚡std/assembly/rt/common.ts58// ╞>ptr═══════════════════════════════════════════════════════════╡COMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts55// ╒════════════════════ Block layout (32-bit) ════════════════════╕COMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts60// ╞>ptr═══════════════════════════════════════════════════════╧═╧═╡ │ ┘COMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts62// ├───────────────────────────────────────────────────────────────┤ │COMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts64// ├───────────────────────────────────────────────────────────────┤ │COMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts66// ├───────────────────────────────────────────────────────────────┤ │COMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts68// └───────────────────────────────────────────────────────────────┘ >= MIN SIZECOMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts100// ╒═════════════════════ Root layout (32-bit) ════════════════════╕COMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts105// ╞═══════════════════════════════════════════════════════════════╡ │COMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts107// ├───────────────────────────────────────────────────────────────┤ │ │COMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts109// ├───────────────────────────────────────────────────────────────┤ u32 │COMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts111// ╞═══════════════════════════════════════════════════════════════╡ usizeCOMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts113// ├───────────────────────────────────────────────────────────────┤ │COMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts115// ├───────────────────────────────────────────────────────────────┤ │COMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts117// ╞═══════════════════════════════════════════════════════════════╡ │COMMENT
MEDIUM⚡std/assembly/rt/tlsf.ts119// └───────────────────────────────────────────────────────────────┘ SIZE ┘COMMENT
MEDIUMstd/assembly/rt/tlsf.ts11// ╒══════════════ Block size interpretation (32-bit) ═════════════╕COMMENT
MEDIUMstd/assembly/rt/tlsf.ts16// └───────────────────────────────────────────────┴───────╨───────┘COMMENT
MEDIUM⚡std/assembly/rt/tcms.ts7// ╒═════════════╤══════════════ Colors ═══════════════════════════╕COMMENT
MEDIUM⚡std/assembly/rt/tcms.ts9// ├─────────────┼─────────────────────────────────────────────────┤COMMENT
MEDIUM⚡std/assembly/rt/tcms.ts13// └─────────────┴─────────────────────────────────────────────────┘COMMENT
MEDIUM⚡std/assembly/rt/tcms.ts44// ╒═══════════════ Managed object layout (32-bit) ════════════════╕COMMENT
MEDIUM⚡std/assembly/rt/tcms.ts49// ╞═══════════════════════════════════════════════════════════╤═══╡COMMENT
MEDIUM⚡std/assembly/rt/tcms.ts51// ├───────────────────────────────────────────────────────────┴───┤COMMENT
MEDIUM⚡std/assembly/rt/tcms.ts53// ├───────────────────────────────────────────────────────────────┤COMMENT
MEDIUM⚡std/assembly/rt/tcms.ts55// ├───────────────────────────────────────────────────────────────┤COMMENT
MEDIUM⚡std/assembly/rt/tcms.ts57// ╞>ptr═══════════════════════════════════════════════════════════╡COMMENT
MEDIUMsrc/compiler.ts2613 // (?block $continue │ │ if loops: (incrementor) ─────┘COMMENT
Over-Commented Block41 hits · 40 pts
SeverityFileLineSnippetContext
LOWutil/browser/path.js1import * as process from "./process.js";COMMENT
LOWutil/browser/process.js21// Redistribution and use in source and binary forms, with or withoutCOMMENT
LOWtests/parser/class.ts.fixture.ts21}COMMENT
LOWtests/parser/literals.ts.fixture.ts121// ERROR 6188: "Numeric separators are not allowed here." in literals.ts(103,2+0)COMMENT
LOWtests/parser/union.ts.fixture.ts1export let a = 1;COMMENT
LOW…sts/parser/definite-assignment-assertion.ts.fixture.ts21// ERROR 1263: "Declarations with initializers cannot also have definite assignment assertions." in definite-assignment-COMMENT
LOWtests/parser/interface-errors.ts.fixture.ts21// ERROR 1176: "Interface declaration cannot have 'implements' clause." in interface-errors.ts(8,15+10)COMMENT
LOWtests/parser/numeric-separators.ts.fixture.ts41// ERROR 6189: "Multiple consecutive numeric separators are not permitted." in numeric-separators.ts(21,6+0)COMMENT
LOWtests/parser/tuple-errors.ts.fixture.ts1// ERROR 2456: "Type alias 'Loop' circularly references itself." in tuple-errors.ts(1,13+4)COMMENT
LOWtests/compiler/call-inferred.ts41COMMENT
LOWtests/compiler/features/relaxed-simd.ts81// r = i32x4.relaxed_dot_i8x16_i7x16_add_s(v, v, v);COMMENT
LOWtests/compiler/std/string.ts801// Expected: 2.98023223876953125e-8COMMENT
LOWtests/compiler/std/math.ts361// assert(test_acosh(1.00183940730320464, 0.0606439391272710696, -0.27641335129737854, INEXACT));COMMENT
LOWtests/compiler/std/math.ts501// assert(test_asinh(0.24297705017513252, 0.240647613714979003, 0.464605927467346191, INEXACT));COMMENT
LOWstd/assembly/iterator.ts1export abstract class Iterable<T> {COMMENT
LOWstd/assembly/rt.ts61// // @ts-ignore: decoratorCOMMENT
LOWstd/assembly/rt.ts81// // @ts-ignore: decoratorCOMMENT
LOWstd/assembly/object.ts21 }COMMENT
LOWstd/assembly/util/math.ts661 } else {COMMENT
LOWstd/assembly/util/math.ts701 let scale = reinterpret<f64>(sbits);COMMENT
LOWstd/assembly/util/math.ts1821 // #elif EXP_USE_TOINT_NARROWCOMMENT
LOWstd/assembly/rt/itcms.ts1import { BLOCK, BLOCK_OVERHEAD, OBJECT_OVERHEAD, OBJECT_MAXSIZE, TOTAL_OVERHEAD, DEBUG, TRACE, RTRACE, PROFILE } from ".COMMENT
LOWstd/assembly/rt/itcms.ts61// @ts-ignore: decoratorCOMMENT
LOWstd/assembly/rt/common.ts41@inline export const BLOCK_MAXSIZE: usize = (1 << 30) - BLOCK_OVERHEAD;COMMENT
LOWstd/assembly/rt/tlsf.ts1import { AL_BITS, AL_SIZE, AL_MASK, DEBUG, BLOCK, BLOCK_OVERHEAD, BLOCK_MAXSIZE } from "./common";COMMENT
LOWstd/assembly/rt/tlsf.ts21// @ts-ignore: decoratorCOMMENT
LOWstd/assembly/rt/tlsf.ts41// [09]: < 128K [21]: < 512MCOMMENT
LOWstd/assembly/rt/tlsf.ts61// │ if free: ◄ prev │ ◄─┤ usizeCOMMENT
LOWstd/assembly/rt/tlsf.ts101// 3 2 1COMMENT
LOWstd/assembly/rt/tcms.ts1import { BLOCK, BLOCK_OVERHEAD, OBJECT_OVERHEAD, OBJECT_MAXSIZE, TOTAL_OVERHEAD, DEBUG, TRACE, RTRACE } from "./common";COMMENT
LOWstd/assembly/rt/tcms.ts41// @ts-ignore: decoratorCOMMENT
LOWlib/loader/tests/index.js241 // assert.strictEqual(fn(2), 4);COMMENT
LOWsrc/module.ts81 export const Noneref = binaryen._BinaryenTypeNullref();COMMENT
LOWsrc/module.ts1401 }COMMENT
LOWsrc/program.ts21// │ ├─TypedElement Base class of elements resolving to a typeCOMMENT
LOWsrc/program.ts2881 // case BuiltinSymbols.Uint16Array: return Type.u16;COMMENT
LOWsrc/compiler.ts2481 let outerFlow = this.currentFlow;COMMENT
LOWsrc/compiler.ts2601 /** Statement to compile. */COMMENT
LOWsrc/compiler.ts3281COMMENT
LOWsrc/bindings/js.ts61//COMMENT
LOWsrc/bindings/js.ts81// - Interface Types `string` will be incompatible with JavaScript `String` andCOMMENT
Hyper-Verbose Identifiers27 hits · 28 pts
SeverityFileLineSnippetContext
LOWtests/parser/parameter-order.ts8function optionalCannotPrecedeRequired(a?: i32, b: i32): void {}CODE
LOWtests/parser/parameter-order.ts11function optionalWithInitializerCannotPrecedeRequired(a: i32 = 1, b: i32): void {}CODE
LOWtests/parser/parameter-order.ts.fixture.ts4function optionalCannotPrecedeRequired(a?: i32, b: i32): void {}CODE
LOWtests/parser/parameter-order.ts.fixture.ts5function optionalWithInitializerCannotPrecedeRequired(a: i32 = 1, b: i32): void {}CODE
LOWtests/compiler/possibly-null.ts55export function testNotNeNullContinuation(a: Ref | null): void {CODE
LOWtests/compiler/do.ts63function testAlwaysTrueNeverBreaks(): i32 {CODE
LOWtests/compiler/while.ts65function testAlwaysTrueNeverBreaks(): i32 {CODE
LOWtests/compiler/while.ts179function testIfImplicitContinueThen(): void {CODE
LOWtests/compiler/while.ts195function testIfImplicitContinueElse(): void {CODE
LOWtests/compiler/switch.ts77function doSwitchFallThroughDefault(n: i32): i32 {CODE
LOWtests/compiler/switch.ts285function doSwitchClassInstanceWithOverload(foo: BarClass | null): i32 {CODE
LOWtests/compiler/managed-cast.ts46function testDowncastFromToNullable(animal: Animal | null): void {CODE
LOWtests/compiler/std/array.ts971function createReverseOrderedArray(size: i32): Array<i32> {CODE
LOWtests/compiler/std/array.ts989function createReverseOrderedNestedArray(size: i32): Array<Array<i32>> {CODE
LOWtests/compiler/std/array.ts1008function createReverseOrderedElementsArray(size: i32): Array<Proxy<i32>> {CODE
LOWtests/compiler/std/array.ts1065function assertStableSortedForComplexObjects(): void {CODE
LOW⚡tests/compiler/std/array-access.ts5export function stringArrayPropertyAccess(a: string[]): i32 {CODE
LOW⚡tests/compiler/std/array-access.ts13export function stringArrayArrayPropertyAccess(a: string[][]): i32 {CODE
LOW⚡tests/compiler/std/array-access.ts17export function stringArrayArrayMethodCall(a: string[][]): i32 {CODE
LOWlib/loader/index.js291 function attachTypedArrayFunctions(ctor, name, align) {CODE
LOWlib/loader/umd/index.js348 function attachTypedArrayFunctions(ctor, name, align) {CODE
LOWsrc/tokenizer.ts380export function isIllegalVariableIdentifier(name: string): bool {CODE
LOWsrc/index-wasm.ts285export function getDiagnosticRelatedRange(diagnostic: DiagnosticMessage): Range | null {CODE
LOWsrc/diagnostics.ts87export function diagnosticCategoryToString(category: DiagnosticCategory): string {CODE
LOWsrc/diagnostics.ts101export function diagnosticCategoryToColor(category: DiagnosticCategory): string {CODE
LOWsrc/bindings/js.ts1525export function liftRequiresExportRuntime(type: Type): bool {CODE
LOWsrc/bindings/js.ts1556export function lowerRequiresExportRuntime(type: Type): bool {CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWstd/assembly/string.ts188 // TODO: implement full locale comparison with locales and Collator optionsCOMMENT
LOWsrc/module.ts3811 // TODO: implement and use String.fromCodePointsCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/compiler.ts983 // utilize varargs stub to fill in omitted argumentsCOMMENT
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWbin/asinit.js170 "Don't forget to install dependencies before you start:",CODE