@browserbridge/bbx 1.7.7 → 1.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/PRIVACY.md ADDED
@@ -0,0 +1,92 @@
1
+ # Browser Bridge (BBX) Privacy Policy
2
+
3
+ Last updated: 2026-03-27
4
+
5
+ ## Overview
6
+
7
+ Browser Bridge is a developer tool that lets a user-approved local agent inspect and interact with web pages in an explicitly enabled Chrome window. This policy describes how Browser Bridge handles data.
8
+
9
+ ## What Browser Bridge can access
10
+
11
+ When you enable Browser Bridge for a Chrome window, Browser Bridge can access page data from tabs in that window as needed to fulfill your requests. Depending on the action you or your connected agent triggers, this can include:
12
+
13
+ - Page metadata such as URL, title, viewport, and scroll position
14
+ - DOM structure, element attributes, visible text, and layout information
15
+ - Computed styles, matched rules, and accessibility-tree data
16
+ - Console messages and uncaught page errors
17
+ - Network request metadata captured from page `fetch` and `XMLHttpRequest` activity, such as URL, method, status, timing, and size
18
+ - `localStorage` and `sessionStorage` values when explicitly requested
19
+ - Screenshots or cropped image captures when explicitly requested
20
+ - User-triggered interaction data such as clicks, typing, key presses, selection changes, and navigation actions
21
+
22
+ Browser Bridge is designed for local debugging and automation of the browser state you intentionally expose to it.
23
+
24
+ ## How Browser Bridge uses data
25
+
26
+ Browser Bridge uses this data only to provide its user-facing purpose: letting you inspect, test, and patch the currently enabled browser window from a connected developer tool or agent.
27
+
28
+ The extension sends request and response data locally through:
29
+
30
+ 1. The Browser Bridge Chrome extension
31
+ 2. The Browser Bridge native messaging host running on your machine
32
+ 3. The local agent client or IDE that you intentionally connect
33
+
34
+ Browser Bridge does not operate a Browser Bridge cloud service and does not send extension data to developer-operated remote servers.
35
+
36
+ ## Sharing and downstream processing
37
+
38
+ Browser Bridge shares page data only with the local companion components and local client you choose to connect.
39
+
40
+ Important:
41
+
42
+ - Browser Bridge itself does not sell your data.
43
+ - Browser Bridge itself does not use your data for advertising.
44
+ - Browser Bridge itself does not transfer page data to Browser Bridge-operated remote infrastructure.
45
+ - Your connected agent or IDE may, depending on its own configuration and provider, forward prompts, tool calls, or tool results to remote services. That downstream handling is controlled by the connected product, not by Browser Bridge.
46
+
47
+ You should review the privacy and retention practices of any connected agent, IDE, or model provider you use with Browser Bridge.
48
+
49
+ ## Data retention
50
+
51
+ Browser Bridge keeps data only as long as needed for the current local session and feature behavior.
52
+
53
+ - Window enablement state is stored in session storage and cleared when disabled or when the browser session ends.
54
+ - Action log entries are stored for the current browser session only.
55
+ - Console and network buffers are bounded in memory and cleared when disabled or when the page state is reset.
56
+ - Patch state and remembered element references are session-scoped and cleared on disable, page replacement, or navigation as needed.
57
+
58
+ Browser Bridge does not provide Browser Bridge-hosted accounts, sync, or long-term server-side storage.
59
+
60
+ ## User control
61
+
62
+ You control when Browser Bridge can access browser data.
63
+
64
+ - Access is off by default.
65
+ - You explicitly enable Browser Bridge for a Chrome window.
66
+ - You can disable it at any time.
67
+ - Restricted Chrome pages are not scriptable through Browser Bridge.
68
+
69
+ ## Remote code and runtime evaluation
70
+
71
+ Browser Bridge does not load remotely hosted extension code.
72
+
73
+ Browser Bridge can, when you explicitly invoke features such as page evaluation, execute user-requested expressions in the inspected page context through Chrome's documented Debugger API. That execution affects only the currently enabled browser window and is part of Browser Bridge's developer-tool functionality.
74
+
75
+ ## Security
76
+
77
+ - Extension code is packaged with the extension; Browser Bridge does not fetch and execute remote extension scripts.
78
+ - Communication with the companion host uses Chrome Native Messaging.
79
+ - Access is limited to the explicitly enabled browser window.
80
+ - The extension includes bounded buffers and session-scoped rollback for temporary page patches.
81
+
82
+ ## Chrome Web Store Limited Use statement
83
+
84
+ The use of information received from Google APIs will adhere to the Chrome Web Store User Data Policy, including the Limited Use requirements.
85
+
86
+ ## Changes
87
+
88
+ If Browser Bridge's data practices change, this policy will be updated before those changes are released.
89
+
90
+ ## Contact
91
+
92
+ - GitHub Issues: https://github.com/koltyakov/browser-bridge/issues
package/README.md CHANGED
@@ -143,6 +143,10 @@ Browser Bridge itself routes extension data locally through the Chrome extension
143
143
 
144
144
  Your connected agent or IDE may still forward tool calls or tool results to remote services under that product's own settings and privacy policy. See [PRIVACY.md](https://github.com/koltyakov/browser-bridge/blob/main/PRIVACY.md) for the Browser Bridge policy.
