Choose how much access the extension has.
Extensions may access the content of the web pages you visit. Check which extensions you have installed and make sure you’re familiar with what they do. See Change Extensions preferences in Safari on Mac