Add real-time AI security alerts to any website with a single script tag. The widget fetches the latest issues from the AI Sec Watch API and renders inside a shadow DOM to avoid CSS conflicts with your site.
<script src="https://aisecwatch.com/widget.js" data-severity="critical" data-limit="5" data-theme="light"></script>
Minimal version (uses defaults): <script src="https://aisecwatch.com/widget.js"></script>
Drop the embed code into any HTML page. The script loads asynchronously and won't block your page rendering.
The widget creates a shadow DOM container, ensuring its styles never conflict with your existing CSS.
Issues are fetched directly from the AI Sec Watch public API with CORS support. Data updates every 4 hours.
Use data-severity, data-limit, and data-theme to control what the widget displays and how it looks.
| Attribute | Default | Options |
|---|---|---|
| data-severity | critical | critical, high, medium, low, info |
| data-limit | 5 | 1 to 10 |
| data-theme | light | light, dark |
Need more control? Use the REST API directly for full programmatic access to all fields and filters.