kali-cai
A lightweight, ergonomic framework for building bug bounty-ready Cybersecurity AIs (CAIs).
3.0K
This guide provides instructions for running the Cybersecurity AI (CAI) application with Kali Linux tools using Docker with a local Ollama server.
To start using CAI with Kali Linux tools and a local Ollama server, run the following command in privileged mode to ensure all tools work correctly:
docker run --privileged --network host -e OLLAMA="127.0.0.1" -e OPENAI_API_KEY="sk-1234" -it --rm --name kali-cai neptune1212/kali-cai
Note: Running the container in privileged mode is recommended if you encounter permission issues with certain tools like nmap.
If you prefer not to use privileged mode, you can try running the container with the following command, though some tools may not function correctly due to permission restrictions:
docker run --network host -e OLLAMA="127.0.0.1" -e OPENAI_API_KEY="sk-1234" -it --rm --name kali-cai neptune1212/kali-cai
Once inside the Docker container, activate the CAI environment and run the application:
source /home/kali/cai/bin/activate && cai
For more detailed information about CAI, including configuration options, advanced usage, and troubleshooting, please refer to the official GitHub repository:
Cybersecurity AI (CAI) on GitHub
You can customize the behavior of CAI by setting various environment variables. Here are some commonly used ones:
OLLAMA_API_BASE: The base URL for your Ollama server.OPENAI_API_KEY: Your OpenAI API key.ANTHROPIC_API_KEY: Your Anthropic API key.Example:
docker run --privileged --network host -e OLLAMA_API_BASE="http://localhost:11434/v1" -e OPENAI_API_KEY="your_openai_api_key" -e ANTHROPIC_API_KEY="your_anthropic_api_key" -it --rm --name kali-cai neptune1212/kali-cai
Content type
Image
Digest
sha256:4f3e4ed7e…
Size
3.7 GB
Last updated
4 months ago
docker pull neptune1212/kali-cai