Skip to content
Solutions · by use case

Suspicious links

Redirects, requests and downloads, recorded.

url-sandbox detonates a link in an isolated session: dialogs are refused, late scripts get time to fire, and the report shows the redirect chain, requests by host, downloads and a risk summary.

Skills:url-sandbox

What you get

  • Redirect chain
  • Requests by host
  • Downloads
  • Risk summary

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

    Open the link

    Paste the link from the report or the phishing email.

    sh
    webagent skills run url-sandbox --url "https://suspicious.example/…" --report sandbox.html
  3. 3

    Wait for late behaviour

    Raise settleMs when a page redirects or downloads only after a delay.

    json
    { "url": "https://suspicious.example/…", "settleMs": 5000 }
  4. 4

    Read the verdict

    The summary gives the risk, the redirect hops, the final host, the hosts contacted and the downloads. Each download comes with its hash and MIME type.

  5. 5

    Run it from your own code

    Every skill is also one HTTP call. The response has the status, a summary, findings by severity and a link to the HTML report.

    sh
    curl -s -X POST $WEBAGENT_API_URL/v1/skills/url-sandbox/run \
      -H "authorization: Bearer $WEBAGENT_API_KEY" -H 'content-type: application/json' \
      -d '{"inputs":{"url":"https://suspicious.example/…"}}'
    # { "status": "failed", "summary": "…", "findings": [...], "reportUrl": "/v1/skill-runs/run_…/report" }

Inputs

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

urlThe link to open (required).
settleMsExtra time for late scripts, redirects and downloads to fire (default 1500 ms).

Run your first check today.

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