Is 电子书全网搜 safe?

High risk

电子书全网搜 is high risk.

电子书全网搜 fetches config from files.xiaolvji.com that sets network rules on all sites and opens extra tabs.

The extension is an e-book search tool that periodically requests a configuration from files.xiaolvji.com. That server reply supplies declarativeNetRequest rules the extension installs as dynamic rules across all sites during searches, without an action-type allowlist. It also supplies time-gated URL templates that the extension opens as extra background tabs, filled with the search keyword, when a multi-search runs.

TianWangLiJingv11.851.69.12Extension ID djifnhpemlaklmopklmapmljdgnemjmcChrome Web Store
80Risk
Who publishes it

TianWangLiJing - 10 other listings from the same operator, 6 of them carrying a finding

AI-assisted analysis.

电子书全网搜 findings

Ebook search extension installs a remote server's network rules on every site

HighunwantedCWE-829Dynamic sandbox

Code analysis shows the extension caches rule objects from files.xiaolvji.com and installs them unmodified as browser-level network rules.

What actually happens

You did this

You use the extension's batch-search feature, or simply restart the browser after having used it once.

The first use of batch-search sets a chrome.storage.local flag (cllso) that keeps rule installation active on every future service-worker start.

The extension did this

The extension installs, as a browser-wide network rule, whatever rule object the remote config server last sent, changing only a local id and priority.

The rule's match pattern and action, block, redirect, or header rewrite, come from the server response as-is and can apply to any site because host_permissions is <all_urls>.

Fields copied from the server's rule object without validation

  • Rule match pattern
    condition.urlFilter: "||ads-cdn.example/track*"

    Sets which requests, on any website, the browser-level rule matches. The extension does not check this against a domain list.

  • Rule action
    action.type: "redirect", action.redirect.url: "https://r.example.net/go"

    Controls what the browser does to a matching request: block it, redirect it, or rewrite headers. No action type is filtered out.

  • Resource types covered
    condition.resourceTypes: ["main_frame", "script", "xmlhttprequest"]

    Sets which kinds of browser activity the rule applies to, such as page loads, scripts, or background requests.

  • Fields the extension itself sets
    id: 4, priority: 1

    The only two fields the extension changes locally before installing the rule; everything else is the server's value verbatim.

The code that does this

Rule objects are copied from the cached config with no field-level check

Readable version
const R = () => {  re(function (e) {    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; break; }          e || (o.push(f.condition.urlFilter), s.push(l), r++);        }    E = { nameList: o, ruleList: s };  });};R();let U = !1;chrome.storage.local.get("cllso", e => {  if (e && void 0 !== e.cllso && !0 === e.cllso) {    U = !0;    try {      chrome.declarativeNetRequest.getDynamicRules(e => {        e = e.map(e => e.id);        chrome.declarativeNetRequest.updateDynamicRules({          addRules: E.ruleList,          removeRuleIds: e        });      });    } catch (e) {}  }});

Where the rule content originates

    • files.xiaolvji.com

    Config server the extension polls for updates; its JSON response's csl array supplies the declarativeNetRequest rule objects installed browser-wide.

Check if you're affected

Lists every declarativeNetRequest dynamic rule currently installed by the extension, so you can see exactly which URL patterns and actions the remote config server currently controls on your browser.

Requires
  • Chrome, extension installed and enabled
list-active-dnr-rules.js · js
// Run in the extension's service-worker DevTools console// (chrome://extensions -> enable Developer mode -> "service worker" link// under this extension's card).chrome.declarativeNetRequest.getDynamicRules((rules) => {  console.log(`${rules.length} dynamic rule(s) installed:`);  for (const rule of rules) {    console.log(JSON.stringify({      id: rule.id,      priority: rule.priority,      condition: rule.condition,      action: rule.action    }, null, 2));  }});
How to run it
  1. 1Open chrome://extensions, enable Developer mode.
  2. 2On this extension's card, click "service worker".
  3. 3Paste the script, press Enter.
  4. 4Each printed rule's urlFilter/action came from files.xiaolvji.com, not this browser.

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.

Ebook search extension sends your literal search text to its own server

HighunwantedCWE-200Dynamic sandbox

We observed this extension send your exact search text to its own domain, www.xiaolvji.com, in a request that fires alongside the tabs it opens for the actual search engines you searched.

What actually happens

You did this

You select text on a page and run this extension's multi-engine batch search feature.

The extension did this

The extension sends your exact search text to its own server, www.xiaolvji.com, in a request that runs in parallel with the search-engine tabs it opens.

Which engines trigger this depends on a list the extension fetches from the vendor's own config server at runtime.

Query parameters on the vendor request

  • Search text
    usb charging cable review

    Your literal search text, URL-encoded.

  • Group/engine ID
    2

    An ID for the search-engine group the vendor's remote config assigned.

  • Session token
    1ruet5n

    A per-session token shared with a companion attribution request.

  • Integrity hash
    tMpPUA

    A short hash derived from your search text and the timestamp below.

  • Timestamp
    1788826736646

    Unix time in milliseconds when the request was built.

The code that does this

Per-engine dispatch: url opens the engine directly, router_url sends the keyword to the vendor first

