Use your locally running AI models to assist you in your web browsing
This report presents the forensic synthetic code analysis of n4ze3m/page-assist, a TypeScript project with 8,066 GitHub stars. SynthScan v2.0 examined 85,602 lines of code across 638 source files, recording 1154 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 16.1 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1154 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | extensions/page-action/lib/page-scripts.ts | 63 | el.getAttribute('placeholder') || | CODE |
| LOW | extensions/page-action/lib/page-scripts.ts | 205 | el.getAttribute('placeholder') || '', | CODE |
| LOW | extensions/page-action/lib/page-scripts.ts | 282 | var ATTRS = ['type', 'placeholder', 'aria-label', 'name', 'id', 'value', 'role', 'title', 'alt', 'href']; | CODE |
| LOW | src/assets/locale/sv/playground.json | 14 | "placeholder": "Skriv ett meddelande..." | CODE |
| LOW⚡ | src/assets/locale/sv/openai.json | 16 | "placeholder": "Ange leverantörsnamn" | CODE |
| LOW⚡ | src/assets/locale/sv/openai.json | 22 | "placeholder": "Ange bas-URL" | CODE |
| LOW⚡ | src/assets/locale/sv/openai.json | 27 | "placeholder": "Ange API-nyckel" | CODE |
| LOW | src/assets/locale/sv/openai.json | 70 | "placeholder": "llama3.2", | CODE |
| LOW | src/assets/locale/sv/openai.json | 75 | "placeholder": "Välj leverantör", | CODE |
| LOW | src/assets/locale/sv/openai.json | 96 | "placeholder": "Ange modellnamn", | CODE |
| LOW | src/assets/locale/sv/openai.json | 101 | "placeholder": "Ange modellavatar", | CODE |
| LOW⚡ | src/assets/locale/sv/settings.json | 80 | "placeholder": "Innehållsstorlek (standard 4028)" | CODE |
| LOW⚡ | src/assets/locale/sv/settings.json | 90 | "placeholder": "Välj en sökmotor" | CODE |
| LOW⚡ | src/assets/locale/sv/settings.json | 94 | "placeholder": "Ange Totalt Sökresultat" | CODE |
| LOW⚡ | src/assets/locale/sv/settings.json | 325 | "placeholder": "Ange Custom ursprungs-URL" | CODE |
| LOW⚡ | src/assets/locale/sv/settings.json | 335 | "placeholder": "Auktorisering" | CODE |
| LOW⚡ | src/assets/locale/sv/settings.json | 339 | "placeholder": "Bärare token" | CODE |
| LOW⚡ | src/assets/locale/sv/settings.json | 372 | "placeholder": "Välj en modell" | CODE |
| LOW⚡ | src/assets/locale/sv/settings.json | 376 | "placeholder": "Ange chunkstorlek", | CODE |
| LOW⚡ | src/assets/locale/sv/settings.json | 381 | "placeholder": "Ange chunköverlapp", | CODE |
| LOW⚡ | src/assets/locale/sv/settings.json | 386 | "placeholder": "Ange standardgräns för filuppladdning (t.ex. 10)", | CODE |
| LOW⚡ | src/assets/locale/sv/settings.json | 391 | "placeholder": "Ange antal hämtade dokument", | CODE |
| LOW⚡ | src/assets/locale/sv/settings.json | 396 | "placeholder": "Ange separator (t.ex. \\n\\n)", | CODE |
| LOW | src/assets/locale/sv/settings.json | 8 | "placeholder": "Välj ett språk" | CODE |
| LOW | src/assets/locale/sv/settings.json | 12 | "placeholder": "Välj ett språk" | CODE |
| LOW | src/assets/locale/sv/settings.json | 106 | "placeholder": "Ange din Brave API-nyckel" | CODE |
| LOW | src/assets/locale/sv/settings.json | 144 | "placeholder": "Välj en leverantör" | CODE |
| LOW | src/assets/locale/sv/settings.json | 148 | "placeholder": "Välj en röst" | CODE |
| LOW | src/assets/locale/sv/settings.json | 161 | "placeholder": "Ange automatisk stopptidsgräns i millisekunder" | CODE |
| LOW | src/assets/locale/sv/settings.json | 195 | "placeholder": "Ange Modellnamn", | CODE |
| LOW | src/assets/locale/sv/settings.json | 240 | "placeholder": "Min fantastiska instruktion", | CODE |
| LOW | src/assets/locale/sv/settings.json | 245 | "placeholder": "Ange instruktion", | CODE |
| LOW | src/assets/locale/sv/settings.json | 279 | "placeholder": "Ange Sidans Delnings-URL", | CODE |
| LOW | src/assets/locale/sv/settings.json | 312 | "placeholder": "Ange Ollama URL" | CODE |
| LOW | src/assets/locale/sv/common.json | 22 | "placeholder": "Ange chattitel", | CODE |
| LOW | src/assets/locale/sv/common.json | 27 | "placeholder": "Ange ditt namn", | CODE |
| LOW | src/assets/locale/sv/common.json | 48 | "placeholder": "Skriv ett meddelande..." | CODE |
| LOW⚡ | src/assets/locale/sv/common.json | 64 | "placeholder": "Ange Keep Alive varaktighet (t.ex. 5m, 10m, 1h)" | CODE |
| LOW⚡ | src/assets/locale/sv/common.json | 68 | "placeholder": "Ange temperaturvärde (t.ex. 0.7, 1.0)" | CODE |
| LOW⚡ | src/assets/locale/sv/common.json | 72 | "placeholder": "Ange kontextfönsterstorlek (standard: 2048)" | CODE |
| LOW⚡ | src/assets/locale/sv/common.json | 76 | "placeholder": "Ange Max antal tokens värde (t.ex. 2048, 4096)" | CODE |
| LOW⚡ | src/assets/locale/sv/common.json | 80 | "placeholder": "Ange frövärde (t.ex. 1234)", | CODE |
| LOW⚡ | src/assets/locale/sv/common.json | 85 | "placeholder": "Ange Topp K värde (t.ex. 40, 100)" | CODE |
| LOW⚡ | src/assets/locale/sv/common.json | 89 | "placeholder": "Ange Topp P värde (t.ex. 0.9, 0.95)" | CODE |
| LOW⚡ | src/assets/locale/sv/common.json | 93 | "placeholder": "Ange antal lager att skicka till GPU(s)" | CODE |
| LOW⚡ | src/assets/locale/sv/common.json | 97 | "placeholder": "Ange systemprompt", | CODE |
| LOW | src/assets/locale/sv/knowledge.json | 28 | "placeholder": "Ange kunskapstitel", | CODE |
| LOW | src/assets/locale/he/playground.json | 14 | "placeholder": "הקלד הודעה..." | CODE |
| LOW⚡ | src/assets/locale/he/openai.json | 17 | "placeholder": "הזן שם ספק" | CODE |
| LOW⚡ | src/assets/locale/he/openai.json | 23 | "placeholder": "הזן כתובת URL בסיסית" | CODE |
| LOW⚡ | src/assets/locale/he/openai.json | 28 | "placeholder": "הזן מפתח API" | CODE |
| LOW | src/assets/locale/he/openai.json | 72 | "placeholder": "deepseek-v3.1", | CODE |
| LOW | src/assets/locale/he/openai.json | 77 | "placeholder": "בחר ספק", | CODE |
| LOW | src/assets/locale/he/openai.json | 98 | "placeholder": "הזן שם מודל", | CODE |
| LOW | src/assets/locale/he/openai.json | 103 | "placeholder": "הזן כתובת URL של אוואטר המודל", | CODE |
| LOW⚡ | src/assets/locale/he/settings.json | 141 | "placeholder": "גודל תוכן (ברירת מחדל 4028)" | CODE |
| LOW⚡ | src/assets/locale/he/settings.json | 151 | "placeholder": "בחר מנוע חיפוש" | CODE |
| LOW⚡ | src/assets/locale/he/settings.json | 155 | "placeholder": "הזן סה\"כ תוצאות חיפוש" | CODE |
| LOW⚡ | src/assets/locale/he/settings.json | 167 | "placeholder": "הזן את מפתח ה-API של Brave" | CODE |
| LOW⚡ | src/assets/locale/he/settings.json | 171 | "placeholder": "הזן את מפתח ה-API של Tavily" | CODE |
| 1083 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | extensions/page-action/lib/consent.ts | 10 | async function getStoredAllowedExtensions(): Promise<string[]> { | CODE |
| LOW | src/chain/chat-with-website.ts | 24 | export function groupMessagesByConversation(messages: ChatHistory) { | CODE |
| LOW | src/models/CustomChatOpenAI.ts | 54 | function extractGenericMessageCustomRole(message: ChatMessage) { | CODE |
| LOW | src/models/CustomChatOpenAI.ts | 88 | function openAIResponseToChatMessage( | CODE |
| LOW | src/models/CustomChatOpenAI.ts | 218 | function convertMessagesToOpenAIParams( | CODE |
| LOW | src/models/CustomChatOpenAI.ts | 1098 | function isStructuredOutputMethodParams( | CODE |
| LOW | src/models/CustomAIMessageChunk.ts | 86 | function isAiMessageChunkFieldsList( | CODE |
| LOW | src/models/CustomChatAnthropic.ts | 79 | function convertMessagesToAnthropicFormat(messages: BaseMessage[]): Array<any> { | CODE |
| LOW | src/models/utils/openai.ts | 33 | export function formatToOpenAIAssistantTool(tool: StructuredToolInterface) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/sidebar/chat-with-website.md | 13 | ## How to disable RAG for Chat With Website | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/hooks/chat-modes/ragMode.ts | 181 | mode: "rag", | COMMENT |