Basilisk
basilisk.rothackers.com
- Free plan
- Windows
- macOS
- Linux
What Basilisk is
Basilisk is an open-source framework for authorized security testing, vulnerability research, and academic study of AI and large language models. It provides 32 attack modules across eight categories mapped to the OWASP LLM Top 10. Its prompt-evolution engine changes prompts using mutation and crossover strategies, then scores results using multiple signals. Multi-turn tests examine prompt cultivation, authority escalation, and sycophancy, while monitoring guardrail drift. Basilisk supports providers including OpenAI, Anthropic, Google, xAI Grok, Groq, Azure OpenAI, GitHub Models, and Ollama, as well as custom HTTP or WebSocket endpoints. It exports reports as HTML, SARIF 2.1.0, JSON, Markdown, and PDF. GitHub Actions and GitLab CI integrations can use SARIF output and fail pipelines on critical findings. The project offers desktop packages, pip, Docker, and source installation for Linux, macOS, and Windows. The CLI requires Python 3.11 or higher and a provider API key. Testing systems you do not own requires explicit written authorization.
Who it suits
Basilisk suits security teams, vulnerability researchers, and academics testing AI or LLM systems they are authorized to assess. It also fits users who want local processing and CI/CD integration.
Good to know, and what to watch
- Includes 32 attack modules in eight categories.
- Supports multiple providers and custom endpoints.
- Exports SARIF, JSON, HTML, Markdown, and PDF.
- Prompt evolution and report generation run locally.
- Free under the AGPL-3.0 license.
- CLI requires Python 3.11 or higher.
- CLI requires an API key for the tested provider.
- Testing systems you do not own requires written authorization.
Plans
Every plan and priceAGPL-3.0 open-source software
Free plan
Getting started
- Open the Basilisk website
- Choose a Windows, macOS, Linux, pip, Docker, or source installation
- Install Python 3.11 or newer when using the CLI
- Provide an API key for the LLM provider being tested
- Run authorized tests and export reports in the required format
Limits to check
The free AGPL-3.0 plan is limited by authorized-use requirements and the CLI prerequisite of Python 3.11 or newer plus a provider API key.
The verdict
Basilisk offers a broad set of LLM testing modules, reporting formats, and deployment options at no charge. Check the CLI prerequisites and obtain explicit written authorization before testing systems you do not own.
Questions people ask
Is Basilisk free?
Yes. The AGPL-3.0 open-source plan costs nothing.
Which platforms are supported?
Basilisk provides packages for Linux, macOS, and Windows, plus pip, Docker, and source installation.
Which model providers can it test?
It supports OpenAI, Anthropic, Google, xAI Grok, Groq, Azure OpenAI, GitHub Models, Ollama, and custom HTTP or WebSocket endpoints.
Does Basilisk send data to its maker?
The CLI and Desktop app do not send telemetry, scan results, API keys, or personal data to Basilisk. Prompt evolution, payload mutation, and report generation run locally.
What license does Basilisk use?
Basilisk is released under the AGPL-3.0 license, subject to that license's terms.
What the maker publishes
- Attack modules
- It includes 32 attack modules across 8 categories mapped to the OWASP LLM Top 10. source
- Authorized use
- Users must obtain explicit written authorization before testing AI or LLM systems they do not own. source
- CI/CD
- GitHub Actions and GitLab CI integration uses SARIF output and can fail pipelines on critical findings. source
- Install methods
- The project provides Windows, macOS, and Linux desktop packages, a pip CLI, Docker images, and source installation. source
- License
- Basilisk is released under the AGPL-3.0 license, permitting use, copying, modification, and distribution subject to the license and terms. source
- Local processing
- Prompt evolution, payload mutation, and report generation run entirely on the user's local machine. source
- Multi-turn testing
- Multi-turn modules perform prompt cultivation, authority escalation, and sycophancy exploitation with guardrail drift monitoring. source
- Prerequisites
- The CLI requires Python 3.11 or higher and an API key for the LLM provider being tested. source
- Privacy
- The CLI and Desktop app do not send telemetry, scan results, API keys, or personal data to Basilisk. source
- Prompt evolution
- Its Smart Prompt Evolution engine uses 15 mutation operators, 5 crossover strategies, and multi-signal fitness scoring. source
- Provider integrations
- It supports OpenAI, Anthropic, Google, xAI Grok, Groq, Azure OpenAI, GitHub Models, Ollama, and custom HTTP or WebSocket endpoints. source
- Purpose
- Basilisk is an open-source AI/LLM red teaming framework for authorized security testing, vulnerability research, and academic study. source
- Reports
- Basilisk exports HTML, SARIF 2.1.0, JSON, Markdown, and PDF reports. source
- Supply-chain security
- The project says it uses signed releases and verified checksums, while cautioning that it cannot guarantee absolute security. source
- Support
- Security issues and privacy questions can be reported to [email protected]. source
Checked against the maker's pages on 30 Sept 2026.