URL verifier
How Sentinel checks that links in the model's response are well-formed and real
The SUPERWISE® Sentinel URL verifier is an output guardrail: it checks the links in the model's response before that response reaches your application. For every http(s):// or www. link, it confirms the link is well-formed and, optionally, that it actually exists and sits on a domain you allow. It catches the broken, made-up, and off-domain links that models sometimes invent, so users aren't sent to a dead or untrusted page.
Action: This guardrail works on the response, so instead of blocking it, you choose how it responds to a bad link — remediate (replace each failing link with your placeholder text), flag (record a finding and forward the response unchanged), or disclaimer (append your disclaimer text to the response). See Manage guardrails.
What it checks
Per unique link, the first failure wins:
- Well-formed — the link is a valid
http/httpsURL. (www.links are treated ashttps.) - Exists — the link answers within your timeout. A
2xx,3xx,401,403, or429counts as reachable; anything else, or no answer, fails. Redirects are not followed. - Allowed domain — with an include list, the host (or a parent domain) must be in it; with an exclude list, it must not be.
For safety, a host that resolves to a non-public IP address is never requested, so the check can't be used to probe your internal network.
Parameters
- Checks — which checks to run: well-formed and exists.
- Domain filter — include (allow only these domains) or exclude (block these domains), with the domains list.
- Timeout — how long to wait for links to answer, shared across the links in a response.
Example interception
With remediate selected and a response that contains a made-up link:
Model response:
"See the setup guide at https://docs.example.com/setup-v2 for the full steps."
If https://docs.example.com/setup-v2 doesn't resolve, Sentinel replaces it:
"See the setup guide at {{REDACTED}} for the full steps."
With disclaimer instead, the link is left in place and a note like "Some links in this response could not be verified." is appended.
Get Sentinel: Sentinel on superwise.ai.
See also
- Package verifier: catch made-up software packages in the model's code.
- Manage guardrails: add the guardrail, choose its action, and test it before publishing.
- Guardrails: what each guardrail catches.
Updated about 1 hour ago