Skip to content
Solutions · by role

WebAgent for security engineers

Review headers, cookies and TLS without attacking anything.

security-passive reads one page the way a browser does and reports what is misconfigured: response headers, cookie flags, mixed content, TLS, exposed source maps, directory listings and insecure forms. It is read-only, and every request stays on the page's own origin.

Skills:security-passivesite-auditurl-sandbox

What you get

  • Findings by severity
  • Evidence for each finding
  • SARIF for GitHub code scanning
  • An HTML report

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 one page

    Start with the login page or the app shell. The run checks security headers, cookie flags, mixed content and TLS, then probes for exposed source maps and directory listings next to the loaded assets.

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

    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.

  4. 4

    Sweep the whole site

    site-audit runs the same passive checks on every page it can reach, so a missing header on one forgotten route still shows up.

    sh
    webagent skills run site-audit --url https://staging.example.com --report site.html
  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]
  6. 6

    Put it on a schedule

    A schedule runs the skill on a cron, for example a nightly security sweep. Each run is an ordinary skill run with its own report.

    sh
    webagent schedules create security-passive --cron "0 2 * * *" --url https://staging.example.com

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.