AI Slop Code Risk Monitor

basketikun/infinite-canvas

SlopCodeMonitor badge for basketikun/infinite-canvas Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

面向 AI 创作的开源无限画布工作台,集成 AI 生图、参考图编辑、视频生成、Agent 智能助手、画布编排、对话创作、提示词库与素材管理等能力,支持可视化创作流程与多 Agent 协同工作。兼容 OpenAI 接口生态,支持 chatgpt2api、grok2api、flow2api、newapi 等渠道接入。

0.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for basketikun/infinite-canvas, a TypeScript project with 9,481 GitHub stars. SynthScan examined 88,229 lines of code across 422 source files, recording 64 pattern matches distributed across 4 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.

0.8
Adjusted Signal
0.8
Raw Pattern Score
100%
Time Factor
2026-10-25
Last Push
9.5K
Stars
TypeScript
Language
88.2K
Lines of Code
422
Files
64
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.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 3.5/100 · LOW

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

PR Review Velocity Impact 3.7/100 · LOW

Which changes need focused human review? 64 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 1LOW 63

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 64 distinct pattern matches across 4 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 Identifiers61 hits · 62 pts
SeverityFileLineSnippetContext
LOWweb/src/stores/use-config-store.ts187export function resolveModelForCapability(config: AiConfig, currentModel: string | undefined, capability: ModelCapabilitCODE
LOWweb/src/stores/use-config-store.ts200export function selectableModelsByCapability(config: AiConfig, capability?: ModelCapability) {CODE
LOWweb/src/stores/use-config-store.ts419export function normalizeModelOptionValue(value: string | undefined, channels: ModelChannel[]) {CODE
LOWweb/src/stores/use-config-store.ts438export function resolveModelRequestConfig(config: AiConfig, value: string) {CODE
LOWweb/src/stores/use-config-store.ts474export function defaultBaseUrlForApiFormat(apiFormat: ApiCallFormat) {CODE
LOWweb/src/components/video-settings-panel.tsx137export function normalizeVideoResolutionValue(value: string) {CODE
LOWweb/src/components/ui/animated-theme-toggler.tsx25function getThemeTransitionClipPaths(variant: TransitionVariant, cx: number, cy: number, maxRadius: number, viewportWidtCODE
LOWweb/src/components/layout/app-config-modal.tsx42function createWebdavDomainProgress(): Record<AppSyncDomainKey, WebdavDomainProgress> {CODE
LOWweb/src/components/agent/agent-event-formatters.ts60export function agentMessageToChatMessage(item: AgentChatItem, endpoint: string, token: string) {CODE
LOWweb/src/components/agent/agent-event-formatters.ts64export function agentAttachmentToChatAttachment(item: AgentMessageAttachment, endpoint: string, token: string): AgentChaCODE
LOWweb/src/components/agent/agent-event-formatters.ts491export function promptWithCanvasReferences(text: string, references: CanvasResourceReference[]) {CODE
LOWweb/src/components/agent/agent-event-formatters.ts569function mergeLocalMessageMetadata(current: AgentChatItem, incoming: AgentChatItem) {CODE
LOWweb/src/components/agent/local-agent-panel.tsx93function authoritativeHistoryTurnKeys(threadId: string, settledTurnIds: string[]) {CODE
LOWweb/src/components/agent/local-agent-panel.tsx101function conversationBootstrapView(conversation: AgentConversationState) {CODE
LOWweb/src/components/agent/local-agent-panel.tsx1554async function createMessageAttachmentMetadata(item: AgentAttachment) {CODE
LOW…rc/components/agent/agent-canvas-reference-preview.tsx8export function AgentCanvasReferencePreview({ reference, previewUrl, previewText, theme }: { reference: AgentCanvasReferCODE
LOWweb/src/components/canvas/canvas-node-generation.ts40export function buildNodeGenerationContext(nodeId: string, nodes: CanvasNodeData[], connections: CanvasConnection[], proCODE
LOWweb/src/components/canvas/canvas-node-generation.ts66function buildComposerGenerationContext(inputs: NodeGenerationInput[], prompt: string): NodeGenerationContext {CODE
LOWweb/src/components/canvas/canvas-node-generation.ts128export function buildNodeGenerationInputs(nodeId: string, nodes: CanvasNodeData[], connections: CanvasConnection[]): NodCODE
LOWweb/src/components/canvas/canvas-node-generation.ts143function readNodeGenerationResource(node: CanvasNodeData): NodeGenerationResourceInput[] {CODE
LOWweb/src/components/canvas/canvas-node-generation.ts159export function buildNodeResponseMessages(context: NodeGenerationContext): AiTextMessage[] {CODE
LOWweb/src/components/canvas/canvas-node-generation.ts172export async function hydrateNodeGenerationContext(context: NodeGenerationContext) {CODE
LOW…rc/components/canvas/canvas-audio-settings-popover.tsx21export function CanvasAudioSettingsPopover({ config, onConfigChange, buttonClassName, placement = "topLeft" }: CanvasAudCODE
LOW…rc/components/canvas/canvas-video-settings-popover.tsx18export function CanvasVideoSettingsPopover({ config, onConfigChange, buttonClassName, placement = "topLeft" }: CanvasVidCODE
LOW…b/src/components/canvas/canvas-image-toolbar-tools.tsx148export function normalizeImageQuickToolIds(value: unknown[]) {CODE
LOW…b/src/components/canvas/canvas-image-toolbar-tools.tsx154export function readImageQuickToolsConfig(value: unknown): ImageQuickToolsConfig {CODE
LOW…src/components/canvas/canvas-text-settings-popover.tsx21export function CanvasTextSettingsPopover({ config, onConfigChange, count, onCountChange, buttonClassName, placement = "CODE
LOW…rc/components/canvas/canvas-delete-projects-dialog.tsx8export function CanvasDeleteProjectsDialog() {CODE
LOW…rc/components/canvas/canvas-image-settings-popover.tsx23export function CanvasImageSettingsPopover({ config, onConfigChange, onOpenChange, buttonClassName, placement = "topLeftCODE
LOW…components/canvas/canvas-resource-mention-textarea.tsx25export const CanvasResourceMentionTextarea = forwardRef<HTMLTextAreaElement, Props>(function CanvasResourceMentionTextarCODE
LOW…src/components/canvas/canvas-node-mask-edit-dialog.tsx383function configurePreviewStrokeContext(context: CanvasRenderingContext2D, stroke: MaskStroke) {CODE
LOWweb/src/lib/image-reference-prompt.ts9export function buildImageReferencePromptText(prompt: string, references: ReferenceImage[]) {CODE
LOWweb/src/lib/audio-generation.ts30export function normalizeAudioFormatValue(value: string) {CODE
LOWweb/src/lib/agent/agent-site-tools.ts119function normalizeCanvasGenerationStatus(status: unknown): GenerationStatus | null {CODE
LOWweb/src/lib/canvas/canvas-node-geometry.ts134export function getConnectionTargetAnchor(node: CanvasNodeData, current: ConnectionHandle) {CODE
LOW⚡web/src/lib/canvas/canvas-resource-references.ts21export function buildNodeMentionReferences(node: CanvasNodeData, nodes: CanvasNodeData[], connections: CanvasConnection[CODE
LOW⚡web/src/lib/canvas/canvas-resource-references.ts25export function buildCanvasResourceReferences(nodes: CanvasNodeData[]) {CODE
LOW⚡web/src/lib/canvas/canvas-resource-references.ts29export async function resolveCanvasReferenceImages(references: CanvasResourceReference[], nodes: CanvasNodeData[]) {CODE
LOWweb/src/lib/canvas/canvas-resource-references.ts62export function getGenerationResourceNodes(nodeId: string, nodes: CanvasNodeData[], connections: CanvasConnection[]) {CODE
LOWweb/src/lib/canvas/canvas-resource-references.ts77function getConnectedConfigInputNodes(nodeId: string, nodes: CanvasNodeData[], connections: CanvasConnection[]) {CODE
LOWweb/src/lib/canvas/canvas-generation-helpers.ts33export async function resolveMetadataReferences(metadata: CanvasNodeMetadata) {CODE
LOWweb/src/lib/canvas/canvas-generation-helpers.ts130export function resetInterruptedGeneration(nodes: CanvasNodeData[]) {CODE
LOWweb/src/lib/canvas/canvas-generation-helpers.ts167export function sourceNodeReferenceImages(node: CanvasNodeData | null) {CODE
LOWweb/src/lib/canvas/canvas-node-factory.ts43export function buildImageGenerationMetadata(type: CanvasImageGenerationType, config: AiConfig, count: number, referenceCODE
LOWweb/src/lib/canvas/canvas-node-factory.ts55export function buildAudioGenerationMetadata(config: AiConfig): CanvasNodeMetadata {CODE
LOWweb/src/services/webdav-sync.ts56async function ensureWebdavDirectoryPath(config: WebdavSyncConfig, directory: string) {CODE
LOWweb/src/services/api/image.ts430function consumeResponseStreamBlock(block: string, state: ResponseStreamState, onDelta?: (text: string) => void) {CODE
LOWweb/src/services/api/image.ts457function consumeResponseStreamText(state: ResponseStreamState, text: string, onDelta?: (text: string) => void, flush = fCODE
LOWweb/src/services/api/image.ts579async function requestGeminiStreamingResponse(config: AiConfig, body: Record<string, unknown>, onDelta?: (text: string) CODE
LOWweb/src/services/api/video.ts50export async function waitForVideoGenerationTask(config: AiConfig, task: VideoGenerationTask, options?: RequestOptions):CODE
LOWweb/src/services/api/video.ts72export async function createVideoGenerationTask(config: AiConfig, prompt: string, references: ReferenceImage[] = [], optCODE
LOWweb/src/services/api/canvas-agent.ts83export function resolveAgentMessageAssetUrl(endpoint: string, token: string, value: string) {CODE
LOWweb/src/services/api/prompts.ts106function getOrStartRefresh(source: PromptSource) {CODE
LOWweb/src/services/api/prompts.ts187export async function fetchPromptSourceStatuses(): Promise<Record<string, PromptSourceStatus>> {CODE
LOWdocs/src/lib/search-tokenizer.ts32export function createDocsSearchTokenizer(): OramaTokenizer {CODE
LOWcanvas-agent/src/agent/codex-client.ts831function normalizeCodexNotification(method: string, params: JsonRecord): AgentEvent | null {CODE
LOWcanvas-agent/src/agent/codex.ts246async function generateCodexSkillDraftNow(emit: AgentEmit, cwd: string, input: CodexSkillDraftInput) {CODE
LOWcanvas-agent/src/agent/codex.ts420export function assertDraftHasNoSensitiveValues(draft: AgentSkillDraft, privateValues: string[]) {CODE
LOWcanvas-agent/src/agent/codex-history.ts280function removeCorruptedHistoryDuplicates(items: unknown[], supplementalItems: CodexSupplementalHistoryItem[]) {CODE
LOWcanvas-agent/src/agent/codex-history.ts355function compareSupplementalEntries(left: CodexSupplementalHistoryItem & { fallbackIndex: number }, right: CodexSupplemeCODE
1 more matches not shown…
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMweb/package-lock.json15903 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWplugins/canvas/sdk/src/types.ts1// Infinite Canvas 插件公共契约类型。COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcanvas-agent/codex-server.md1825 "email": "user@example.com",CODE