- Replaced the default DialContext with SSRFSafeDialContext in the raw HTTP client to improve security against DNS rebinding attacks. - Added SSRF validation for BaseURL and endpoint in NewRemoteAPIChat and chat methods, ensuring safer URL handling. - Updated security utility functions to provide consistent SSRF checks across the application. |
||
|---|---|---|
| .. | ||
| crypto.go | ||
| crypto_test.go | ||
| debug.go | ||
| filesize.go | ||
| httputil.go | ||
| inject.go | ||
| inject_test.go | ||
| json.go | ||
| log_sanitize.go | ||
| security.go | ||
| security_test.go | ||
| taskid.go | ||