⚡ A Simple, Speedy, Secure, and Serverless Link Shortener with Analytics, Running Entirely on Cloudflare.
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 45 finding(s).
Are imports declared and package/API names verified? 9 finding(s).
Are wrappers, guards, and repeated structures necessary? 40 finding(s).
Which changes need focused human review? 56 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/composables/useDashboardRouteState.ts | 18 | export function useDashboardAnalysisRouteState(options: { detail?: boolean } = {}) { | CODE |
| LOW | app/composables/useDashboardRouteState.ts | 75 | export function useDashboardRealtimeRouteState() { | CODE |
| LOW | app/composables/useDashboardRouteState.ts | 120 | export function useDashboardLinksRouteState() { | CODE |
| LOW | app/composables/globe/useWebGLGlobe.ts | 336 | async function flushCountryTextureUpdates() { | CODE |
| LOW | app/composables/globe/texture.ts | 207 | export function calculateHeatmapHexDensities( | CODE |
| LOW | app/utils/link-check.ts | 4 | export function getDashboardLinkDetailLocation(slug: string, sourceQuery?: DashboardQuery) { | CODE |
| LOW | app/utils/link-check.ts | 13 | export function getDashboardLinkDetailUrl(slug: string): string { | CODE |
| LOW | app/utils/link-form.ts | 10 | export function getLinkUrlValidationError( | CODE |
| LOW | app/utils/link-form.ts | 27 | export function createLinkFormInitialValues(link: Partial<DashboardLink>): DashboardLinkFormData { | CODE |
| LOW | app/utils/link-form.ts | 48 | export function normalizeLinkFormSubmitPayload(value: DashboardLinkFormData, isEdit: boolean) { | CODE |
| LOW | app/components/ui/input-group/InputGroupAddon.vue | 14 | function handleInputGroupAddonClick(e: MouseEvent) { | CODE |
| LOW | …p/components/ui/message-scroller/useMessageScroller.ts | 188 | function computeScrollTopForElement({ | CODE |
| LOW | …p/components/ui/message-scroller/useMessageScroller.ts | 602 | function reanchorToAnchoredMessage(): boolean { | CODE |
| LOW | …p/components/ui/message-scroller/useMessageScroller.ts | 630 | function flushPendingScrollToMessage(): boolean { | CODE |
| LOW | …p/components/ui/message-scroller/useMessageScroller.ts | 679 | function applyDefaultScrollPosition(): boolean { | CODE |
| LOW | …p/components/ui/message-scroller/useMessageScroller.ts | 910 | function setPreserveScrollOnPrepend(value: boolean) { | CODE |
| LOW | …p/components/ui/message-scroller/useMessageScroller.ts | 1002 | export function useMessageScrollerContext(): MessageScrollerContext { | CODE |
| LOW | …p/components/ui/message-scroller/useMessageScroller.ts | 1009 | export function useMessageScrollerRegister(): RegisterMessage { | CODE |
| LOW | …p/components/ui/message-scroller/useMessageScroller.ts | 1025 | export function useMessageScrollerScrollable(): Ref<MessageScrollerScrollable> { | CODE |
| LOW | …p/components/ui/message-scroller/useMessageScroller.ts | 1030 | export function useMessageScrollerVisibility(): Ref<MessageScrollerVisibilityState> { | CODE |
| LOW | app/components/dashboard/links/Index.vue | 72 | function resetAndLoad() { | CODE |
| LOW | app/components/dashboard/links/Link.vue | 39 | function handlePopoverCloseAutoFocus(event: Event) { | CODE |
| LOW | app/components/dashboard/links/Link.vue | 44 | function handleDialogCloseAutoFocus(event: Event) { | CODE |
| LOW | app/components/dashboard/links/editor/Form.vue | 176 | function getInitialAdvancedSections() { | CODE |
| LOW | app/components/dashboard/check/ConfigForm.vue | 47 | function getNumberInputChangeValue(event: Event) { | CODE |
| LOW | tests/utils.ts | 111 | export async function expectStoredHashedPassword(slug: string, plainText: string) { | CODE |
| LOW | server/utils/link-processing.ts | 83 | async function applyEditableLinkPassword(newLink: Link, password?: string): Promise<void> { | CODE |
| LOW | server/utils/template.ts | 106 | export function generateUnsafeWarningHtml(slug: string, targetUrl: string, options: UnsafeWarningHtmlOptions = {}): stri | CODE |
| LOW | server/utils/link-store.ts | 152 | export function iterateAllAuthoritativeLinks(env: Cloudflare.Env): AsyncIterable<Link> { | CODE |
| LOW | server/utils/link-password.ts | 103 | export async function normalizeLinkPasswordForStorage(password: string): Promise<string> { | CODE |
| LOW | server/utils/link-password.ts | 136 | export async function protectLinkPasswordForExport(link: Link): Promise<Link> { | CODE |
| LOW | server/utils/cloudflare-access.ts | 52 | export async function verifyCloudflareAccessToken( | CODE |
| LOW | server/utils/cloudflare-access.ts | 93 | export function mapCloudflareAccessIdentity( | CODE |
| LOW | server/utils/cloudflare-access.ts | 128 | export function isCloudflareAccessConfigured(teamDomain: string, audience: string): boolean { | CODE |
| LOW | server/utils/cloudflare-access.ts | 132 | export function isCloudflareAccessRequestAllowed(event: H3Event): boolean { | CODE |
| LOW | server/utils/cloudflare-access.ts | 150 | export function isCloudflareAccessRequestSafe(request: CloudflareAccessRequest): boolean { | CODE |
| LOW | server/services/link-store/migration.ts | 10 | export async function readCompletedLinkMigrationMarker(env: Cloudflare.Env): Promise<LinkMigrationMarker | null> { | CODE |
| LOW | server/services/link-store/d1.ts | 217 | function buildCreateLinkStatements(event: H3Event, db: ReturnType<typeof getDatabase>, link: Link): { statements: [Batch | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | server/services/link-store/kv.ts | 25 | const result = await event.context.cloudflare.env.KV.getWithMetadata(`link:${slug}`, { type: 'json', cacheTtl }) | CODE |
| CRITICAL | server/services/link-store/kv.ts | 43 | await event.context.cloudflare.env.KV.put(`link:${link.slug}`, JSON.stringify(link), { expiration }) | CODE |
| CRITICAL | server/services/link-store/kv.ts | 54 | await event.context.cloudflare.env.KV.delete(`link:${slug}`) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/faqs.md | 54 | Set `NUXT_CASE_SENSITIVE=true` and redeploy. This only affects **custom** codes; auto-generated codes stay lowercase. Ex | CODE |
| HIGH | docs/features/links.md | 12 | Leave the short code empty to generate a random lowercase one. Case-sensitive mode only affects **custom** codes: `Docs` | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | worker-configuration.d.ts | 10498 | // ── Error types ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | worker-configuration.d.ts | 10519 | // ── Binding ────────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/components/ui/calendar/Calendar.vue | 20 | const delegatedProps = reactiveOmit(props, "class", "layout", "placeholder") | CODE |
| LOW | app/components/ui/calendar/Calendar.vue | 22 | const placeholder = useVModel(props, "placeholder", emits, { | CODE |
| LOW | app/components/ui/calendar/Calendar.vue | 93 | v-model:placeholder="placeholder" | CODE |
| LOW | app/components/dashboard/links/editor/CountrySelect.vue | 52 | :aria-label="placeholder" | CODE |
| LOW | app/components/dashboard/links/editor/FieldTextarea.vue | 25 | :placeholder="placeholder" | CODE |
| LOW | app/components/dashboard/links/editor/FieldInput.vue | 32 | :placeholder="placeholder" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | worker-configuration.d.ts | 12901 | // PubSubMessage represents an incoming PubSub message. | COMMENT |
| LOW | worker-configuration.d.ts | 13021 | // Note `unknown & T` is equivalent to `T`. | COMMENT |
| LOW | worker-configuration.d.ts | 13041 | type MaybeCallableProvider<T> = T extends (...args: any[]) => any ? MethodOrProperty<T> : unknown; | COMMENT |
| LOW | worker-configuration.d.ts | 13061 | // declaration will be merged with this one. | COMMENT |
| LOW | worker-configuration.d.ts | 14181 | // This should be a new traceId for the first worker stage invoked in the eyeball request and then | COMMENT |