Firefox user.js for optimal privacy and security. Your favorite browser, but better.
This report presents the forensic synthetic code analysis of yokoffing/Betterfox, a JavaScript project with 10,627 GitHub stars. SynthScan v2.0 examined 4,214 lines of code across 13 source files, recording 136 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 25.3 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 136 distinct pattern matches across 5 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 | Fastfox.js | 21 | // [4] https://reddit.com/r/browsers/s/wvNB7UVCpx | COMMENT |
| LOW | Fastfox.js | 41 | COMMENT | |
| LOW | Fastfox.js | 61 | //user_pref("content.switch.threshold", 300000); // HIDDEN; default= 750000; alt=500000 | COMMENT |
| LOW | Fastfox.js | 81 | // false=Tabs begin to load immediately. | COMMENT |
| LOW | Fastfox.js | 101 | //user_pref("gfx.webrender.compositor", true); // DEFAULT WINDOWS macOS | COMMENT |
| LOW | Fastfox.js | 121 | // by utilizing WebGL instead of relying upon Direct2D. | COMMENT |
| LOW | Fastfox.js | 141 | // Lowering this from 100 to 50 promotes "warm" functions to compiled machine code | COMMENT |
| LOW | Fastfox.js | 161 | // Power users with many cores should LOWER this value, not raise it. | COMMENT |
| LOW | Fastfox.js | 181 | // PREF: cache memory pool | COMMENT |
| LOW | Fastfox.js | 201 | // When the memory pool becomes full, the oldest data is purged. By default, | COMMENT |
| LOW | Fastfox.js | 221 | //user_pref("browser.cache.check_doc_frequency", 3); // DEFAULT | COMMENT |
| LOW | Fastfox.js | 241 | // -1 = makes page load times marginally longer when a page is being loaded for the first time, while | COMMENT |
| LOW | Fastfox.js | 261 | // -1 = Automatically decide the maximum memory to use to cache decoded images, | COMMENT |
| LOW | Fastfox.js | 281 | //user_pref("browser.sessionstore.max_entries", 10); // [HIDDEN OR REMOVED] | COMMENT |
| LOW | Fastfox.js | 301 | // Disabling MSE allows videos to fully buffer, but you're limited to 720p. | COMMENT |
| LOW | Fastfox.js | 321 | //user_pref("image.mem.max_decoded_image_kb", 512000); // 500MB [HIDDEN OR REMOVED?] | COMMENT |
| LOW | Fastfox.js | 341 | user_pref("network.buffer.cache.size", 65535); // default=32768 (32 kb); 262144 too large | COMMENT |
| LOW | Fastfox.js | 361 | // may provide a small speed boost when loading pages with lots of requests. | COMMENT |
| LOW | Fastfox.js | 381 | COMMENT | |
| LOW | Fastfox.js | 401 | // Set this to some value, e.g. 4/5 of total memory available on your system: | COMMENT |
| LOW | Fastfox.js | 421 | // PREF: process count | COMMENT |
| LOW | Fastfox.js | 441 | // Web content is always isolated into its own `webIsolated` content process | COMMENT |
| LOW | Fastfox.js | 461 | // be used for sites with special isolation behavior, such as extension or | COMMENT |
| LOW | Securefox.js | 21 | // [3] https://www.reddit.com/r/firefox/comments/l7xetb/network_priority_for_firefoxs_enhanced_tracking/gle2mqn/?web2x&c | COMMENT |
| LOW | Securefox.js | 41 | //user_pref("privacy.bounceTrackingProtection.mode", 1); // [FF131+] [ETP FF133+] | COMMENT |
| LOW | Securefox.js | 61 | //user_pref("privacy.trackingprotection.allow_list.baseline.enabled", true); // [DEFAULT: true] | COMMENT |
| LOW | Securefox.js | 81 | // [2] https://www.youtube.com/watch?v=VE8SrClOTgw | COMMENT |
| LOW | Securefox.js | 101 | // [5] https://hg.mozilla.org/mozilla-central/file/tip/dom/ipc/ProcessIsolation.cpp#l53 | COMMENT |
| LOW | Securefox.js | 121 | // Alt-Svc cache, and TLS certificate cache. | COMMENT |
| LOW | Securefox.js | 141 | // [3] https://blog.mozilla.org/security/2021/01/26/supercookie-protections/ | COMMENT |
| LOW | Securefox.js | 161 | // PREF: SameSite Cookies | COMMENT |
| LOW | Securefox.js | 181 | // PREF: Hyperlink Auditing (click tracking) | COMMENT |
| LOW | Securefox.js | 201 | COMMENT | |
| LOW | Securefox.js | 221 | // Honored by many highly ranked sites [3]. | COMMENT |
| LOW | Securefox.js | 241 | // OCSP leaks your IP and domains you visit to the CA when OCSP Stapling is not available on visited host. | COMMENT |
| LOW | Securefox.js | 261 | COMMENT | |
| LOW | Securefox.js | 281 | // 2 = consult CRLite and enforce both "Revoked" and "Not Revoked" results (default) | COMMENT |
| LOW | Securefox.js | 301 | // 0=disabled, 1=allow user MiTM (such as your antivirus) (default), 2=strict | COMMENT |
| LOW | Securefox.js | 341 | COMMENT | |
| LOW | Securefox.js | 361 | // i.e. it doesn't work for HSTS discrepancies (https://subdomain.preloaded-hsts.badssl.com/) | COMMENT |
| LOW | Securefox.js | 381 | ****************************************************************************/ | COMMENT |
| LOW | Securefox.js | 401 | // [1] https://bugzilla.mozilla.org/1330882 | COMMENT |
| LOW | Securefox.js | 421 | COMMENT | |
| LOW | Securefox.js | 441 | // Firefox only saves session data when the state has changed since the last save [2]. | COMMENT |
| LOW | Securefox.js | 461 | // Favicons are stored as .ico files in profile_dir\shortcutCache. | COMMENT |
| LOW | Securefox.js | 481 | // Firefox remembers your last choices. This will reset them when you start Firefox | COMMENT |
| LOW | Securefox.js | 501 | //user_pref("privacy.cpd.offlineApps", false); // [DEFAULT] | COMMENT |
| LOW | Securefox.js | 521 | ******************************************************************************/ | COMMENT |
| LOW | Securefox.js | 541 | //user_pref("privacy.clearOnShutdown.cache", true); // [DEFAULT] | COMMENT |
| LOW | Securefox.js | 561 | // [1] https://en.wikipedia.org/wiki/Basic_access_authentication | COMMENT |
| LOW | Securefox.js | 581 | // [1] https://developer.mozilla.org/en-US/docs/Web/Performance/Speculative_loading | COMMENT |
| LOW | Securefox.js | 601 | // but page contents are not downloaded until a click on the link is registered. | COMMENT |
| LOW | Securefox.js | 621 | // PREF: DNS prefetch for HTMLAnchorElement (speculative DNS) | COMMENT |
| LOW | Securefox.js | 641 | COMMENT | |
| LOW | Securefox.js | 661 | // Enabling link prefetching allows Firefox to preload pages tagged as important. | COMMENT |
| LOW | Securefox.js | 681 | // [3] https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/fetchPriority | COMMENT |
| LOW | Securefox.js | 701 | COMMENT | |
| LOW | Securefox.js | 721 | //user_pref("security.insecure_connection_text.enabled", true); // [DEFAULT FF136+] | COMMENT |
| LOW | Securefox.js | 741 | // [1] https://reddit.com/r/firefox/comments/xkzswb/adding_firefox_search_engine_manually/ | COMMENT |
| LOW | Securefox.js | 761 | //user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); // [FF95+] | COMMENT |
| 68 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | install.py | 37 | - CMD: `pyinstaller --onefile --name install-betterfox install.py && move %cd%\\dist\\install-betterfox.exe %cd% && d | STRING |
| HIGH | install.py | 38 | - BASH: `pyinstaller --onefile --name install-betterfox install.py && && mv dist/install-betterfox.exe . && rm install | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | install.py | 81 | def _get_default_firefox_version_and_root(): | CODE |
| LOW⚡ | install.py | 96 | def _get_default_profile_folder(firefox_root): | CODE |
| LOW | install.py | 156 | def _get_latest_compatible_release(releases): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.py | 96 | CODE | |
| LOW | install.py | 124 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | install.py | 90 | except Exception: | CODE |