Skip to content
Solutions · by use case

Passive security review

Headers, cookies, TLS and exposed source maps.

security-passive is a read-only review of one page. It never submits a form or sends a payload. Optional probes make a handful of extra same-origin GETs to look for exposed source maps and directory listings.

Skills:security-passive

What you get

  • Header and cookie findings
  • Mixed content and TLS
  • Exposed source maps and listings
  • Insecure forms

Step by step

From an API key to a report, then onto every pull request.

  1. 1

    Connect WebAgent

    Create an API key in the dashboard, then export it for the webagent CLI, or add the MCP server to Claude Code so your agent can call run_skill itself.

    sh
    export WEBAGENT_API_URL=https://api.example.com WEBAGENT_API_KEY=…
    
    # or hand the browser to Claude Code
    claude mcp add webagent -e WEBAGENT_API_URL=$WEBAGENT_API_URL -e WEBAGENT_API_KEY=$WEBAGENT_API_KEY -- npx -y @webagent/mcp
  2. 2

    Review a page

    Run it on the pages that matter most: login, checkout, the app shell.

    sh
    webagent skills run security-passive --url https://staging.example.com/login --report security.html
  3. 3

    Turn the probes off if you need to

    Set probe to false to stay strictly on the requests the page itself makes.

    json
    { "url": "https://staging.example.com/login", "probe": false }
  4. 4

    Read the report

    The run finishes with a summary line and findings grouped by severity, each with its evidence. Open the HTML report to share one page instead of a pile of screenshots.

  5. 5

    Run it on every pull request

    webagent ci reads webagent.yml, runs each entry against your preview URL and exits 1 when a finding reaches failOn. It writes JUnit, HTML and SARIF, and the GitHub Action posts one PR comment.

    yaml
    # webagent.yml
    baseUrl: ${{ env.PREVIEW_URL }}
    failOn: high
    runs:
      - skill: security-passive
        inputs: { url: /login }
    report: [junit, html, sarif]

Inputs

For security-passive. Pass them as flags, JSON or in plain words to your agent.

urlPage to review (required).
probeAlso look for exposed source maps and directory listings next to loaded assets: a handful of same-origin GETs (default on).

Run your first check today.

Free plan: 20 credits, given once, no card.