Is Merlin AI safe?

Medium risk

Merlin is medium risk. Merlin includes GiveFreely's affiliate library, active on every site. It watches visits to merchants on a list from cdn.givefreely.com, sends checkout events tied to a device ID, and asks MaxMind for your country.…

Foyer Techv8.4.5Extension ID camppjleccjaphfdbohjdohecfnoikecChrome Web Store
52Risk
Who publishes it

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

Publisher
Foyer Tech
Declared legal entity
Foyer Tech
Registered address
16192 Coastal Highway, Lewes, DE 19958, US
Registered contact
Pratyush Rai

Same store account

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

AI-assisted analysis.

Merlin findings

Merlin's bundled shopping library tracks merchant visits with a device ID

MediumunwantedCWE-200Dynamic sandbox

Merlin includes GiveFreely's affiliate library, active on every site.

What actually happens

You did this

You install Merlin AI and open any browser tab.

No interaction with GiveFreely or shopping features is required.

The extension did this

The GiveFreely library initializes automatically, registers a network tap across all URLs, creates a persistent anonymous account at GiveFreely's API, and sends your IP to MaxMind.

All of this runs before you interact with the extension.

Captured request

PUThttps://api.givefreely.com/api/v1/Users/anonymous?gfLibId=adUnit_merlinprod

Returns a new anonymous user object; response header X-AnonymousUserToken carries the session token, which is stored under chrome.storage.local key 'gf_anonymous_encrypted_token'.

Headers
Content-Type
application/json
X-GF-Platform
GFLibrary
X-AnonymousUserToken
Body
{  "selectedCharity": null,  "selectedCharityThirdPartyIdentifier": null}

Captured request

GEThttps://geoip.maxmind.com/geoip/v2.1/country/me

Returns country ISO code (e.g. 'GB'). The result is cached in chrome.storage.local to avoid repeat lookups per session. The request itself exposes the device's public IP address to MaxMind.

Headers
Content-Type
application/json
Authorization
Basic OTEzOTkxOnFlYmpaWF9DOGNRY0lxSHA4WTVjNGxzU1pRSlM2VW9MMExzTF9tbWs=

Captured request

POSThttps://events.givefreely.com/popup

HTTP 200. Fires on first daily load (health check), and again on CHECKOUT-POPUP-SHOWN / CHECKOUT-POPUP-DONATION events when a merchant domain is visited.

Headers
Content-Type
application/json
Body
{  "partner": "adUnit_merlinprod",  "eventType": "CHECKOUT-POPUP-HEALTH-CHECK",  "eventData": {    "userId": "e789deca-9eba-4341-95ac-5cc0e35142ce",    "libVersion": "1.17.8",    "language": "en-GB"  }}

What's stored on your device

A device-persistent anonymous ID created at install, reused every session, letting GiveFreely build a shopping profile keyed to your device.

Location
chrome.storage.local, GiveFreely keys
Contents
{  "gf_country_code": "GB",  "gf_health_check_last": 1748300000000,  "gf_anonymous_user_info": "{\"id\":\"e789deca-9eba-4341-95ac-5cc0e35142ce\",\"selectedCharity\":null}",  "gf_anonymous_encrypted_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."}

External endpoints contacted automatically on extension load

    • api.givefreely.com

    GiveFreely (owned by GiveFreely Inc). Receives anonymous user creation/retrieval requests. Links device to a persistent affiliate-marketing profile.

    • events.givefreely.com

    GiveFreely event ingestion endpoint. Receives CHECKOUT-* telemetry events including the anonymous user UUID and merchant visit data.

    • cdn.givefreely.com

    GiveFreely CDN. Serves partner config (merchant lists, popup rules, active domains) fetched periodically by the background service worker.

    • geoip.maxmind.com

    MaxMind Inc (third-party geolocation). Called with a hardcoded API key; exposes the device's public IP address to resolve country of origin.

    • wildlink.me

    Wildfire Systems affiliate network. Queried for active-domain merchant rates and stand-down policy used by the webRequest tap.

The code that does this

webRequest listener registered on all top-level navigations

Readable version
// background.js:5923-5968var mo = { urls: ['<all_urls>'], types: ['main_frame'] };chrome.webRequest.onBeforeRequest.addListener(  ({ requestId, url, initiator }) => {    // Skip already-tracked or invalid URLs    if (trackedRequests.has(requestId) || !isValidUrl(url)) return;    const { hostname, search } = new URL(url);    let initiatorHost;    if (initiator && isValidUrl(initiator))      initiatorHost = new URL(initiator).hostname;    // Check if URL or initiator matches an affiliate merchant    if (giveFreelyService.hasAffiliation([hostname, initiatorHost], search)        || giveFreelyService.isCustomStandownMatch([url, initiator])) {      trackedRequests.add(requestId); // mark for redirect tracking    }  },  { urls: ['<all_urls>'], types: ['main_frame'] });

