Sign in

At least 8 characters.

Already have one?

Free checkBy Yusuf, VXSec

Who else's code runs on your app or website?

On 16 November, CNN, the BBC and Zoom served card-stealing code to their visitors because a tool they all used was hacked. On one big US store's home page, I found code from 11 other companies.

Fastest way to know: paste the check below into your browser's console on your checkout page. Everything it lists can see what your customers type.

Only check apps you own or have permission to test.

110K+
views on my bank statement reel
507
people sent the free check from a reel comment
1,395
people follow along on Instagram

Counted from Instagram and my DM log.

What I found

12

outside sites on one big store's home page

I ran the check below on two home pages.

Home pageOutside sites
Big US store12
vaultxsec.com1

One of the store's 12 is its own images.

Eleven other companies whose code runs for every visitor, on every load. Ads, analytics, session recording, a tag manager that can load more. If any one of them gets broken into, so does that store.

That's exactly what happened on 16 November. Optimizely is a tool big sites use to test two versions of a page, so its code runs on every page they put it on. Someone found a flaw in Optimizely's sign-up and used it to slip their own code into other companies' projects. Report URI checked 1,611 Optimizely projects and found it in 178 organisations, CNN, the BBC and Zoom among them. It watched forms for card numbers and sent them to the attacker (Report URI's write-up, BleepingComputer). Most of it was cleaned up the same day.

None of those sites got hacked. Something they trusted did.

Why it piles up

Every chat widget, analytics tag and ad pixel is another company's code inside your page. Agencies add them, plugins add them, a tag manager adds more at runtime. Nobody takes them out. Most load live from the company's own servers, so whatever that company ships, your visitors run.

Check yours in 2 minutes

  1. Open the page you want to check in Chrome or Edge on a computer. Log in and accept the cookie banner first if your site has them, because some tools only load after that.
  2. Press Ctrl + Shift + J (Mac: Cmd + Option + J). Paste the check below and press Enter. If Chrome blocks the paste, type allow pasting, press Enter, and paste again.
  3. You get a table of every outside company loading code on that page. Repeat it on home, login, sign-up and checkout.
