Is 元器件库存及价格全网搜 safe?
元器件库存及价格全网搜 is medium risk.
The extension installs network rules, opens tabs and fills search pages using instructions fetched from files.xiaolvji.com.
This electronic-component stock and price search tool downloads its configuration from files.xiaolvji.com on a recurring basis. That configuration supplies declarativeNetRequest rules that are applied on all sites during multi-search, URLs that are opened as background tabs, and selectors used to fill inputs and click elements in search tabs. None of these server-supplied values are checked against an allowlist.
Strong link to a flagged operator: 2 of the 10 other listings from the same operator are rated high or critical for malicious behavior. Flagged: 网盘资源全网搜 (high), 电子书全网搜 (high).
Who publishes itTianWangLiJing - 10 other listings from the same operator, 6 of them carrying a finding
TianWangLiJing - 10 other listings from the same operator, 6 of them carrying a finding
Same store account
10 other listings published from this account, 20k+ users between them. 6 of them carry a finding.
元器件库存及价格全网搜 findings
Search extension installs server-supplied network rules on all sites per search
Code analysis shows rules fetched from files.xiaolvji.com are installed verbatim as dynamic network rules on all sites before each multi-search, then cleared about 20 seconds later.
What actually happens
You run a multi-search from the popup or keyboard shortcut.
The extension installs network rules it downloaded from files.xiaolvji.com, on every site.
Rules are cleared again about 20 seconds later.
The code that does this
Rule list built from server config, then installed
csl and engine networkRules become rules; only id and priority are overwritten
js/15.js var t = e.userConfigData.zdy; let n = []; var i, a, o = [], s = []; let r = 1; for (i of n = void 0 !== e.userConfigData.csl ? e.userConfigData.csl : n) { var c = i; if (c.id = r, c.priority = 1, void 0 !== i.condition.urlFilter && "" !== i.condition.urlFilter) { let e = !1; for (var g of o) if (g === i.condition.urlFilter) { e = !0; break } e || o.push(i.condition.urlFilter) } s.push(c), r++ } for (a of t) if ("executeScript" === a[5] && void 0 !== a[6].networkRules && Array.isArray(a[6].networkRules) && 0 < a[6].networkRules.length) for (var f of a[6].networkRules) { var u, l = f; l.id = r; let e = !(l.priority = 1); for (u of o) if (void 0 !== f.condition.urlFilter && u === f.condition.urlFilter) { e = !0; breakInstalled before the search runs
js/15.js let n = C.l, i = C.w, a = parseInt(C.r); try { se(function(t) { t && chrome.declarativeNetRequest.getDynamicRules(e => { e = e.map(e => e.id); chrome.declarativeNetRequest.updateDynamicRules({ addRules: E.ruleList, removeRuleIds: e }, () => { x(a, n, i, t, 100) })Server-controlled rule fields
- Config sourcehttps://files.xiaolvji.com/addonUpdateLast.php
Where the rules are downloaded from on each refresh.
- condition{ urlFilter, resourceTypes } (server chosen)
Which requests a rule matches. Taken from the server reply.
- action{ type } (server chosen)
What happens to matched requests, such as block, redirect or header change.
- id / priorityid: 1, priority: 1
The only fields the extension sets itself.
When this fires
When a batch threshold is hit
Rules are added before each multi-search, and removed by a timer roughly 20 seconds after the last one.
Observation
Static analysis finding. This behaviour was identified by reading the shipped extension code and has not yet been reproduced in a live run. The trigger conditions and the exact data sent are read from the code, not from an observed capture.
Search extension opens a server-chosen page in a background tab
Code analysis shows a URL and time window from files.xiaolvji.com decide an extra background tab opened in the search window, with no validation of the URL.
What actually happens
You run a multi-search across several engines.
An extra tab to a server-chosen address opens in the background of the search window.
It only opens inside a start and end time set by the server.
The code that does this
Server glj entry opened as a tab
Storing glj from the config reply
js/15.js }) : ae.remove("xl"), void 0 !== n.glj ? ae.set({ glj: n.glj }) : ae.remove("glj"), void 0 !== n.di && n.di && chrome.storage.local.set({Opening the selected entry
js/15.js ae.get(["glj"], function(e) { var t, n = (new Date).getTime(); void 0 !== e.glj && void 0 !== e.glj[V] && Array.isArray(e.glj[V]) && 0 < e.glj[V].length && (t = e.glj[V].length, e = e.glj[V][n % t]) && void 0 !== e.data && void 0 !== e.st && void 0 !== e.et && e.data && n >= e.st && n < e.et && chrome.tabs.create({ windowId: f.id, url: e.data, active: !1, index: u.length }) }), chrome.tabs.move(e[0].id, { index: -1 }, e => {Fields of a server glj entry
- datahttps://example-promo.test/landing
The address opened in the new tab. Not checked by the extension.
- st1767225600000
Start time in milliseconds; earlier than this, nothing opens.
- et1769904000000
End time in milliseconds; at or after this, nothing opens.
Observation
Static analysis finding. This behaviour was identified by reading the shipped extension code and has not yet been reproduced in a live run. The trigger conditions and the exact data sent are read from the code, not from an observed capture.
Search extension types and clicks in search tabs using server selectors
Code analysis shows selectors from files.xiaolvji.com are passed to injected scripts that fill inputs and click elements in search tabs, and may navigate the tab to a server link.
What actually happens
You search a keyword in a group that includes a scripted engine.
The opened search tab has your keyword typed in and a button clicked, using selectors the server supplied.
The script may also set the tab address to a server-provided link.
The code that does this
Server selectors passed into executeScript
Engine matched by reg_string; word and selectors returned
js/15.js if ("executeScript" == a[e][5] && void 0 !== a[e][6].reg_string && a[e][6].reg_string && 0 <= n.indexOf(a[e][6].reg_string) && void 0 !== G[a[e][0]] && G[a[e][0]]) return (s = {}).word = G[a[e][0]], s.selectors = a[e][6], G[a[e][0]] = "", s;Injection into the search tab
js/15.js if ("analogInput_init_error" === ne[i][a].status || "analogInput_init_timeOut" === ne[i][a].status) return; ["ready", "executeScripting", "analogInput_init_succes"].includes(ne[i][a].status) && (chrome.scripting.executeScript({ target: { tabId: e, frameIds: [o] }, func: d, args: [t, i, a], injectImmediately: !1Navigation to a link inside the injected function
js/15.js } }, () => { "undefined" != typeof nowProcess11186163 && null !== nowProcess11186163 || (nowProcess11186163 = !0, a("executeScript_openLink_succes"), window.location.href = e) })Values handed to the injected script
- wordbest laptop 2026
The search keyword you entered, typed into the page input.
- selectors{ input: "#kw", button: "#su" } (server chosen)
Server-supplied locators for the input and button to act on.
- reg_stringsearch.example.test/s?
Server text that decides which tab addresses are targeted.
Observation
Static analysis finding. This behaviour was identified by reading the shipped extension code and has not yet been reproduced in a live run. The trigger conditions and the exact data sent are read from the code, not from an observed capture.
Where 元器件库存及价格全网搜 sends data
- files.xiaolvji.comwidely used
Found in its code · 26 other extensions
Chrome Web Store listing
- Last updated
- January 4, 2025
- Size
- 912 KiB
