Is Shop Deals safe?

Medium risk

Shop Deals is medium risk.

Shop Deals sends Google search result URLs to Takeads and rewrites eligible results to affiliate links.

When you use Google Search, Shop Deals reads the result links on the page and sends those URLs to Takeads to check for monetization matches. If Takeads returns partner data, the extension changes matching search result links to affiliate tracking URLs and adds a discounts button.

jayb20262v1.3.0Extension ID lgflpjoaeinnkgjlmmaobdbfplakjihbChrome Web Store
53Risk
Who publishes it

jayb20262 - 1 other listing from the same operator, none carrying a finding

Publisher
jayb20262

Same store account

1 other listing published from this account, 444 users between them, none of them carrying a finding.

Shared hosts - 2 hostnames

Hostnames hardcoded in this extension that few other listings call. That can mean one operator behind both, and it can equally mean a small shared vendor, so it is context rather than a conclusion. Hosts that many listings call are left out: they are services, not connections.

extads.monetize.software
Also called by 2 other listings: Deal Finder, Timer App
openwebsite.tools
Also called by 2 other listings, including Deal Finder
AI-assisted analysis.

Shop Deals findings

Google search result URLs are sent to Takeads and replaced with affiliate links

HighunwantedCWE-359Static analysis

Code analysis shows the extension sends Google result URLs to api.takeads.com and swaps eligible links for affiliate tracking links.

What actually happens

You did this

You open a Google search results page.

The extension did this

The extension sends the result URLs to api.takeads.com and rewrites eligible result links to tracking links.

Request body sent to Takeads

  • iris
    ["https://www.example-shop.com/usb-cables"] (illustrative)

    The URLs of the organic results shown on the Google page.

  • subId
    common

    A stored identifier, or the word common when none is set.

  • withImages
    true

    Asks Takeads to return a product image for each match.

The code that does this

Request and link rewrite

Readable version

Request

assets/chunk-3db9f861.js
const subId = await getSubId();const links = collectResultLinks();const body = JSON.stringify({ iris: Object.keys(links), subId: subId || "common", withImages: true });const res = await fetch("https://api.takeads.com/v1/product/monetize-api/v2/resolve", { method: "PUT", headers: { "Content-Type": "application/json", Authorization: "Bearer <redacted>" }, body });

Rewrite

assets/chunk-3db9f861.js
if (item.partnerData && item.partnerData.trackingLink) {  anchor.href = item.partnerData.trackingLink;}

Hosts involved

    • api.takeads.com

    Receives result URLs and returns affiliate tracking links and image URLs.

    • openwebsite.tools

    Target of the Learn More opt-out link shown next to rewritten results.

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.

Shop Deals ships a working Takeads API token inside its public code

LowunwantedCWE-522Dynamic sandbox

Shop Deals carries a working Takeads API key in the code every user downloads, so anyone who unpacks the extension can read it.

What actually happens

You did this

You run a search on google.com with the extension installed.

The content script is scoped to https://www.google.com/* and runs at document_end on every results page.

The extension did this

The extension sends your result links to the Takeads monetization API, proving who it is with an API key that is written into the code every user downloads.

The same key is reused by the popup when it looks up coupons for the page you are on.

The code that does this

The same bearer token authorizes two different Takeads endpoints

Readable version

What the content script call does

