# Browser Extension Pentesting Methodology
{{#include ../../banners/hacktricks-training.md}}
## 基本信息
Browser extensions are written in JavaScript and loaded by the browser in the background. It has its [DOM](https://www.w3schools.com/js/js_htmldom.asp) but can interact with other sites' DOMs. This means that it may compromise other sites' confidentiality, integrity, and availability (CIA).
## 主要组件
Extension layouts look best when visualised and consists of three components. Let’s look at each component in depth.