| Version | Supported |
|---|---|
| 0.2.x | Yes |
| < 0.2 | No |
If you discover a security vulnerability in BAP, please report it responsibly.
Do not open a public GitHub issue for security vulnerabilities.
Instead, please send a report to the maintainers via one of these channels:
- GitHub Security Advisories: Use the private vulnerability reporting feature on GitHub
- Email: Send details to the repository maintainers listed in the GitHub organization
- Description of the vulnerability
- Steps to reproduce
- Affected versions and packages
- Potential impact
- Suggested fix (if any)
- Acknowledgment: Within 48 hours
- Initial assessment: Within 1 week
- Fix or mitigation: Depends on severity, targeting:
- Critical: 48 hours
- High: 1 week
- Medium: 2 weeks
- Low: Next release cycle
BAP controls web browsers on behalf of AI agents. Operators and users should be aware of these security boundaries:
- The
--tokenflag enables token-based authentication for WebSocket connections - Always use authentication in production — without it, any process on the network can control the browser
- Tokens are compared using constant-time equality to prevent timing attacks
- By default, the server binds to
localhostonly - Do not expose BAP servers to the public internet without authentication and TLS
- Use
--hostwith caution; binding to0.0.0.0exposes the server to all network interfaces
- The
--allowed-domainsflag restricts which domains the browser can navigate to - Use this in production to prevent navigation to unintended sites
- BAP inherits Playwright's browser sandbox settings
- Chromium runs with sandbox enabled by default
- Do not disable the browser sandbox in production
- Screenshots and page content may contain sensitive data
- Storage state export (
getStorageState) includes cookies and local storage - Treat all browser data as potentially sensitive
BAP depends on:
- Playwright for browser control
- ws for WebSocket transport
- Zod for schema validation
We monitor dependencies for known vulnerabilities and update promptly.