uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean.
This report summarizes scanner evidence for gorhill/uBlock, a JavaScript project with 68,954 GitHub stars. SynthScan examined 257,981 lines of code across 671 source files, recording 112 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.6 (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? 100 finding(s).
Are imports declared and package/API names verified? 12 finding(s).
Are wrappers, guards, and repeated structures necessary? 77 finding(s).
Which changes need focused human review? 112 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 112 distinct pattern matches across 7 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 | platform/firefox/vapi-scripting.js | 248 | function onCreatedNavigationTarget(details) { | CODE |
| LOW | platform/mv3/make-rulesets.js | 720 | async function processGenericCosmeticFilters( | CODE |
| LOW | platform/mv3/make-rulesets.js | 888 | async function processScriptletFramework() { | CODE |
| LOW | platform/mv3/extension/js/scripting-manager.js | 366 | export async function getRegisteredContentScripts() { | CODE |
| LOW | platform/mv3/extension/js/ruleset-manager.js | 201 | export async function updateDynamicAndSessionRules() { | CODE |
| LOW | platform/mv3/extension/js/ruleset-manager.js | 440 | export async function getDefaultRulesetsFromEnv() { | CODE |
| LOW | platform/mv3/extension/js/ruleset-manager.js | 714 | async function getEnabledRulesetsDetails(stockOnly = false) { | CODE |
| LOW | platform/mv3/extension/js/action.js | 76 | export async function registerToolbarIconToggler(context) { | CODE |
| LOW | platform/mv3/extension/js/background.js | 169 | async function onPermissionGrantedThruExtension(details, origins) { | CODE |
| LOW | platform/mv3/extension/js/background.js | 186 | async function onPermissionGrantedThruBrowser(origins) { | CODE |
| LOW | platform/mv3/extension/js/ubo-parser.js | 312 | function convertInitiatorDomainsToRequestDomains(rule) { | CODE |
| LOW | platform/mv3/extension/js/filter-manager-ui.js | 90 | async function removeSelectorsFromHostname(node) { | CODE |
| LOW | platform/mv3/extension/js/filter-manager-ui.js | 107 | async function unremoveSelectorsFromHostname(node) { | CODE |
| LOW | platform/mv3/extension/js/filter-manager-ui.js | 205 | async function debounceRenderCustomFilters() { | CODE |
| LOW | platform/mv3/extension/js/picker-ui.js | 245 | function attributeNameFromSelector(part) { | CODE |
| LOW | platform/mv3/extension/js/imported-lists.js | 55 | async function scheduleImportedListsUpdate(lists) { | CODE |
| LOW | platform/mv3/extension/js/imported-lists.js | 85 | export async function updateEnabledImportedLists(toEnable, toDisable) { | CODE |
| LOW | platform/mv3/extension/js/imported-lists.js | 153 | export async function getImportedListCompiledData(listid) { | CODE |
| LOW | platform/mv3/extension/js/mode-manager.js | 304 | async function writeFilteringModeDetails(afterDetails) { | CODE |
| LOW | platform/mv3/extension/js/mode-manager.js | 383 | export async function syncWithBrowserPermissions() { | CODE |
| LOW | platform/mv3/extension/js/report.js | 69 | async function reportSpecificFilterIssue() { | CODE |
| LOW | platform/mv3/extension/js/filter-manager.js | 69 | export async function customFiltersFromHostname(hostname) { | CODE |
| LOW | platform/mv3/extension/js/filter-manager.js | 118 | export async function moveManagedCustomScriptlets() { | CODE |
| LOW | platform/mv3/extension/js/offscreen/compile-filters.js | 165 | function sanitizeCompiledCosmeticFilter(compiled) { | CODE |
| LOW | src/web_accessible_resources/google-ima-dai.js | 99 | var initializePodStreamRequest = function initializePodStreamRequest(instance, podStreamRequest) { | CODE |
| LOW | src/web_accessible_resources/google-ima-dai.js | 161 | var VideoStitcherLiveStreamRequest = function VideoStitcherLiveStreamRequest(videoStitcherLiveStreamRequest) { | CODE |
| LOW | src/web_accessible_resources/google-ima-dai.js | 170 | var VideoStitcherVodStreamRequest = function VideoStitcherVodStreamRequest(videoStitcherVodStreamRequest) { | CODE |
| LOW | src/web_accessible_resources/google-ima-dai.js | 222 | var getStoredDaiSdkFeatureFlags = function getStoredDaiSdkFeatureFlags(instance) { | CODE |
| LOW | src/web_accessible_resources/google-ima-dai.js | 267 | var hasVideoStitcherLiveIdentifiers = function hasVideoStitcherLiveIdentifiers(streamRequest) { | CODE |
| LOW | src/web_accessible_resources/google-ima-dai.js | 275 | var hasVideoStitcherVodIdentifiers = function hasVideoStitcherVodIdentifiers(streamRequest) { | CODE |
| LOW | src/web_accessible_resources/google-ima-dai.js | 388 | var createStreamDataFromResponse = function createStreamDataFromResponse(streamRequest, cuepoints, responseData) | CODE |
| LOW | src/js/scriptlet-filtering.js | 105 | function assembleIsolatedWorldWrapper(isolatedCode, options) { | CODE |
| LOW | src/js/diff-updater.js | 183 | async function fetchPatchDetailsFromCDNs(assetDetails) { | CODE |
| LOW | src/js/support.js | 230 | function reportSpecificFilterIssue() { | CODE |
| LOW | src/js/benchmarks.js | 133 | export async function benchmarkStaticNetFiltering(options = {}) { | CODE |
| LOW | src/js/benchmarks.js | 283 | export async function benchmarkDynamicNetFiltering() { | CODE |
| LOW | src/js/benchmarks.js | 310 | export async function benchmarkCosmeticFiltering() { | CODE |
| LOW | src/js/benchmarks.js | 354 | export async function benchmarkScriptletFiltering() { | CODE |
| LOW | src/js/assets.js | 614 | function updateAssetSourceRegistry(json, silent = false) { | CODE |
| LOW | src/js/static-net-filtering.js | 5672 | function parseRedirectRequestValue(directive) { | CODE |
| LOW | src/js/traffic.js | 368 | function onBeforeBehindTheSceneRequest(fctxt) { | CODE |
| LOW | src/js/resources/object-prune.js | 162 | function trustedPruneInboundObject( | CODE |
| LOW | src/js/resources/object-prune.js | 242 | function trustedPruneOutboundObject( | CODE |
| LOW | src/js/resources/json-edit.js | 118 | function trustedEditOutboundObject(propChain = '', jsonq = '') { | CODE |
| LOW | src/js/resources/json-edit.js | 551 | function trustedEditObjectOnGetter(...args) { | CODE |
| LOW | src/js/resources/json-edit.js | 654 | function trustedEditObjectOnSetter(...args) { | CODE |
| LOW | src/js/resources/json-edit.js | 902 | function trustedJsonEditXhrResponse(jsonq = '', ...args) { | CODE |
| LOW | src/js/resources/json-edit.js | 1020 | function trustedJsonEditXhrRequest(jsonq = '', ...args) { | CODE |
| LOW | src/js/resources/json-edit.js | 1142 | function trustedJsonEditFetchResponse(jsonq = '', ...args) { | CODE |
| LOW | src/js/resources/json-edit.js | 1298 | function trustedEditInboundElement(...args) { | CODE |
| LOW | src/js/resources/json-edit.js | 1351 | function trustedJsonEditFetchRequest(jsonq = '', ...args) { | CODE |
| LOW | src/js/resources/json-edit.js | 1525 | function trustedJsonlEditXhrResponse(jsonq = '', ...args) { | CODE |
| LOW | src/js/resources/json-edit.js | 1656 | function trustedJsonlEditFetchResponse(jsonq = '', ...args) { | CODE |
| LOW | src/js/resources/localstorage.js | 182 | export function trustedSetLocalStorageItem(key = '', value = '', ...varargs) { | CODE |
| LOW | src/js/resources/localstorage.js | 197 | export function trustedSetSessionStorageItem(key = '', value = '', ...varargs) { | CODE |
| LOW | src/js/resources/prevent-settimeout.js | 205 | export function preventRequestAnimationFrame( | CODE |
| LOW | src/js/resources/scriptlets.js | 1560 | function trustedReplaceFetchResponse(...args) { | CODE |
| LOW | src/js/resources/scriptlets.js | 1576 | function trustedReplaceXhrResponse( | CODE |
| LOW | src/js/resources/scriptlets.js | 1815 | function trustedReplaceOutboundText( | CODE |
| LOW | src/js/resources/scriptlets.js | 1882 | function trustedSuppressNativeMethod( | CODE |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | platform/mv3/extension/js/dnr-parser.js | 190 | rule.action.redirect.transform.queryTransform.addOrReplaceParams.push({}); | CODE |
| CRITICAL | platform/mv3/extension/js/dnr-parser.js | 197 | const item = rule.action.redirect.transform.queryTransform.addOrReplaceParams.at(-1); | CODE |
| CRITICAL | platform/mv3/extension/js/dnr-parser.js | 214 | rule.action.redirect.transform.queryTransform.removeParams.push(node.val); | CODE |
| CRITICAL | src/lib/codemirror/lib/codemirror.js | 8869 | return this.cm.display.wrapper.ownerDocument.getSelection() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/css/popup-fenix.css | 421 | flex-direction: row; | COMMENT |
| LOW | src/css/popup-fenix.css | 441 | #firewall.show3pScript.show3pFrame > div:not([data-des="*"]).is3p:not(.hasScript):not(.hasFrame) *, | COMMENT |
| LOW | src/css/popup-fenix.css | 501 | #firewall > div > span[data-acount]::before, | COMMENT |
| LOW | src/js/tab.js | 81 | })(); | COMMENT |
| LOW | src/js/tab.js | 101 | // | COMMENT |
| LOW | src/js/tab.js | 141 | COMMENT | |
| LOW | src/js/tab.js | 761 | mostRecentRootDocURL = ''; | COMMENT |
| LOW | src/js/tab.js | 881 | // | COMMENT |
| LOW | src/js/reverselookup-worker.js | 101 | // completely unaffected by reverse lookup requirements. | COMMENT |
| LOW | src/js/jsonpath.js | 161 | return JSONPath.toJSON(obj, null, ...args) | COMMENT |
| LOW | src/js/benchmarks.js | 41 | // https://cdn.cliqz.com/adblocking/requests_top500.json.gz | COMMENT |
| LOW | src/js/static-net-filtering.js | 41 | // need to be called by module clients. For now, I want modularizing with | COMMENT |
| LOW | src/js/traffic.js | 241 | COMMENT | |
| LOW | src/js/traffic.js | 321 | // +--------+--------+--------+--------| | COMMENT |
| LOW | src/js/codemirror/search.js | 1 | // The following code is heavily based on the standard CodeMirror | COMMENT |
| LOW | src/js/resources/scriptlets.js | 441 | fn: adjustSetTimeout, | COMMENT |
| LOW | src/js/scriptlets/epicker.js | 1221 | // - Install the element picker UI, and wait for the component to establish | COMMENT |
| LOW | src/lib/codemirror/lib/codemirror.js | 341 | else { bidiOther = i; } | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/tests/procedural-cosmetic-filters.html | 147 | <div class="pass"><div class="fail"><a>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo | CODE |
| LOW | docs/tests/procedural-cosmetic-filters.html | 147 | <div class="pass"><div class="fail"><a>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo | CODE |
| LOW | docs/tests/procedural-html-filters.html | 117 | <div class="pass"><div class="fail"><a>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo | CODE |
| LOW | docs/tests/procedural-html-filters.html | 117 | <div class="pass"><div class="fail"><a>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempo | CODE |
| LOW | src/js/static-filtering-parser.js | 3321 | 'part', 'placeholder', | CODE |
| LOW | src/js/cloud-ui.js | 154 | dom.attr(input, 'placeholder', self.cloud.options.defaultDeviceName); | CODE |
| LOW | src/js/i18n.js | 258 | const text = i18n$(elem.getAttribute('placeholder')); | CODE |
| LOW | src/js/i18n.js | 260 | elem.setAttribute('placeholder', text); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/js/dashboard-common.js | 34 | // Step 1: build dictionary for existing lines. | COMMENT |
| LOW | src/js/dashboard-common.js | 60 | // Step 2: use above dictionary to filter out duplicate lines. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/js/dashboard-common.js | 34 | // Step 1: build dictionary for existing lines. | COMMENT |
| LOW | src/js/dashboard-common.js | 60 | // Step 2: use above dictionary to filter out duplicate lines. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/js/assets.js | 390 | // Support the seamless loading of sublists. | COMMENT |