(() => {
  const who = {'googletagmanager.com':'Google Tag Manager','google-analytics.com':'Google Analytics','doubleclick.net':'Google Ads','googlesyndication.com':'Google Ads','googleadservices.com':'Google Ads','adtrafficquality.google':'Google Ads','googleapis.com':'Google','gstatic.com':'Google','google.com':'Google','youtube.com':'YouTube','facebook.net':'Meta (Facebook pixel)','facebook.com':'Meta (Facebook)','clarity.ms':'Microsoft Clarity','bing.com':'Microsoft Ads','hotjar.com':'Hotjar','segment.com':'Segment','amplitude.com':'Amplitude','mixpanel.com':'Mixpanel','posthog.com':'PostHog','hubspot.com':'HubSpot','hs-scripts.com':'HubSpot','hs-analytics.net':'HubSpot','hsadspixel.net':'HubSpot','hs-banner.com':'HubSpot','hscollectedforms.net':'HubSpot','licdn.com':'LinkedIn','redditstatic.com':'Reddit','tiktok.com':'TikTok','pinimg.com':'Pinterest','pinterest.com':'Pinterest','twitter.com':'X (Twitter)','x.com':'X (Twitter)','snapchat.com':'Snapchat','stripe.com':'Stripe','paypal.com':'PayPal','paypalobjects.com':'PayPal','shopify.com':'Shopify','shopifycdn.com':'Shopify','shop.app':'Shopify (Shop Pay)','cookielaw.org':'OneTrust (cookie banner)','onetrust.com':'OneTrust (cookie banner)','cookiebot.com':'Cookiebot (cookie banner)','privacy-mgmt.com':'Sourcepoint (cookie banner)','intercom.io':'Intercom (chat)','intercomcdn.com':'Intercom (chat)','crisp.chat':'Crisp (chat)','tawk.to':'tawk.to (chat)','zdassets.com':'Zendesk (chat)','drift.com':'Drift (chat)','optimizely.com':'Optimizely','sentry-cdn.com':'Sentry','sentry.io':'Sentry','cloudflareinsights.com':'Cloudflare','cloudflare.com':'Cloudflare','jsdelivr.net':'jsDelivr (public code host)','unpkg.com':'unpkg (public code host)','klaviyo.com':'Klaviyo','attn.tv':'Attentive','amazon-adsystem.com':'Amazon Ads','adsafeprotected.com':'Integral Ad Science','doubleverify.com':'DoubleVerify','scorecardresearch.com':'Comscore','chartbeat.com':'Chartbeat','vimeo.com':'Vimeo','calendly.com':'Calendly','typekit.net':'Adobe Fonts','recaptcha.net':'Google reCAPTCHA','hcaptcha.com':'hCaptcha','sift.com':'Sift (fraud check)','impactcdn.com':'Impact (affiliates)'};
  const shared = /(^|\.)(github\.io|netlify\.app|vercel\.app|pages\.dev|workers\.dev|lovable\.app|bolt\.host|replit\.app|repl\.co|web\.app|firebaseapp\.com|herokuapp\.com|onrender\.com|fly\.dev|myshopify\.com|wixsite\.com|squarespace\.com|webflow\.io|framer\.website|azurewebsites\.net|azurefd\.net|cloudfront\.net|amazonaws\.com|appspot\.com|blogspot\.com|wordpress\.com|supabase\.co)$/;
  const base = (h) => { if (shared.test(h) || /^[\d.]+$|:|^localhost$/.test(h)) return h; const p = h.split('.'); const n = p.length; return p.slice(n > 2 && p[n-1].length === 2 && /^(co|com|org|net|ac|gov|edu|ltd|plc)$/.test(p[n-2]) ? -3 : -2).join('.'); };
  const own = base(location.hostname); const found = {};
  const add = (u, kind) => { try { const h = new URL(u).hostname; if (!/^https?:/.test(u) || base(h) === own) return; const b = base(h); found[b] = found[b] || { 'Outside site': b, 'Who it is': who[b] || '? search this name', 'Files': 0, 'Shows a frame': '', u: new Set() }; if (kind === 'frame') found[b]['Shows a frame'] = 'yes'; else if (!found[b].u.has(u)) { found[b].u.add(u); found[b]['Files']++; } } catch (e) {} };
  const entries = performance.getEntriesByType('resource');
  entries.filter(r => r.initiatorType === 'script' || /\.js(\?|#|$)/.test(r.name)).forEach(r => add(r.name, 'code'));
  [...document.scripts].forEach(s => s.src && /^(|module|text\/javascript|application\/javascript)$/i.test(s.type.trim()) && add(s.src, 'code'));
  [...document.querySelectorAll('iframe[src]')].forEach(f => add(f.src, 'frame'));
  const rows = Object.values(found).map(({ u, ...r }) => r).sort((a, b) => (a['Who it is'][0] === '?') - (b['Who it is'][0] === '?') || b['Files'] - a['Files']);
  console.table(rows);
  const full = entries.length >= 250 && entries.length % 50 === 0;
  const unknown = rows.filter(r => r['Who it is'][0] === '?').length;
  return rows.length + (rows.length === 1 ? ' outside site on ' : ' outside sites on ') + location.pathname + '.' + (unknown ? ' Search the ' + unknown + ' marked "?".' : '') + (full ? ' WARNING: this page loaded so many files that your browser stopped counting, so the list may be short. Use the Network tab steps for this page.' : '');
})()

Then ask three things about each one. Is it on a login or payment page? Do you know who it is? Do you still use it? Anything on a login or payment page that isn't your payment provider is the first to go.

Found code you don't need?

Deleting it is the fix. If it's buried in a tag manager or a theme and you'd rather not dig, send it to me. I fix one finding from $150, and you get the price in writing before I start.

Get it fixed

Let your AI run it, free

Your AI runs this check inside your app. Put your email in and your check link shows right here, with a copy in your inbox.

  • Free
  • No card
  • No password

Sent by VXSec, 2967 Dundas St. W. #1754, Toronto, ON M6P 1Z2. [email protected]

Your AI runs it on your side. VXSec never sees your code or data, only which check ran, when, and how many holes it found. Use a test copy for checks that change data. Nothing gets fixed until you say yes.

How to fix it

  • Delete what you don't use, from the code and from your tag manager. Fastest fix there is.
  • Keep outside code off login and payment pages. Analytics and chat almost never need to be where people type a password or a card.
  • Put card fields in your payment provider's box, like Stripe Checkout or Shopify checkout. In this attack, Report URI found cards typed into Stripe and Adyen frames were out of reach.
  • Add a Content-Security-Policy, a setting that tells browsers which sites may run code on your pages. It won't help if a tool you allowed is the one that gets hacked.

What still catches people

  • Checking only the home page. The checkout page is the one that matters.
  • The tag manager. It shows up as one line and loads ten more.
  • Tools added by an old agency that nobody remembers.

Questions

Does this mean I'm hacked?

No. It shows who could be. The list is who you're trusting.

I'm on my phone.

The check needs Chrome or Edge on a computer. Or tap Open in Claude above and let your AI read your code.

Can I run this on someone else's site?

Yes, it only reads what any visitor's browser loads. Fixing it is their job.

Before you launch

This is one hole. Launch Gate runs six other checks in one go on a test copy of your app, like who can see whose data, and gives you one page of results with proof. Members get it inside their own AI.

VXSec Membership

$19a month, or $190 a year

  • Workspace Setup
  • AI Reach Map
  • Agent Brakes
  • Launch Gate
  • Leaver Check
  • Every new helper, the day it's out
Join VXSec

Rather have it done for you? I fix it $150 and up, 20% off for members · Launch Review $297 once, I check and fix the top 3 · Built for you $1,500 a month and up

Want to practise on an app built to be broken first? Open the practice lab.