81trust / 100

Security Url Threat

by agentbit.app in Security & trust

x402 APIPassing, checked 1 h ago

Screen a URL before your agent follows it: phishing-pattern heuristics (IP-literal hosts, punycode, credentials in the URL, shorteners, deep subdomain nesting), a safe server-side redirect trace with cross-host detection, and an optional URLhaus malware-database lookup. Returns a 0-100 risk score with named flags. Honest scope: heuristics + public threat data, not a sandbox.

POST https://agentbit.app/v1/security/url-threat

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
80 ms typical, 80 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentbit.app/v1/security/url-threat" \
  -H "content-type: application/json" \
  -d '{"url":"https://bit.ly/3example"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagentbit.app%2Fv1%2Fsecurity%2Furl-threat
const res = await pay("https://agentbit.app/v1/security/url-threat", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://bit.ly/3example"}),
});
console.log(await res.json());

Example input

{
  "url": "https://bit.ly/3example"
}

Example output

{
  "disclaimer": "Heuristic and public-threat-data screening, not a sandbox detonation.",
  "flags": [
    "URL_SHORTENER"
  ],
  "host": "bit.ly",
  "redirect_trace": {
    "cross_host_redirect": true,
    "final_status": 200,
    "final_url": "https://example.com/",
    "hops": [
      {
        "status": 301,
        "url": "https://bit.ly/3example"
      },
      {
        "status": 200,
        "url": "https://example.com/"
      }
    ],
    "reachable": true
  },
  "risk": "clear",
  "risk_score": 15,
  "url": "https://bit.ly/3example",
  "urlhaus": {
    "checked": false,
    "note": "Set a free abuse.ch Auth-Key in Settings to enable the URLhaus lookup."
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed40283 ms$0.01
7 h agoPassed40280 ms$0.01