145
145
 
146
+ ## Responsible Use
147
+
148
+ Browser Bridge is intended for local development, debugging, and testing of web resources you own, control, or are explicitly authorized to test. Do not use it for web scraping, unauthorized data collection, or impersonating or acting as another user. You are responsible for the agents you connect, the actions they perform, and compliance with applicable laws, permissions, website terms, and third-party rights. See the [Responsible Use Agreement](https://github.com/koltyakov/browser-bridge/blob/main/RESPONSIBLE_USE.md).
149
+
146
150
  ## License
147
151
 
148
152
  MIT. See [LICENSE](https://github.com/koltyakov/browser-bridge/blob/main/LICENSE).
@@ -0,0 +1,16 @@
1
+ # Browser Bridge (BBX) Responsible Use Agreement
2
+
3
+ Last updated: 2026-07-22
4
+
5
+ Browser Bridge is intended for local development, debugging, and testing of websites, applications, and other web resources that you own, control, or have explicit permission to test.
6
+
7
+ By using Browser Bridge, you agree that you will not use it to:
8
+
9
+ - Scrape websites or perform bulk, automated, or unauthorized data collection.
10
+ - Impersonate another user or act through another person's identity, credentials, account, or authenticated session without their explicit authorization.
11
+ - Access systems or data without authorization, bypass access controls, violate privacy, or perform deceptive, fraudulent, abusive, or harmful actions.
12
+ - Violate applicable laws, regulations, contractual obligations, website terms, or third-party rights.
13
+
14
+ You are responsible for the browser windows you enable, the agents and services you connect, the instructions and actions they perform, the data they access or transmit, and any resulting impact. You must obtain all necessary permissions and consent and review the privacy and security practices of connected agents, IDEs, and model providers.
15
+
16
+ Use Browser Bridge fairly, lawfully, and only within an authorized scope. This agreement does not modify the project's [MIT License](./LICENSE).
package/SECURITY.md ADDED
@@ -0,0 +1,52 @@
1
+ # Security Policy
2
+
3
+ Browser Bridge gives coding agents structured access to a real browser profile. The daemon,
4
+ native messaging host, Chrome extension, CLI, and MCP server are all part of the trusted
5
+ path between an agent and the user's browser, so security reports are taken seriously.
6
+
7
+ ## Supported Versions
8
+
9
+ Only the latest version published to npm (`@browserbridge/bbx`) and the Chrome Web Store
10
+ receives security fixes. Older versions are not patched retroactively; upgrade to the
11
+ latest release before reporting.
12
+
13
+ ## Reporting a Vulnerability
14
+
15
+ Please do **not** open a public GitHub issue for security vulnerabilities.
16
+
17
+ Report privately via GitHub's security advisory form:
18
+ <https://github.com/koltyakov/browser-bridge/security/advisories/new>
19
+
20
+ Include the affected component (daemon, native host, extension, CLI, MCP server), a
21
+ reproduction, and the impact you believe it has. Reports are acknowledged as quickly as
22
+ possible; fixes for confirmed vulnerabilities are prioritized over regular development.
23
+
24
+ ## Scope
25
+
26
+ In scope:
27
+
28
+ - The bridge daemon: transport auth (socket permissions, TCP auth token), request routing,
29
+ and the opt-in proxy/remote mode.
30
+ - The native messaging host and its manifest installation.
31
+ - The Chrome extension (MV3 service worker, content scripts, CDP usage).
32
+ - The `bbx` CLI and MCP server, including config/skill installation paths.
33
+
34
+ Out of scope:
35
+
36
+ - Vulnerabilities in Chrome, Node.js, or other dependencies (report upstream).
37
+ - Issues requiring an already-compromised machine or browser profile.
38
+ - The inherent capability of the tool itself: an agent authorized to use Browser Bridge
39
+ can, by design, read and manipulate pages in the connected browser profile. See
40
+ [PRIVACY.md](https://github.com/koltyakov/browser-bridge/blob/main/PRIVACY.md) and
41
+ [docs/agent-permissions.md](https://github.com/koltyakov/browser-bridge/blob/main/docs/agent-permissions.md)
42
+ for the intended trust model.
43
+
44
+ ## Design Notes
45
+
46
+ - By default the daemon listens on a user-owned Unix socket (mode `0700` directory) or,
47
+ on Windows, a named pipe / localhost TCP.
48
+ - Any TCP listener requires a random 256-bit auth token stored with mode `0600`;
49
+ registration without it is rejected and the comparison is constant-time.
50
+ - Proxy mode (LAN exposure) is opt-in via `bbx proxy enable` and always provisions a
51
+ token; an invalid `bindHost` in the config rejects the config rather than widening
52
+ the bind address.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@browserbridge/bbx",
3
- "version": "1.7.7",
3
+ "version": "1.7.8",
4
4
  "private": false,
5
5
  "keywords": [
6
6
  "agent-tools",
@@ -33,7 +33,10 @@
33
33
  },
34
34
  "files": [
35
35
  "LICENSE",
36
+ "PRIVACY.md",
37
+ "RESPONSIBLE_USE.md",
36
38
  "README.md",
39
+ "SECURITY.md",
37
40
  "packages/agent-client/src",
38
41
  "packages/mcp-server/src",
39
42
  "packages/native-host/bin",