Review by svandragt
Rated 1 out of 5
by svandragt, 2 days agoI asked claude to audit this addon:
Findings, most serious first
1. Any website can run its own code in all your tabs. The mediator has three commands that read text from all open tabs. Each one takes parameters from the request and decodes them from base64. The add-on pastes them unchanged into JavaScript and runs that in every tab (background.js:6-9, 408-424). A page you visit can make your browser send one of these requests to the mediator's local port, for example through a hidden image, with its own code as a parameter. That code then runs inside your GitHub, Gmail, Jira and VIP tabs, with your logins, and can send their contents anywhere.
- The page can't read the mediator's reply, but it doesn't need to, because the injected code sends the data out itself.
- The add-on's permission to run code on every site means nothing limits which tabs this reaches.
- Recent Firefox versions block some requests from public sites to local addresses. I didn't test whether your version blocks this one.
2. Websites can also close or open your tabs, or stop the mediator. The commands that close tabs, open tabs and shut the mediator down accept plain GET requests (http_server.py:58-67), the kind a page can send without asking. Tab IDs are small numbers that a page can guess.
3. The mediator doesn't check which site name it was reached by. It doesn't check the Host header. A site can use DNS rebinding (making its own domain point to your machine after the page loads) and then read the replies too, including your full tab list.
4. Its logs are readable by other users on this machine. The mediator logs tab URLs and page words to a file in the shared temporary folder. Your machine has only you as a user, so this matters little.
Findings, most serious first
1. Any website can run its own code in all your tabs. The mediator has three commands that read text from all open tabs. Each one takes parameters from the request and decodes them from base64. The add-on pastes them unchanged into JavaScript and runs that in every tab (background.js:6-9, 408-424). A page you visit can make your browser send one of these requests to the mediator's local port, for example through a hidden image, with its own code as a parameter. That code then runs inside your GitHub, Gmail, Jira and VIP tabs, with your logins, and can send their contents anywhere.
- The page can't read the mediator's reply, but it doesn't need to, because the injected code sends the data out itself.
- The add-on's permission to run code on every site means nothing limits which tabs this reaches.
- Recent Firefox versions block some requests from public sites to local addresses. I didn't test whether your version blocks this one.
2. Websites can also close or open your tabs, or stop the mediator. The commands that close tabs, open tabs and shut the mediator down accept plain GET requests (http_server.py:58-67), the kind a page can send without asking. Tab IDs are small numbers that a page can guess.
3. The mediator doesn't check which site name it was reached by. It doesn't check the Host header. A site can use DNS rebinding (making its own domain point to your machine after the page loads) and then read the replies too, including your full tab list.
4. Its logs are readable by other users on this machine. The mediator logs tab URLs and page words to a file in the shared temporary folder. Your machine has only you as a user, so this matters little.
6 reviews
- Rated 5 out of 5by Nickolay, 4 years ago
- Rated 5 out of 5by Sabin, 4 years ago
- Rated 5 out of 5by justpeanut, 4 years agooh i love you balta2ar for making this app! only wish this was more popular so that i would have found this earlier! Thank you!
- Rated 5 out of 5by Frasty, 6 years ago
- Rated 5 out of 5by Firefox user 12922973, 6 years ago