AI Slop Code Risk Monitor

miantiao-me/Sink

SlopCodeMonitor badge for miantiao-me/Sink Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

⚡ A Simple, Speedy, Secure, and Serverless Link Shortener with Analytics, Running Entirely on Cloudflare.

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for miantiao-me/Sink, a TypeScript project with 7,247 GitHub stars. SynthScan examined 85,672 lines of code across 870 source files, recording 56 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-27
Last Push
7.2K
Stars
TypeScript
Language
85.7K
Lines of Code
870
Files
56
Pattern Hits
2026-10-31
Scan Date
0.01
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? 45 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.1/100 · LOW

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

Agent Over-Engineering Ratio 2.5/100 · LOW

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

PR Review Velocity Impact 5.5/100 · LOW

Which changes need focused human review? 56 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 3HIGH 2MEDIUM 2LOW 49

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 56 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.

Hyper-Verbose Identifiers38 hits · 38 pts
SeverityFileLineSnippetContext
LOWapp/composables/useDashboardRouteState.ts18export function useDashboardAnalysisRouteState(options: { detail?: boolean } = {}) {CODE
LOWapp/composables/useDashboardRouteState.ts75export function useDashboardRealtimeRouteState() {CODE
LOWapp/composables/useDashboardRouteState.ts120export function useDashboardLinksRouteState() {CODE
LOWapp/composables/globe/useWebGLGlobe.ts336 async function flushCountryTextureUpdates() {CODE
LOWapp/composables/globe/texture.ts207export function calculateHeatmapHexDensities(CODE
LOWapp/utils/link-check.ts4export function getDashboardLinkDetailLocation(slug: string, sourceQuery?: DashboardQuery) {CODE
LOWapp/utils/link-check.ts13export function getDashboardLinkDetailUrl(slug: string): string {CODE
LOWapp/utils/link-form.ts10export function getLinkUrlValidationError(CODE
LOWapp/utils/link-form.ts27export function createLinkFormInitialValues(link: Partial<DashboardLink>): DashboardLinkFormData {CODE
LOWapp/utils/link-form.ts48export function normalizeLinkFormSubmitPayload(value: DashboardLinkFormData, isEdit: boolean) {CODE
LOWapp/components/ui/input-group/InputGroupAddon.vue14function handleInputGroupAddonClick(e: MouseEvent) {CODE
LOW…p/components/ui/message-scroller/useMessageScroller.ts188function computeScrollTopForElement({CODE
LOW…p/components/ui/message-scroller/useMessageScroller.ts602 function reanchorToAnchoredMessage(): boolean {CODE
LOW…p/components/ui/message-scroller/useMessageScroller.ts630 function flushPendingScrollToMessage(): boolean {CODE
LOW…p/components/ui/message-scroller/useMessageScroller.ts679 function applyDefaultScrollPosition(): boolean {CODE
LOW…p/components/ui/message-scroller/useMessageScroller.ts910 function setPreserveScrollOnPrepend(value: boolean) {CODE
LOW…p/components/ui/message-scroller/useMessageScroller.ts1002export function useMessageScrollerContext(): MessageScrollerContext {CODE
LOW…p/components/ui/message-scroller/useMessageScroller.ts1009export function useMessageScrollerRegister(): RegisterMessage {CODE
LOW…p/components/ui/message-scroller/useMessageScroller.ts1025export function useMessageScrollerScrollable(): Ref<MessageScrollerScrollable> {CODE
LOW…p/components/ui/message-scroller/useMessageScroller.ts1030export function useMessageScrollerVisibility(): Ref<MessageScrollerVisibilityState> {CODE
LOWapp/components/dashboard/links/Index.vue72function resetAndLoad() {CODE
LOWapp/components/dashboard/links/Link.vue39function handlePopoverCloseAutoFocus(event: Event) {CODE
LOWapp/components/dashboard/links/Link.vue44function handleDialogCloseAutoFocus(event: Event) {CODE
LOWapp/components/dashboard/links/editor/Form.vue176function getInitialAdvancedSections() {CODE
LOWapp/components/dashboard/check/ConfigForm.vue47function getNumberInputChangeValue(event: Event) {CODE
LOWtests/utils.ts111export async function expectStoredHashedPassword(slug: string, plainText: string) {CODE
LOWserver/utils/link-processing.ts83async function applyEditableLinkPassword(newLink: Link, password?: string): Promise<void> {CODE
LOWserver/utils/template.ts106export function generateUnsafeWarningHtml(slug: string, targetUrl: string, options: UnsafeWarningHtmlOptions = {}): striCODE
LOWserver/utils/link-store.ts152export function iterateAllAuthoritativeLinks(env: Cloudflare.Env): AsyncIterable<Link> {CODE
LOWserver/utils/link-password.ts103export async function normalizeLinkPasswordForStorage(password: string): Promise<string> {CODE
LOWserver/utils/link-password.ts136export async function protectLinkPasswordForExport(link: Link): Promise<Link> {CODE
LOWserver/utils/cloudflare-access.ts52export async function verifyCloudflareAccessToken(CODE
LOWserver/utils/cloudflare-access.ts93export function mapCloudflareAccessIdentity(CODE
LOWserver/utils/cloudflare-access.ts128export function isCloudflareAccessConfigured(teamDomain: string, audience: string): boolean {CODE
LOWserver/utils/cloudflare-access.ts132export function isCloudflareAccessRequestAllowed(event: H3Event): boolean {CODE
LOWserver/utils/cloudflare-access.ts150export function isCloudflareAccessRequestSafe(request: CloudflareAccessRequest): boolean {CODE
LOWserver/services/link-store/migration.ts10export async function readCompletedLinkMigrationMarker(env: Cloudflare.Env): Promise<LinkMigrationMarker | null> {CODE
LOWserver/services/link-store/d1.ts217function buildCreateLinkStatements(event: H3Event, db: ReturnType<typeof getDatabase>, link: Link): { statements: [BatchCODE
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICALserver/services/link-store/kv.ts25 const result = await event.context.cloudflare.env.KV.getWithMetadata(`link:${slug}`, { type: 'json', cacheTtl })CODE
CRITICALserver/services/link-store/kv.ts43 await event.context.cloudflare.env.KV.put(`link:${link.slug}`, JSON.stringify(link), { expiration })CODE
CRITICALserver/services/link-store/kv.ts54 await event.context.cloudflare.env.KV.delete(`link:${slug}`)CODE
Synthetic Comment Markers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdocs/faqs.md54Set `NUXT_CASE_SENSITIVE=true` and redeploy. This only affects **custom** codes; auto-generated codes stay lowercase. ExCODE
HIGHdocs/features/links.md12Leave the short code empty to generate a random lowercase one. Case-sensitive mode only affects **custom** codes: `Docs`CODE
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMworker-configuration.d.ts10498// ── Error types ──────────────────────────────────────────────────────────────COMMENT
MEDIUMworker-configuration.d.ts10519// ── Binding ──────────────────────────────────────────────────────────────────COMMENT
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOWapp/components/ui/calendar/Calendar.vue20const delegatedProps = reactiveOmit(props, "class", "layout", "placeholder")CODE
LOWapp/components/ui/calendar/Calendar.vue22const placeholder = useVModel(props, "placeholder", emits, {CODE
LOWapp/components/ui/calendar/Calendar.vue93 v-model:placeholder="placeholder"CODE
LOWapp/components/dashboard/links/editor/CountrySelect.vue52 :aria-label="placeholder"CODE
LOWapp/components/dashboard/links/editor/FieldTextarea.vue25 :placeholder="placeholder"CODE
LOWapp/components/dashboard/links/editor/FieldInput.vue32 :placeholder="placeholder"CODE
Over-Commented Block5 hits · 5 pts
SeverityFileLineSnippetContext
LOWworker-configuration.d.ts12901// PubSubMessage represents an incoming PubSub message.COMMENT
LOWworker-configuration.d.ts13021 // Note `unknown & T` is equivalent to `T`.COMMENT
LOWworker-configuration.d.ts13041 type MaybeCallableProvider<T> = T extends (...args: any[]) => any ? MethodOrProperty<T> : unknown;COMMENT
LOWworker-configuration.d.ts13061 // declaration will be merged with this one.COMMENT
LOWworker-configuration.d.ts14181 // This should be a new traceId for the first worker stage invoked in the eyeball request and thenCOMMENT