# Link Security

***

#### Link Security <a href="#link-security" id="link-security"></a>

Heimdall automatically checks links posted in chat for safety:

* **Safe domain whitelist:** Configurable list of trusted domains (cached with regular updates)
* **Redirect chain following:** Follows shortened URLs (bit.ly, t.co, tinyurl.com, etc.) to check the final destination
* **Pattern matching:** Regex patterns detect phishing, malware, and scam content on linked pages
* **404 detection:** Links returning 404 errors are flagged as dangerous
* **Re-checking:** Previously checked URLs are re-validated every 7 days


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.odin.tools/tools/heimdall-protection-bot/link-security.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
