Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Handing Real Logins to Headless AI Agents: Building the Lightpanda Session Bridge

说明与用途

AI 代理可以使用 Lightpanda Session Bridge 安全地与 Web 仪表盘交互,该桥只传递临时、受限的 Cookie,而不暴露密码。

问题

AI agents need to interact with modern web dashboards that use OAuth, SSO, passkeys, and 2FA, but headless browsers cannot perform these authentication rituals, forcing insecure credential handling.

结果

Agents can securely interact with authenticated web dashboards without exposing passwords, reducing credential leakage risk and improving workflow isolation.

工作流

  • 1. User logs into target site using native browser authentication (passkey, OAuth, 2FA).
  • 2. User clicks the Lightpanda Session Bridge extension’s Sync button.
  • 3. Extension extracts and normalizes cookies for the active domain and posts them to the local relay at 127.0.0.1:8765 with a secure token.
  • 4. The relay validates origin, normalizes cookie format, and forwards them over CDP WebSocket to a Lightpanda headless instance running in WSL2.
  • 5. The AI agent connects to Lightpanda via the Python SDK, attaches to the authenticated page, and evaluates JavaScript to perform its task.
  • 6. Agent completes its work without ever seeing the user’s credentials.
  • 7. User can revoke the session by logging out of the main browser, instantly invalidating the headless session.

证据

Zero credentials typed, zero secrets exposed to LLMs.

来源

The relay never logs a cookie value.

来源

Backed by 9 automated security test suites, validating private IP rejections, CDP payload structures, and token enforcement.

来源

  • 记录日期: 2026-09-14T19:15:24.192Z