assets/chunk-3db9f861.js
const body = JSON.stringify({  iris: linkHrefs,          // every organic result link on the page  subId: partnerId || "common",  withImages: true});const response = await fetch(  "https://api.takeads.com/v1/product/monetize-api/v2/resolve",  {    method: "PUT",    headers: {      "Content-Type": "application/json",      // static credential, identical in every copy of the extension      Authorization: "Bearer 99dc7ff2<redacted 40-char hex token>"    },    body  });

What the popup call does

assets/chunk-433c5e1b.js
const body = JSON.stringify({  iris: [activeTab.url],    // the page you are currently viewing  subId: partnerId});fetch(  "https://api.takeads.com/v1/product/monetize-api/v1/coupon/search",  {    method: "POST",    headers: {      "Content-Type": "application/json",      // same credential as the content script path      Authorization: "Bearer 99dc7ff2<redacted 40-char hex token>"    },    body  }).then(r => r.json());

Captured request

PUThttps://api.takeads.com/v1/product/monetize-api/v2/resolve

HTTP 201 with an empty data array. The test URL had no matching partner offer, but the API authenticated and accepted the request, which is what shows the key is live.

Headers
Content-Type
application/json
Authorization
Bearer 99dc7ff2<redacted>
Body
{  "iris": [    "https://www.amazon.com/dp/B08N5WRWNW"  ],  "subId": "common",  "withImages": true}

What the bundled key lets a third party do

  • Takeads API key
    Bearer 99dc7ff2<redacted>

    One key shared by every install. It cannot be revoked for a single user without breaking the extension for all of them.

  • Links being monetized
    https://www.amazon.com/dp/B08N5WRWNW

    The search result links, or the page you are viewing, that get sent for an affiliate match.

  • Partner attribution ID
    common

    Identifies which distribution partner gets paid for the traffic. It is fetched at install time and stored.

  • Returned tracking link
    https://tatrck.com/h/0Hu30zkd0RRb?url=https%3A%2F%2Fwww.amazon.com%2Fdp%2FB08N5WRWNW&s=common

    The replacement affiliate link the API hands back, which the extension writes over the original result link.

Hosts involved in this flow

    • api.takeads.com

    Takeads monetization API. Receives the result links and returns affiliate deeplinks. This is the endpoint the bundled bearer token authenticates to.

    • extads.monetize.software

    Install attribution service. Read at install time for a partner ID that is then stored and sent as subId on monetization calls.

    • tatrck.com

    Takeads click redirector. Serves the tracking links returned by the API and written into your search results.

Check if you're affected

Scans an unpacked extension directory for Authorization: Bearer values written directly into shipped JavaScript, and reports which file and which endpoint each one is attached to.

Requires
  • Node.js 18 or newer
  • an unpacked copy of the extension
find-bundled-bearer-tokens.js · js
#!/usr/bin/env node// Find hardcoded bearer credentials in an unpacked browser extension.// Usage: node find-bundled-bearer-tokens.js /path/to/unpacked-extensionconst fs = require('fs');const path = require('path');const root = process.argv[2];if (!root) {  console.error('usage: node find-bundled-bearer-tokens.js <unpacked-extension-dir>');  process.exit(1);}const BEARER = /Bearer\s+([A-Za-z0-9._\-]{16,})/g;const URL_RE = /https?:\/\/[^"'`\s\\]+/g;function walk(dir, out = []) {  for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {    const full = path.join(dir, entry.name);    if (entry.isDirectory()) walk(full, out);    else if (/\.(js|mjs|html|json)$/i.test(entry.name)) out.push(full);  }  return out;}const findings = new Map();for (const file of walk(root)) {  const text = fs.readFileSync(file, 'utf8');  let m;  BEARER.lastIndex = 0;  while ((m = BEARER.exec(text)) !== null) {    const token = m[1];    // nearest URL literal before the header, which is normally the endpoint    const before = text.slice(Math.max(0, m.index - 400), m.index);    const urls = before.match(URL_RE) || [];    const endpoint = urls.length ? urls[urls.length - 1] : '(endpoint not resolved)';    const key = token + '|' + path.relative(root, file) + '|' + endpoint;    findings.set(key, { token, file: path.relative(root, file), endpoint });  }}if (findings.size === 0) {  console.log('No hardcoded bearer tokens found.');  process.exit(0);}const byToken = new Map();for (const f of findings.values()) {  if (!byToken.has(f.token)) byToken.set(f.token, []);  byToken.get(f.token).push(f);}for (const [token, uses] of byToken) {  const masked = token.slice(0, 8) + '...' + '(' + token.length + ' chars)';  console.log('\nToken ' + masked + ' shipped in the bundle, used ' + uses.length + ' time(s):');  for (const u of uses) {    console.log('  ' + u.file + '  ->  ' + u.endpoint);  }  if (uses.length > 1) {    console.log('  NOTE: one credential reused across multiple call sites.');  }}
How to run it
  1. 1Unpack the extension CRX into a directory.
  2. 2Run: node find-bundled-bearer-tokens.js ./unpacked-extension.
  3. 3Read the report; each line pairs a shipped token with the endpoint it authenticates to.

What Shop Deals can do

Permissions this extension asks for, as declared in version 1.3.0. 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>

  • Store data in your browser

    storage

  • Read and change cookies, including the ones that keep you signed in

    cookies

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

    tabs

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

    activeTab

Where Shop Deals sends data

  • api.takeads.com/v1/product/…2 calls

    From its own pages · also found in its code · 4 other extensions

Chrome Web Store listing

Versions
1.3.0 seen since March 4, 2026
Store rating
5.0 from 2 ratings
Last updated
November 6, 2024
Size
394 KiB
Privacy policy
docs.google.com
Updated November 20, 2026