Merlin AI can add partner ads to Google results

MediumunwantedCWE-506Dynamic sandbox

When GiveFreely config enables partnerSerpBox, Merlin AI scans Google results, inserts a partner banner, and reports banner-created to events.givefreely.com with the search URL.

What actually happens

You did this

You visit a Google search results page while the GiveFreely partner banner flag is enabled.

The production configuration observed during testing did not include that flag, so this path depends on a server-side configuration change.

The extension did this

Merlin AI scans the search results, can add a partner banner, and reports the created-banner event with the Google search URL.

Dynamic analysis confirmed the behavior by enabling the remote flag and navigating to a Google search page.

Fields tied to the created-banner event

  • Your Google search URL
    https://www.google.com/search?q=buy+nike+shoes+online

    This can reveal the search terms and result page you were viewing when the partner banner was created.

  • Matched partner domain
    nike.com (illustrative)

    This identifies which shopping result caused the banner path to continue.

  • Created-banner event name
    CHECKOUT-POPUP-GOOGLE-PARTNER-ANN-CREATED

    This marks that the partner banner was created on the Google results page.

Captured request

POSThttps://events.givefreely.com/popup

Observed dynamic analysis captured two CHECKOUT-POPUP-GOOGLE-PARTNER-ANN-CREATED posts and two CHECKOUT-POPUP-GOOGLE-SEARCH posts after partnerSerpBox.enabled was enabled; the preserved request summary records partner=gfLib_merlinprod and eventData.url as the Google search URL.

The code that does this

Content script path that scans Google results, inserts the banner, and reports the event

Readable version

Readable content-script logic

content-scripts/giveFreely.js
var zn = async (e, t) => {  let n = ((e = true) => {      let t = ((e = true) => {          let t = Array.from(globalThis.window.document.querySelectorAll(`#rso > div, #tads > div, #rso .MjjYud`));          return e ? t.filter((e => !An(e))) : t        })(e),        n = [];      return t.forEach((e => {        let t = e.querySelector(kn);        if (t) {          let r = t.href;          if (r && r.includes(`/url?q=`)) try {            let e = new URLSearchParams(new URL(r).search).get(`q`);            e && (r = e)          } catch {}          r && r.startsWith(`http`) && n.push({            url: r,            container: e          })        }      })), n    })(),    r = await Bn(n.map((e => e.url)));  e && X.trackEvent(G.checkoutPopupGoogleSearch, {    url: globalThis.window.location.href,    partnersFound: Object.entries(r).map((([e, t]) => ({      url: e,      partner: t.activeDomain    }))),    isPartnerBoxMuted: t  });  let i = n.find((e => r[e.url]));  if (i) {    let e = (e => {      let t = e.querySelector(`h3`),        n = e.querySelector(`.VuuXrf, span[role="text"]`)?.innerText,        r = e.querySelector(`cite`)?.textContent,        i = e.querySelector(kn)?.querySelector(`img`)?.parentElement?.parentElement?.outerHTML,        a = e.querySelector(`.VwiC3b, .kb069e, div[style*="-webkit-line-clamp"]`);      return {        title: t?.textContent?.trim() ?? null,        siteName: n,        citation: r,        imgContents: i,        description: a?.innerHTML?.trim() ?? null      }    })(i.container);    return {      ...i,      ...e,      domainData: r[i.url]    }  }  return null}, Bn = async e => {  let {    payload: t  } = await dt({    type: St,    payload: {      urls: e    }  });  return t.result}, Vn = e => !!e.partnerSerpBox?.enabled, Hn = async () => !!await Y.get(`gf_partner_serp_muted`), Un = async () => {  await J({    type: Ct,    payload: {}  })}, Wn = R(`<div class=gf-app>`);(async (e, t, n, r) => {  if (Vn(r)) {    let i = await Hn(),      a = !!r.enhancedLogging;    e.debug(`Serp partner box enabled. Looking for partner in search results`);    let o = await zn(a, i);    if (!i && o && r.partnerSerpBox?.learnMoreUrl) return void((e => {      let t = document.querySelector(`div[data-subtree="mfc"], .fG8Fp`),        n = document.getElementById(`atvcap`) ?? document.getElementById(`tads`) ?? document.getElementById(`search`);      return t ? (t.insertAdjacentElement(`afterend`, e), !0) : !!n && (n.prepend(e), !0)    })((e => {      let t = document.createElement(`div`);      return fe((() => F(In, e)), t), t    })({      ...o,      currentLanguage: n,      logger: e,      learnMoreUrl: r.partnerSerpBox?.learnMoreUrl,      charitiesList: t,      serpLoggingEnabled: a    })) ? (e.info(`Partner found and banner injected`), a && X.trackEvent(G.checkoutPopupGooglePartnerAnnCreated, {      url: globalThis.window.location.href,      activeDomain: o.domainData.activeDomain    })) : e.warn(`Partner found but banner couldn't be injected`));    e.info(`Couldn't find partners in search results`)  }})(e.logger, s, u, e.popupConfig)

