Brave Browser
| Metadata | Value |
|---|---|
| Category | browsers |
| Capabilities | crypto, secrets, sql |
| Website | https://brave.com |
Returns shapes
Section titled “Returns shapes”webpage[]— fromlist_webpages,search_webpages
Connections
Section titled “Connections”historycookies_db
Readme
Section titled “Readme”Access browsing history, bookmarks, cookies, and session credentials from Brave Browser’s local databases.
Brave is Chromium-based, so it uses the same cookie encryption scheme as Chrome: AES-128-CBC with a key derived via PBKDF2 from a master password stored in macOS Keychain.
Requirements
Section titled “Requirements”- macOS only — reads local SQLite databases
- Brave Browser installed — databases must exist at the standard paths
- Full Disk Access — System Settings > Privacy & Security > Full Disk Access (for the process reading the databases)
- Brave closed (for cookies) — SQLite WAL lock; or use
cookie_getwhich copies to/tmp
Data Sources
Section titled “Data Sources”History ~/Library/Application Support/BraveSoftware/Brave-Browser/Default/HistoryCookies ~/Library/Application Support/BraveSoftware/Brave-Browser/Default/CookiesCookie Decryption
Section titled “Cookie Decryption”Brave encrypts cookie values on macOS using:
- A master password stored in macOS Keychain under
"Brave Safe Storage"/ account"Brave" - PBKDF2-HMAC-SHA1 (salt:
saltysalt, 1003 iterations, 16-byte key) - AES-128-CBC (IV: 16 space bytes =
20repeated 16 times in hex) - The encrypted value has a 3-byte
v10prefix that must be stripped before decryption
The get_cookie_key operation handles steps 1-2. The cookie_get operation does the full pipeline.
Cookie Extraction
Section titled “Cookie Extraction”Extract decrypted cookies for any domain. Consumed through cookie provider matchmaking at runtime.
run({ skill: "brave-browser", tool: "cookie_get", params: { domain: ".claude.ai", names: "sessionKey" } })→ { domain: ".claude.ai", cookies: [{name: "sessionKey", value: "sk-ant-...", httpOnly: true, ...}], count: 1 }
run({ skill: "brave-browser", tool: "cookie_get", params: { domain: ".chase.com" } })→ { domain: ".chase.com", cookies: [...], count: 5 }OPERATION DESCRIPTION-------------- -------------------------------------------------------list_webpages Recently visited pages from Brave historysearch_webpages Search browsing history by URL or title
OPERATION DESCRIPTION-------------- -------------------------------------------------------list_accounts List Brave profiles with display namesget_cookie_key Derive AES-128 key from Keychain (PBKDF2)list_cookies List raw (encrypted) cookies for a domaincookie_get Full pipeline: extract + decrypt any cookies for a domain