AI Slop Code Risk Monitor

shikijs/shiki

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

A beautiful yet powerful syntax highlighter

0.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for shikijs/shiki, a TypeScript project with 13,902 GitHub stars. SynthScan examined 74,930 lines of code across 513 source files, recording 45 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 0.7 (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.

0.7
Adjusted Signal
0.7
Raw Pattern Score
100%
Time Factor
2026-10-01
Last Push
13.9K
Stars
TypeScript
Language
74.9K
Lines of Code
513
Files
45
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 2.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 2.6/100 · LOW

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

PR Review Velocity Impact 3.6/100 · LOW

Which changes need focused human review? 45 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 2MEDIUM 0LOW 43

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 45 distinct pattern matches across 3 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.

Hyper-Verbose Identifiers40 hits · 40 pts
SeverityFileLineSnippetContext
LOWpackages/vitepress-twoslash/src/cache-fs.ts16export function createFileSystemTypesCache(options: FileSystemTypeResultCacheOptions = {}): TwoslashTypesCache {CODE
LOW…/vitepress-twoslash/src/cache-inline/markdown-fence.ts32export function createMarkdownFenceSourceCodec(mapper: MarkdownFencesSourceMapper): MarkdownFenceSourceMapCodec {CODE
LOWpackages/vitepress-twoslash/src/cache-inline/index.ts21export function createTwoslashWithInlineCache(CODE
LOWpackages/engine-javascript/src/string.ts12export function createJavaScriptEngineString(content: string): JavaScriptEngineString {CODE
LOWpackages/engine-javascript/src/engine-raw.ts13export function createJavaScriptRawEngine(): RegexEngine {CODE
LOWpackages/engine-javascript/src/engine-compile.ts29export function defaultJavaScriptRegexConstructor(pattern: string, options?: ToRegExpOptions): RegExp {CODE
LOWpackages/engine-javascript/src/engine-compile.ts65export function createJavaScriptRegexEngine(options: JavaScriptRegexEngineOptions = {}): RegexEngine {CODE
LOWpackages/core/src/highlight/code-to-hast.ts378function mergeAdjacentStyledTokens(tokens: ThemedToken[][]): ThemedToken[][] {CODE
LOWpackages/core/src/highlight/_get-transformers.ts18function sortTransformersByEnforcement(transformers: ShikiTransformer[]): {CODE
LOWpackages/core/src/constructors/highlighter.ts40export function createHighlighterCoreSync(options: HighlighterCoreOptions<true>): HighlighterCore {CODE
LOWpackages/core/src/constructors/highlighter.ts57export function makeSingletonHighlighterCore(CODE
LOWpackages/core/src/constructors/highlighter.ts62 async function getSingletonHighlighterCore(CODE
LOWpackages/stream/test/svelte-renderer.test.ts12function createControlledTokenStream() {CODE
LOWpackages/stream/test/react-renderer.test.ts36function createControlledTokenStream() {CODE
LOWpackages/primitive/src/highlight/code-to-tokens-base.ts280function explainThemeScopesNameOnly(CODE
LOWpackages/primitive/src/textmate/grammar-state.ts17export function getLastGrammarStateFromMap(CODE
LOWpackages/primitive/src/constructors/async.ts8export async function createShikiPrimitiveAsync(options: HighlighterCoreOptions): Promise<ShikiPrimitive> {CODE
LOWpackages/colorized-brackets/test/utils.ts66function getColoredBracketTerminalOutput(CODE
LOWpackages/colorized-brackets/src/index.ts35export function transformerColorizedBrackets(CODE
LOW…ckages/transformers/src/shared/notation-transformer.ts20export function createCommentNotationTransformer(CODE
LOW…/transformers/src/transformers/notation-error-level.ts20export function transformerNotationErrorLevel(CODE
LOW…es/transformers/src/transformers/remove-line-breaks.ts7export function transformerRemoveLineBreak(): ShikiTransformer {CODE
LOW…s/transformers/src/transformers/meta-highlight-word.ts30export function transformerMetaWordHighlight(CODE
LOW…es/transformers/src/transformers/render-line-number.ts21export function transformerRenderLineNumber(CODE
LOW…ransformers/src/transformers/remove-notation-escape.ts9export function transformerRemoveNotationEscape(): ShikiTransformer {CODE
LOW…es/transformers/src/transformers/notation-highlight.ts23export function transformerNotationHighlight(CODE
LOW…/transformers/src/transformers/render-indent-guides.ts15export function transformerRenderIndentGuides(CODE
LOW…kages/transformers/src/transformers/remove-comments.ts14export function transformerRemoveComments(CODE
LOW…ges/transformers/src/transformers/render-whitespace.ts32export function transformerRenderWhitespace(CODE
LOW…/transformers/src/transformers/compact-line-options.ts14export function transformerCompactLineOptions(CODE
LOW…ansformers/src/transformers/notation-highlight-word.ts24export function transformerNotationWordHighlight(CODE
LOWpackages/rehype/src/core.ts17function rehypeShikiFromHighlighter(CODE
LOWpackages/markdown-it/src/async.ts7export function setupMarkdownWithCodeToHtml(CODE
LOWpackages/monaco/src/index.ts27export function textmateThemeToMonacoTheme(theme: ThemeRegistrationResolved): MonacoTheme {CODE
LOW…ges/magic-move/src/solid/ShikiMagicMovePrecompiled.tsx27export function ShikiMagicMovePrecompiled(props: ShikiMagicMovePrecompiledProps) {CODE
LOW…ges/magic-move/src/react/ShikiMagicMovePrecompiled.tsx21export function ShikiMagicMovePrecompiled(CODE
LOWpackages/engine-oniguruma/src/oniguruma/onig.ts19 function updateGlobalBufferAndViews(buf: ArrayBuffer): void {CODE
LOWpackages/engine-oniguruma/src/oniguruma/index.ts375function isInstantiatorOptionsObject(dataOrOptions: any): dataOrOptions is { instantiator: WebAssemblyInstantiator } {CODE
LOWpackages/twoslash/src/renderer-rich.ts197function renderMarkdownPassThrough(markdown: string): ElementContent[] {CODE
LOWpackages/twoslash/src/renderer-rich.ts717export function defaultHoverInfoProcessor(type: string): string {CODE
Cross-Language Confusion (JS/TS)2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHpackages/core/src/utils/strings.test.ts222print("hello")CODE
HIGHpackages/shiki/test/shorthands-markdown.test.ts27print("hello")CODE
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippetContext
LOWpackages/monaco/test/repro.test.ts81COMMENT
LOWpackages/monaco/test/repro.test.ts101 // So if both themes map `keyword` to some color, `scopes` should be `keyword`.COMMENT
LOWpackages/monaco/test/repro.test.ts121COMMENT