/viperclaw:viper-browseros-agentfrom viperclaw
Inspects live BrowserOS tabs for client storage, cookie flags, CSP headers, and SPA runtime behavior. Runs OWASP-aligned DOM security audits using BrowserOS MCP tools.
Ships in viperclaw. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
viper-browseros-agent)viper_browser_ingest, viper_harvest_js, viper_jwt_audit, viper_verify_and_reportviperclaw browser --scripts && viperclaw browser --ingest snapshot.json --db .viperclaw/graph.dbflowchart LR
Tab["Live BrowserOS Tab (Signed-In SPA)"] --> Hook["evaluate_in_page (Storage & Fetch Telemetry)"] --> Ingest["viper_browser_ingest (BrowserBridge)"] --> Graph[("SQLite Assessment Graph & JWT/JS Audit")]
Static bundle inspection misses dynamically fetched configurations, runtime localStorage/sessionStorage token leaks, fetch/XHR headers computed at runtime, and DOM state transitions that only occur inside an authenticated browser session.
Run the following discovery commands across the target repository before manual code review:
# 1. Automated ViperClaw analysis
viperclaw browser --scripts && viperclaw browser --ingest snapshot.json --db .viperclaw/graph.db
# 2. Rapid static pattern discovery (ripgrep)
viperclaw browser --scripts
viperclaw browser --ingest snapshot.json --db .viperclaw/graph.db
| Control ID | Audit Verification Target | Pass Criteria | Fail / Vulnerability Indicator |
|---|---|---|---|
BROS-01 | Client Storage Credential Audit | window.localStorage and window.sessionStorage contain zero raw JWTs, refresh tokens, or PII. | Long-lived Bearer JWTs or API keys persisted in localStorage (accessible to any XSS). |
BROS-02 | Runtime fetch / XHR Endpoint Mapping | All background API calls captured via install_runtime_hooks enforce server-side authentication and tenant scoping. | Hidden /api/internal/* or GraphQL mutations invoked by UI components lack backend role checks. |
BROS-03 | Next.js __NEXT_DATA__ / Nuxt State Audit | Hydration state (window.__NEXT_DATA__, window.__NUXT__) contains only fields rendered in the UI. | Full database user/organization objects (including internal IDs, emails, or role flags) serialized into page HTML. |
BROS-04 | Live Cookie Attribute Verification | Cookies visible in document.cookie exclude session identifiers (HttpOnly properly hides session cookies from JS). | Primary authentication session cookie readable via document.cookie. |
BROS-05 | DOM Sink & Client Router Inspection | URL query/hash changes (?redirect=, #tab=) do not trigger unescaped DOM writes or open redirects. | Client router passes URL parameters directly into innerHTML or window.location.href. |
BROS-06 | CORS & Preflight Runtime Behavior | Cross-origin API requests use explicit origin allowlists rather than reflecting the browser's Origin header. | API responds with Access-Control-Allow-Origin: <arbitrary-origin> + Allow-Credentials: true. |
BROS-07 | Post-Logout Browser State Cleanup | Clicking Logout clears localStorage, sessionStorage, IndexedDB caches, and invalidates the server session. | Sensitive tenant data remains in localStorage or browser back-button cache after logout. |
BROS-08 | Visual & Telemetry Evidence Capture | Audit findings include both viper_browser_ingest JSON receipts and browseros-neo:screenshot visual confirmation. | Client-side issues reported without runtime DOM confirmation. |
| Severity Tier | Baseline CVSS v3.1 Vector | Qualifying Security Impact |
|---|---|---|
| HIGH (8.1) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | Hydration state (__NEXT_DATA__) or background XHR leaks cross-tenant tokens or administrative APIs. |
| MEDIUM (6.1) | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | Verified DOM XSS or open redirect triggered in live browser session. |
| LOW (3.7) | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N | Sensitive session token stored in localStorage instead of HttpOnly cookie. |
# 1. Retrieve BrowserOS runtime telemetry scripts (extract_auth_and_state & install_runtime_hooks)
viperclaw browser --scripts
# 2. After running extract_auth_and_state in BrowserOS evaluate_in_page, ingest snapshot into ViperClaw
viperclaw browser --ingest ./browser_snapshot.json --db .viperclaw/graph.db
viperclaw taint and viperclaw verify to confirm zero remaining unmitigated flows in .viperclaw/graph.db.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub zahidoverflow/viperclaw --plugin viperclaw72 skills in this plugin
/viper-agent-skill-supplychainAI Agent Skill, Plugin & MCP Config Supply-Chain Auditor (modeled on NVIDIA SkillSpector & OWASP Agentic Skills Top 10). Audits SKILL.md bundles and MCP JSON configs./viper-ai-llm-guardrailsAI, LLM & MCP Application Security & Guardrails Auditor (OWASP LLM Top 10). Reviews prompt boundaries, RAG data isolation, tool-call authorization, and output sanitization./viper-api-gateway-apigee-kongAPI Gateway, BFF & Rate-Tier Policy Auditor (Kong, AWS API Gateway, Apigee, Envoy Gateway). Reviews JWT authorizers, backend origin lockdown, and route-level quotas./viper-auth-oauth-jwtAuthentication, OAuth 2.0 / OIDC & JWT Security Auditor. Reviews token verification, algorithm allowlisting, claim validation, and OAuth redirect_uri configurations./viper-aws-iam-cloud-auditAWS IAM, STS, S3, KMS & Lambda Security Auditor (modeled on Prowler, Parliament & CloudSplaining). Reviews iam:PassRole escalation, STS ExternalId, S3 policies, and IMDSv2./viper-bola-idorObject & Function-Level Authorization (BOLA / BFLA) Audit Skill. Reviews resource access controls, tenant scoping, and ownership checks across API endpoints and controllers.Other plugins' skills for the same job