Is Todo Tab safe?

Medium risk

Todo Tab sends Amazon search terms and discounted product URLs to Google Analytics with a persistent client ID.

When you use Amazon pages, Todo Tab extracts the search keyword from Amazon search URLs and sends it to Google Analytics with an extension-generated client ID stored locally. For qualifying discounted results, it also sends the Amazon product URL to Google Analytics.

27AE60v3.0.0Chrome Web Store
45Risk

AI-generated. Findings may contain errors. Those marked Verified have been manually reviewed.

Publishers can request a review.

Findings

Amazon searches and product URLs go to Google Analytics under a persistent ID

MediumunwantedCWE-359Dynamic sandbox

On every Amazon search page, the extension sends the search term and discounted product URLs to Google Analytics with a stored random ID.

What actually happens

You did this

You search for a product on an Amazon site, for example amazon.com/s?k=usb+cable.

The extension did this

The extension posts your search term and a persistent ID to Google Analytics, then sends the URL of each discounted product it finds.

Observed during dynamic analysis, fired automatically on page load.

Captured request

POSThttps://www.google-analytics.com/mp/collect?measurement_id=G-LS2GGKD5M0&api_secret=<redacted>

HTTP 204, no body.

Body
{  "client_id": "57fa62fb-13d7-4b2e-a473-c04ef25838fa",  "events": [    {      "name": "amazon_search",      "params": {        "extension_version": "3.0.0",        "search_term": "usb cable",        "market": "amazon.com"      }    }  ]}

Captured request

POSThttps://www.google-analytics.com/mp/collect?measurement_id=G-LS2GGKD5M0&api_secret=<redacted>

HTTP 204, no body.

Body
{  "client_id": "57fa62fb-13d7-4b2e-a473-c04ef25838fa",  "events": [    {      "name": "discount_found",      "params": {        "extension_version": "3.0.0",        "discount_percent": 25,        "discount_fixed": "",        "currency": "$",        "product_url": "https://www.amazon.com/dp/B0D2XWSJ1Q"      }    }  ]}

The code that does this

Analytics client and the search-page handler that calls it

Readable version

Formatted analytics class

extracted/background.js
class Q {    static getCredentials() {        const e = j.ga4ProdMeasurementId,            t = j.ga4ProdApiSecret;        return e && t && !e.startsWith("G-XXX") ? {            measurementId: e,            apiSecret: t        } : null    }    static async getClientId() {        let e = (await chrome.storage.local.get("ga_client_id")).ga_client_id;        return e || (e = self.crypto.randomUUID(), await chrome.storage.local.set({            ga_client_id: e        })), e    }    static async fireEvent(e, t = {}) {        try {            const n = this.getCredentials();            if (!n) return;            const a = {                client_id: await this.getClientId(),                events: [{                    name: e,                    params: {                        extension_version: chrome.runtime.getManifest().version,                        ...t                    }                }]            };            await fetch(`https://www.google-analytics.com/mp/collect?measurement_id=${n.measurementId}&api_secret=${n.apiSecret}`, {                method: "POST",                body: JSON.stringify(a)            })        } catch (n) {}    }    static async pageView(e) {        await this.fireEvent("page_view", {            page_path: e        })    }    static async errorEvent(e) {        await this.fireEvent("extension_error", {            error_message: e        })    }    static async searchEvent(e, t) {        await this.fireEvent("amazon_search", {            search_term: e,            market: t        })    }    static async loadMoreEvent(e, t) {        await this.fireEvent("load_more_pages", {            search_term: e,            market: t        })    }    static async discountEvent(e, t, n, a) {        await this.fireEvent("discount_found", {            discount_percent: e,            discount_fixed: t,            currency: n,            product_url: a        })    }}

Formatted tab listener

extracted/background.js
chrome.tabs.onUpdated.addListener((e, t, n) => {    if ("complete" !== t.status || !n.url) return;    const a = function(e) {        try {            const t = new URL(e);            if (!/\bamazon\b/.test(t.hostname)) return null;            if (!/(?:^|\/)s$/.test(t.pathname)) return null;            const n = t.searchParams.get("k");            return n ? {                keyword: n            } : null        } catch {            return null        }    }(n.url);    a ? async function(e, t, n) {        const a = await q(n, t);        if (a) try {            const a = await z(),                r = ne(1, a.maxPages),                o = r.map(t => te(e, t));            Q.searchEvent(t, ee(e)), await G(n, {                keyword: t,                url: e,                scrapedAt: (new Date).toISOString(),                progress: {                    current: 0,                    total: a.maxPages                },                items: [],                totalProductsScanned: 0            });            const s = await re(o, r),                i = [];            let c = 0;            for (const {                    page: t,                    html: n                }                of s)                if (n) {                    const a = D(n, t, e);                    i.push(...a.items), c += a.totalProducts                } const l = V(i);            await G(n, {                keyword: t,                url: e,                scrapedAt: (new Date).toISOString(),                progress: {                    current: a.maxPages,                    total: a.maxPages                },                items: l,                totalProductsScanned: c            });            const u = l.filter(e => e.discountPercent >= a.minDiscountPercent);            if (await oe(n, u.length), u.length > 0) {                const e = Math.max(...u.map(e => e.discountPercent));                await async function(e, t, n, a) {                    const r = await z();                    if (!r.notificationsOn) return;                    if (n < r.minDiscountPercent) return;                    const o = `juice-${a}-${Date.now()}`;                    try {                        await chrome.notifications.create(o, {                            type: "basic",                            iconUrl: "images/logo_notif.png",                            title: `${n}% Discount Found!`,                            message: `${t} discounts found for '${e}', click the Juicy icon for details`                        })                    } catch (s) {}                }(t, u.length, e, n)            }            const d = await Z(l, e);            d.length > 0 && await W(n, d);            for (const e of u) Q.discountEvent(e.discountPercent, "fixed" === e.couponType ? `${e.currency}${e.couponValue}` : "", e.currency, e.url)        } catch (r) {            Q.errorEvent(`Scrape failed: ${r instanceof Error?r.message:String(r)}`), await oe(n, 0)        } finally {            await Y(n)        }    }(n.url, a.keyword, e): oe(e, 0)}),

Destination

    • www.google-analytics.com

    Receives amazon_search and discount_found events with search terms, product URLs and the persistent client ID.

Where it sends data

Destinations our analysis observed Todo Tab contacting. Sending data somewhere is not a finding on its own - an extension that syncs your settings has to talk to its own server - but it is where your data can go, and who else it goes to.

  • www.google-analytics.comwidely used

    Todo Tab sends data to www.google-analytics.com. A widely used service: 388 other extensions we have analyzed send data here.

Updated 2 November 2026ljkjodkdilmmlaiphehiceeblnnndhnd