obscura

Active
GitHub Rust Apache-2.0

Description

Obscura is an AI security and red-teaming toolkit that probes LLM agents and prompts for jailbreaks, data leaks, and unsafe tool use.

Key Features

  • Ultra-lightweight at 30MB memory and 70MB binary, far smaller than Headless Chrome
  • Built-in anti-detection to counter scraper fingerprinting
  • Full Chrome DevTools Protocol compatibility
  • Puppeteer and Playwright compatible — existing scripts migrate seamlessly
  • Millisecond startup time, near-zero compared to ~2s for Chrome
  • 85ms page loads, much faster than traditional Headless Chrome

Use Cases

💡 Provide a low-resource web automation runtime for AI agents
💡 Run large-scale web scraping with reduced server cost
💡 Run browser-based end-to-end tests in CI pipelines
💡 Perform controlled scraping against sites with strict anti-bot measures

Quick Start

# Install Obscura
brew install obscura  # macOS / Linux

# Control via Puppeteer-style API
import { Browser } from "obscura"
const browser = await Browser.launch()
const page = await browser.newPage()
await page.goto("https://example.com")
const title = await page.title()
console.log(title)
await browser.close()

Related Projects