npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-browserbase-secure

v1.1.1

Published

Security-hardened Browserbase node for n8n — session recording and logging permanently disabled

Readme

n8n-nodes-browserbase-secure

A security-hardened fork of browserbase/n8n-node for organizations that handle sensitive data in browser automation workflows.

Why This Fork Exists

The official Browserbase n8n node enables session recording and session logging by default. These features capture browser screenshots, click coordinates, input values, and DOM operations — all stored on Browserbase servers for up to 30 days.

For back-office automation (expense processing, internal tool operations, HR workflows, etc.), browser sessions routinely display employee personal information and confidential business data. Having this data recorded and stored on a third-party server is an unacceptable security risk.

This fork permanently disables these features at the code level and removes the corresponding UI parameters, ensuring that no workflow builder can accidentally or intentionally re-enable them.

Disabled Features

| Feature | Upstream Default | This Fork | Why Disabled | |---------|:---:|:---:|---| | Session Recording (recordSession) | true | false (hardcoded) | Browser screen recordings are stored on Browserbase servers for 30 days. Internal system screens would be exposed to a third party. | | Session Logging (logSession) | true | false (hardcoded) | Operation logs (click coordinates, input content, DOM operations) are recorded and stored. Sensitive data can be inferred from input values and page structure. |

Both UI parameters are removed entirely — users cannot re-enable these features from the n8n interface.

Changes from Upstream

Only nodes/Browserbase/Browserbase.node.ts is modified:

  1. browserSettings hardcodes recordSession: false and logSession: false
  2. Record Session and Log Session UI parameter definitions removed from Browser Options
  3. Corresponding TypeScript type definitions removed

Package renamed to n8n-nodes-browserbase-secure to avoid conflicts with the official package.


This is an n8n community node that lets you automate browsers using Browserbase powered by Stagehand in your n8n workflows.

n8n is a fair-code licensed workflow automation platform.

Installation

Follow the installation guide in the n8n community nodes documentation.

Development / Testing with Docker

# Install dependencies
npm install

# Build the node
npm run build

# Run n8n with your node in Docker
docker-compose up --build

# Open http://localhost:5678 and search for "Browserbase" node

To rebuild after changes:

npm run build && docker-compose up --build

How It Works

The Browserbase Agent node is a single, self-contained node that:

  1. Creates a browser session
  2. Navigates to your starting URL
  3. Executes an AI agent to complete your task
  4. Closes the session automatically

Just provide a URL and an instruction - the node handles everything else.

Configuration

Required Fields

| Field | Description | |-------|-------------| | Starting URL | The page where the agent begins (e.g., https://example.com) | | Instruction | Natural language task for the agent to complete |

Driver Model

The driver model powers the browser session (navigation, DOM interactions). Choose from:

  • google/gemini-2.5-flash (Recommended - fast & cheap)
  • google/gemini-2.5-pro
  • openai/gpt-4o
  • openai/gpt-4o-mini
  • anthropic/claude-sonnet-4-5-20250929

Agent Mode

| Mode | Description | Best For | |------|-------------|----------| | CUA | Computer Use Agent - uses vision and coordinates | Complex UIs, visual interactions | | DOM | Uses DOM selectors - works with any LLM | Speed, simple pages | | Hybrid | Combines both approaches | Fallback reliability |

Agent Models

Models available depend on the selected mode:

CUA Mode:

  • google/gemini-2.5-computer-use-preview-10-2025
  • openai/computer-use-preview
  • anthropic/claude-sonnet-4-20250514
  • anthropic/claude-sonnet-4-5-20250929
  • anthropic/claude-haiku-4-5-20251001

DOM Mode:

  • google/gemini-2.5-flash
  • google/gemini-2.5-pro
  • openai/gpt-4o
  • openai/gpt-4o-mini
  • anthropic/claude-sonnet-4-5-20250929

Hybrid Mode:

  • google/gemini-3-flash-preview
  • anthropic/claude-sonnet-4-20250514
  • anthropic/claude-haiku-4-5-20251001

Credentials

You need three credentials:

| Credential | Description | |------------|-------------| | Browserbase API Key | Your Browserbase API key | | Browserbase Project ID | Your Browserbase project ID | | Model API Key | API key for your chosen model provider |

Important: The Model API Key must match the provider of your models. If using Google models, provide a Google API key. If using OpenAI, provide an OpenAI key.

Getting Credentials

  1. Sign up at Browserbase
  2. Navigate to your dashboard for API key and Project ID
  3. Get an API key from your model provider:

Example Usage

Simple extraction:

  • URL: https://news.ycombinator.com
  • Instruction: Find the top 3 stories and return their titles and URLs

Form filling:

  • URL: https://example.com/contact
  • Instruction: Fill out the contact form with name "John Doe" and email "[email protected]", then submit

Navigation + action:

  • URL: https://github.com
  • Instruction: Search for "stagehand" and click on the first repository result

Output

The node returns an AgentResult object:

{
  "success": true,
  "message": "Task completed successfully",
  "actions": [
    { "type": "act", "action": "clicked submit button" }
  ],
  "completed": true,
  "usage": {
    "input_tokens": 1250,
    "output_tokens": 340,
    "inference_time_ms": 2500
  },
  "sessionId": "abc-123"
}

Compatibility

Compatible with [email protected] or later

Resources