Skip to main content

AI Scanner

An open-source AI model security assessment platform, built on Ruby on Rails and NVIDIA garak. AI Scanner helps organizations test their AI systems for vulnerabilities before deployment, much like penetration testing for traditional software.

What is AI Scanner?

AI models are increasingly deployed in production systems, but standard security practices don't yet cover model-level vulnerabilities. AI Scanner provides a structured workflow for identifying common weaknesses (prompt injection, jailbreaks, data leakage, harmful content generation, and more) using a library of standardized probes aligned to the OWASP LLM Top 10.

Key Features

FeatureDescription
179 community probesAcross 35 vulnerability families, from garak's community probe library
Multi-target scanningTest API-based LLMs and browser-based chat UIs
Scheduled & on-demand scansConfigurable recurrence, run on your timeline
Attack Success Rate (ASR)Consistent scoring with trend tracking across runs
PDF report exportPer-probe, per-attempt drill-down
SIEM integrationForward results to Splunk or Rsyslog
Multi-tenantMultiple organizations on a single deployment, data encrypted at rest
No artificial limitsAll features unlocked, unlimited scans and users

Supported AI Providers

AI Scanner connects to AI models via garak generators. Supported provider families include:

ProviderType
OpenAIAPI
Azure OpenAIAPI
Ollama (local)API
Hugging FaceAPI
AWS BedrockAPI
GroqAPI
CohereAPI
ReplicateAPI
OpenRouterAPI
LiteLLM (Anthropic, Google, etc.)API
NVIDIA NIM / NVCFAPI
MistralAPI
REST (any HTTP endpoint)API
Any web-based chat UIWebchat

API keys are managed per-target in the AI Scanner UI, so you don't need to set global environment variables.

How It Works

  1. Configure: Add an AI target (API endpoint or web UI)
  2. Select: Choose probe families to test
  3. Scan: AI Scanner invokes garak against your target
  4. Review: View Attack Success Rate scores and per-attempt results
  5. Track: Compare ASR trends across scan runs over time

Get Started

New to AI Scanner?

Start with the Quick Start guide to get up and running in minutes with Docker.

Contributing?

See the Development Setup guide and Contributing conventions.


Architecture Overview

AI Scanner is a Rails 8 application with an extensible engine architecture. Organizations can layer custom functionality without forking the core:

See the Architecture page for a full component diagram.