The code that does this

Service worker handlers that resolve partner domains and forward tracking events

Readable version

Readable service-worker message handlers

background.js
bo = class {  async handle(e, t) {    let {      urls: n    } = e.payload, {      giveFreelyService: r    } = t, i = r.getLogger();    try {      let e = await r.getActiveDomains();      if (!e || e.length === 0) throw Error(`No active domains`);      let t = {},        i = n.map((async n => {          try {            let {              hostname: i            } = new URL(n), a = e.find((e => i === e.domain || i.endsWith(`.${e.domain}`)));            if (a) {              let {                result: e              } = await r.shouldStandDown(a.domain, n);              t[n] = {                activeDomain: a,                shouldStandDown: e,                currentlyActivated: await r.wasLastStandDownAnActivation(a.domain)              }            }          } catch {}        }));      return await Promise.all(i), {        type: W.GET_ACTIVE_DOMAINS,        payload: {          result: t        }      }    } catch (e) {      return i.error(`Error checking domain`, {        urls: n,        error: e      }), {        type: W.GET_ACTIVE_DOMAINS,        payload: {          result: {}        }      }    }  }}jo = class {  async handle(e, t) {    let {      eventType: n,      eventData: r,      anonymous: i,      skipThrottling: a    } = e.payload, {      giveFreelyService: o    } = t, s = o.getLogger();    s.debug(`Broadcasting event`, {      eventType: n,      eventData: r,      anonymous: i,      skipThrottling: a    });    try {      let e = await o.trackEvent(n, r, i, a);      return {        type: W.TRACK_EVENT,        payload: {          result: e        }      }    } catch (e) {      return s.error(`Error broadcasting event. Returning false`, {        eventType: n,        eventData: r,        error: e      }), {        type: W.TRACK_EVENT,        payload: {          result: !1        }      }    }  }}Y.register(W.IS_ACTIVE_DOMAIN, new Eo), Y.register(W.GET_POPUP_CONFIG, new wo), Y.register(W.HIDE_POPUP, new To), Y.register(W.SHOULD_STAND_DOWN, new Ao), Y.register(W.TRACK_EVENT, new jo), Y.register(W.ACTIVATE_OFFER, new yo), Y.register(W.STORE_SHOPIFY_SHOP_ID, new ko), Y.register(W.GET_DOMAIN_BY_SHOP_ID, new xo), Y.register(W.GET_LANGUAGE_CONTENT, new Co), Y.register(W.LOG_MERCHANTS_IN_SEARCH_RESULTS, new Do), Y.register(W.GET_ACTIVE_DOMAINS, new bo), Y.register(W.MUTE_PARTNER_SERP_BOX, new Oo), Y.register(W.GET_GF_DATA, new So)

External GiveFreely hosts involved in this behavior

    • events.givefreely.com

    Receives the created-banner and Google-search events observed during dynamic analysis.

    • cdn.givefreely.com

    Provides the behavioral configuration, including merlinprod.json and global.json, that controls whether the partner banner path runs.

Blog Summarizer Sends Page Hostname to Google Analytics on Every Page Load

MediumunwantedCWE-200Dynamic sandbox

Visiting any website loads Merlin's blog-summarizer script, which reports the page's hostname to Google Analytics plus a persistent device ID, before any Merlin interaction.

What actually happens

You did this

You open any webpage in your browser.

No interaction with Merlin is needed, the blog-summarizer content script runs on all URLs (<all_urls>) at document_idle.

The extension did this

The extension reports the page hostname and a persistent device identifier to Google Analytics.

The BlogSummarizerBar component fires a page_view event containing page_location (blog-summarizer/<hostname>) and a UUID stored in chrome.storage.local the first time the extension was installed.

Captured request

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

HTTP 204 No Content, Google Analytics confirmed receipt.

Headers
Content-Type
application/json
Body
{  "client_id": "21af8eba-03bd-4147-adc6-306b7165e3ad",  "events": [    {      "name": "page_view",      "params": {        "page_location": "blog-summarizer/en.wikipedia.org",        "page_title": "BlogSummarizerBar",        "session_id": "1749686777142",        "merlinVersion": "merlin-agentic-extension-8.0.11",        "engagement_time_msec": 100      }    }  ]}