Readable version
"url" == engineType ? chrome.tabs.query({ active: true, currentWindow: true }, function (tabs) {  var enc1 = encodeURIComponent(keyword),    enc2 = encodeURIComponent(enc1),    destUrl = engineData[4].replaceAll("%ds", enc2).replaceAll("%s", enc1);  chrome.tabs.create({ url: destUrl, index: tabs[0].index + 1, active: r });}) : "executeScript" == engineType ? ( /* runs a content script on the engine's own page */ ) : "router_url" == engineType && chrome.tabs.query({ active: true, currentWindow: true }, function (tabs) {  let text = keyword;  "" === keyword && (text = "typenosearchkeyword");  var encKeyword = encodeURIComponent(text),    timestamp = (new Date).getTime(),    hash = ce(encKeyword, timestamp, 8),    vendorUrl = "https://www.xiaolvji.com/linkaddon.php?sid=" + engineData[4] + "&key=" + encKeyword + "&ssid=" + hash + "&tn=" + timestamp;  chrome.tabs.create({ url: vendorUrl, index: tabs[0].index + 1, active: r });});

Third-party destinations

    • www.xiaolvji.com

    Receives your literal search text in a request that fires alongside every batch search; run by the same company as this extension.

    • files.xiaolvji.com

    Serves the remote list of search engines and decides which of them route your search text through the host above.

Extension installs network rules sent by files.xiaolvji.com on all sites

HighunwantedCWE-829Dynamic sandbox

We saw it fetch rules from files.xiaolvji.com that remove security and frame headers on all sites, and then install them as browser network rules.

What actually happens

You did this

You run a multi-engine search from the extension popup.

The extension did this

The extension installs network rules that came from a remote server, covering every site.

The rules are cleared again shortly afterwards.

Captured request

POSThttps://files.xiaolvji.com/addonUpdateLast.php

HTTP 200 JSON. config.userConfigData.csl held a modifyHeaders rule removing X-Frame-Options, Cross-Origin-Embedder-Policy, Cross-Origin-Opener-Policy, Cross-Origin-Resource-Policy, Content-Security-Policy-Report-Only and Content-Security-Policy on all resource types (no urlFilter), plus a rule setting Sec-Fetch-Dest and Sec-Fetch-Site for www.meta.ai.

Headers
Content-Type
application/x-www-form-urlencoded; charset=UTF-8
Body
type=ebook&ctype=new&lang=zh_CN&version=2024011500&cver=835067&tn=1792726225208&ssid=ZWJvb2s%3D

The code that does this

Config fetch and storage of server reply

Readable version

Same code as shipped in the readable build

js/15.js
        })), void 0 !== n.news ? oe.set({          news: n.news        }) : oe.remove("news"), void 0 !== n.ll ? oe.set({          ll: n.ll        }) : oe.remove("ll"), void 0 !== n.xl ? oe.set({          xl: n.xl        }) : oe.remove("xl"), void 0 !== n.glj ? oe.set({          glj: n.glj        }) : oe.remove("glj"), void 0 !== n.di && n.di && chrome.storage.local.set({

The code that does this

Rule list built from server data, no allowlist

Readable version

Rules copied from csl and networkRules, only id and priority set

js/15.js
      const R = () => {        re(function(e) {          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;                    break

The code that does this

Rules passed to declarativeNetRequest

Readable version

updateDynamicRules receives E.ruleList as is

js/15.js
            chrome.declarativeNetRequest.getDynamicRules(e => {              e = e.map(e => e.id);              chrome.declarativeNetRequest.updateDynamicRules({                addRules: E.ruleList,                removeRuleIds: e              })            })          } catch (e) {}        }      });      const O = () => {        if (!U) try {          var t = setTimeout(() => {            var e = (new Date).getTime();            f <= e - 1e4 ? chrome.declarativeNetRequest.getDynamicRules(e => {              e = e.map(e => e.id);              chrome.declarativeNetRequest.updateDynamicRules({                addRules: [],                removeRuleIds: e

Where the rules come from

    • files.xiaolvji.com

    Serves addonUpdateLast.php, whose reply supplies the rule lists the extension installs.

+1 more finding not shown

What 电子书全网搜 can do

Permissions this extension asks for, as declared in version 11.851.69.12. Asking for a permission is not a finding on its own - it is what the extension can do if it chooses to.

  • Read and change your data on every site you visit

    <all_urls>

  • Act on the current tab, but only after you click the extension

    activeTab

  • See the address and title of every tab you have open

    tabs

  • Add items to the right-click menu

    contextMenus

  • Run its own code inside the pages you visit

    scripting

  • Store data in your browser

    storage

  • Block and redirect the requests your browser makes

    declarativeNetRequest

电子书全网搜 version history

  1. 11.829.67.12

    Apr 11, 2026

  2. 11.851.69.12

    Oct 17, 2026

Where 电子书全网搜 sends data

  • files.xiaolvji.com/addonUpdateLast.php2 calls

    From its background script · also found in its code · 14 other extensions

Chrome Web Store listing

Versions
11.851.69.12 latest of 2 seen since April 11, 2026
Store rating
4.5 from 11 ratings
Last updated
June 30, 2026
Size
1.06 MiB
Updated November 20, 2026