Malware URL
The Malware URL detector scans and detects malicious URLs in the input prompt. Safeguards users from potential threats by classifying URLs as either malicious or benign.
Vulnerability
Configuration
Initialize the Malware URL Detector with the desired options:
from safeguards.shield.input_detectors import LanguageInput
safeguards = Shield()
input_detectors = [LanguageInput()]
sanitized_prompt, valid_results, risk_score = safeguards.scan_input(prompt, input_detectors)