Repository navigation
Basilisk v1.1.0 - xAI Grok Support, Security Hardening, Desktop Modular Split
What's New in v1.1.0
xAI Grok Provider Support
- Full support for xAI Grok models (Grok-2, Grok-beta) via the Grok API
- Set `XAI_API_KEY` and scan with `-p xai -m grok-2`
- Differential scan support: compare Grok against GPT-4o, Claude, and Gemini
- Desktop app provider dropdown and model suggestions updated
Security Hardening
- CORS lockdown: backend restricted to localhost-only origins (was `*`)
- API key isolation: keys stored in-memory, never leaked to os.environ
- Concurrency safety: asyncio.Lock protecting shared WebSocket and scan state
- Streaming error fix: provider errors logged instead of yielded as fake content
- Preload bypass closed: Electron window.api shim enforces channel allowlist
- Refusal detection centralized: single source of truth for Python and Go paths
- Audit log improvement: auto-generated secrets emit WARNING with save instructions
Desktop App
- Modular renderer: split 1000+ line renderer.js into 6 focused modules
- Model registry: centralized provider/model config in core/models.py
- PyInstaller spec updated with new module
Testing
- New conftest.py with MockProvider, refusing_provider, test_profile, test_session fixtures
- Execution-level attack tests for DirectInjection, EncodingBypass, RoleConfusionExtraction
- 113/113 tests passing
Downloads
| Platform | File |
|---|---|
| Windows | .exe (NSIS installer) |
| macOS | .dmg (Apple Disk Image) |
| Linux (Universal) | .AppImage |
| Arch Linux | .pacman |
| Ubuntu/Debian | .deb |
| Fedora/RHEL | .rpm |
Install via pip
pip install basilisk-aiInstall via Docker
docker pull rothackers/basilisk
docker run --rm rothackers/basilisk scan --helpFull Changelog: .../v1.1.0