Feature Overview
Malicious URL detection is a content security capability of LLM security. It performs security checks on malicious URLs such as risky websites and phishing links that may exist in LLM interaction content, reducing the risk of data leakage and security intrusion.
Detection Type
Malicious URL detection covers common types of malicious URLs, including social engineering fraud, information scams, fake sales, malicious files, gambling websites, and illegal websites. The complete rule items are subject to what is displayed in the console.
Prerequisites
The LLM business has been connected to the LLM security feature through the SDK/API Integration method. Note:
A single request can contain up to 50 URLs. Each URL can be up to 2,048 characters long, and any excess will be truncated.
Operation Step
1. Log in to the WAF console, and in the left sidebar, choose LLM Security > SDK Integration. 2. In the operation column of the target application, click Security Configurations.
3. In the Protection Configuration area, enable the Malicious URL Detection feature.
4. Click Malicious URL Detection to switch to the Malicious URL Detection tab.
5. In the rule list, find the rule you want to enable, and click the On/Off on the right to turn it on.
6. In the Action column dropdown list, select the post-hit handling method:
Observe: Logs the hit event without blocking the request. You can select this action during the initial phase after policy rollout to evaluate the false positive rate.
Block: Blocks the request and returns a block prompt. For input content, requests sent from users to the origin server are blocked. For output content, model output is stopped and a prompt message is returned.
7. To perform batch operations on multiple rules, select the checkboxes before the rules, click Batch Configuration above the list, and then adjust the action and on/off settings in a unified manner.
8. Detection logs can be queried through Log Audit, supporting retrospective analysis. References