rir_detect_route_leak
Detect BGP route leaks or hijacks for a prefix using RIPE Stat data. Identifies multiple origin ASNs and AS-path loops to validate routing security.
Instructions
Detect potential BGP route leaks or hijacks for a prefix using RIPE Stat BGP-state data.
Checks for:
Multiple distinct origin ASNs (possible hijack — two ASNs claiming the same prefix)
AS-path loops (valley-free violations — a transit ASN re-exporting a learned route)
Args: params (RouteLeakInput): - prefix (str): CIDR prefix e.g. '1.1.1.0/24' - response_format (str): 'markdown' (default) or 'json'
Returns: str: Leak detection result with confidence, suspect ASNs, and anomalous AS paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |