
Security News
Critical Security Vulnerability in React Server Components
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.
@agent-infra/browser
Advanced tools
@agent-infra/browser is an SDK based on puppeteer specifically designed to provide foundational functionality for browser agents. It provides high-level abstractions for tab management, dialog handling, hotkey support, and more while maintaining simple and intuitive APIs.
npm install @agent-infra/browser
Here is a simple usage demo. Browser will find the Chrome or Edge browser installed on your computer, launch a controlled browser instance, and then execute some operations through CDP control.
import { Browser } from '@agent-infra/browser';
// Create browser instance
const browser = await Browser.create();
// Set User-Agent (optional)
browser.setUserAgent({
userAgent:
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
});
// Get current active tab
const activeTab = browser.getActiveTab();
// Navigate to specified webpage
await activeTab.goto('https://example.com');
// Take screenshot
const screenshot = await activeTab.screenshot();
// Close browser
await browser.close();
For detailed API documentation and advanced usage examples, please refer to our complete documentation.
Apache License 2.0.
Special thanks to the open source projects that inspired this toolkit:
FAQs
agent-infra browser
We found that @agent-infra/browser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.

Security News
TypeScript 6.0 will be the last JavaScript-based major release, as the project shifts to the TypeScript 7 native toolchain with major build speedups.