Fields sent in every page_view event

  • Device ID
    21af8eba-03bd-4147-adc6-306b7165e3ad

    A random UUID created on first install, stored persistently. The same value on every site lets your browsing be linked across domains.

  • Page hostname
    blog-summarizer/en.wikipedia.org

    The domain of the site you are visiting, sent as the page_location field. Every site visit is recorded under your device ID.

  • Session ID
    1749686777142

    A timestamp-based session identifier that groups your visits within a 30-minute window.

  • Extension version
    merlin-agentic-extension-8.0.11

    The installed version of Merlin, sent with every event.

The code that does this

BlogSummarizerBar component fires analytics on mount

Readable version
// content-scripts/blog-summarizer.js — BlogSummarizerBar componentfunction Ka({ onRemove: e }) {  let [t] = useState(() => za());  let [n, r] = useState(false);  useEffect(() => {    // Fires immediately on component mount — before any user interaction.    Ga({      page_title: 'BlogSummarizerBar',      page_location: `blog-summarizer/${location.hostname}`  // current site hostname    });  }, []);  // empty deps = runs once on every page load  // Ga() sends CS_FIRE_PAGE_VIEW to the service worker:  function Ga(e) {    chrome.runtime.sendMessage({ type: 'CS_FIRE_PAGE_VIEW', payload: e }).catch(() => {});  }  // Service worker handles CS_FIRE_PAGE_VIEW by calling vs():  // case `CS_FIRE_PAGE_VIEW`: return vs(o.payload), i({ success: true }), false;  //  // vs() builds the payload and calls bs() which POSTs to:  // https://www.google-analytics.com/mp/collect?measurement_id=G-JZS898GQ18&api_secret=...}

The code that does this

Service worker assembles and sends the GA4 request

Readable version
// background.js — hardcoded GA4 credentials and fetch callconst GA_CONFIG = {  MEASUREMENT_ID: 'G-JZS898GQ18',  API_SECRET: '<redacted>',  // value redacted; present verbatim in shipped code  ENDPOINT: 'https://www.google-analytics.com/mp/collect'};async function sendToGoogleAnalytics(payload) {  try {    await fetch(      `${GA_CONFIG.ENDPOINT}?measurement_id=${GA_CONFIG.MEASUREMENT_ID}&api_secret=${GA_CONFIG.API_SECRET}`,      { body: JSON.stringify(payload), method: 'POST' }    );  } catch (err) {    console.error('Google Analytics request failed with an exception', err);  }}

Where browsing data is sent

    • www.google-analytics.com

    Google Analytics 4 Measurement Protocol endpoint. Receives the persistent device ID, visited hostname, session ID, and extension version on every page load. Operated by Google LLC.

What's stored on your device

A UUID generated once at install and never rotated. Attached to every page_view event across all sites, a stable cross-site identifier.

Location
chrome.storage.local key 'clientId'
Contents
21af8eba-03bd-4147-adc6-306b7165e3ad

+2 more findings not shown

Merlin version history

  1. 7.5.10

    Mar 4, 2026

  2. +25 more

  3. 8.4.2

    Nov 11, 2026

  4. 8.4.5

    Nov 17, 2026

  5. 8.4.6

    Nov 19, 2026

Where Merlin sends data

  • cdn.givefreely.com/data/language/…32 calls

    From its background script · 10 other extensions

  • cdn.givefreely.com/data/behavioral/…30 calls

    From its background script · 10 other extensions

  • cdn.jsdelivr.net/gh/foyer-work/…18 calls

    From a script it injects into websites · 25 other extensions

  • prod.cdnwgf.com/feeds/…15 calls

    From its background script · 6 other extensions

  • api.givefreely.com/api/v1/…14 calls

    From its background script · 10 other extensions

  • www.google-analytics.com/mp/collect14 calls

    From its background script · 238 other extensions

  • events.givefreely.com/popup13 calls

    From its background script · 9 other extensions

  • www.getmerlin.in/arcane/api/…10 calls

    From its background script · only this extension

  • geoip.maxmind.com/geoip/v2.1/…9 calls

    From its background script · 7 other extensions

  • nbparppmcyde7v5nsqr54pzmwe0zhivh.lambda-url.us-east-1.on.aws9 calls

    From its background script · 2 other extensions

  • d3tngqzkvc7qp8.cloudfront.net/preactivation5 calls

    From its background script · 6 other extensions

  • session.getmerlin.in2 calls

    From its background script · only this extension

  • fonts.googleapis.com/css21 call

    From a script it injects into websites · 378 other extensions

Chrome Web Store listing

Versions
8.4.6 latest of 29 seen since March 4, 2026
Store rating
4.4 from 8,755 ratings
Last updated
November 17, 2026
Size
4.22 MiB
Privacy policy
merlin.foyer.work
Updated November 20, 2026