Offline-first security audit tool (secrets & config scanning) for local codebases.
Project description
OpenAuditKit
Next-Gen Security Audit Tool for Modern Codebases. Powered by AI. Secure by Design. Offline First.
� What is OpenAuditKit?
OpenAuditKit is not just another linter. It's an intelligent security companion that lives in your terminal. Unlike traditional tools that drown you in false positives, OpenAuditKit combines robust pattern matching (Regex & Entropy) with Context-Aware AI Agents to understand why a piece of code might be dangerous.
Whether you are a solo developer or part of a large enterprise, OpenAuditKit helps you ship secure code faster.
✨ Key Features
| Feature | Description |
|---|---|
| 🕵️ Secret Scanning | Detects API keys, tokens, and credentials with high-entropy validation. |
| ⚙️ Config Audit | Discovers misconfigurations in Dockerfile, .env, Kubernetes, and more. |
| 🧠 AI Advisory | (New) Integrated AI Agents explain vulnerabilities and suggest fixes. |
| 🏗️ Architecture Analysis | AI agents analyze your project structure for design flaws. |
| 🛡️ Threat Modeling | auto-generates STRIDE threat models based on your codebase. |
| 🔌 Integrations | Native support for CI/CD pipelines (GitHub Actions, GitLab CI). |
| 📝 JSON Reporting | Export findings for easy integration with dashboards like DefectDojo. |
🚀 Installation
Install simply via pip:
pip install openaudit
⚡ Quick Start
1. Basic Scan
Run a security scan on your current directory:
openaudit scan .
2. Enable AI Superpowers 🧠
Unlock the full potential with AI agents that analyze architecture and data flow:
# Set your OpenAI API Key
openaudit config set-key sk-your-api-key
# Run an AI-enhanced scan
openaudit scan . --ai
3. Ask Your Code
Don't understand a complex file? Let the Explain Agent break it down:
openaudit explain src/complex_logic.py
📊 Comparison
| Feature | OpenAuditKit | Gitleaks | TruffleHog |
|---|---|---|---|
| Finding Secrets | ✅ | ✅ | ✅ |
| Config Analysis | ✅ | ❌ | ❌ |
| AI Context Analysis | ✅ | ❌ | ❌ |
| Architecture Review | ✅ | ❌ | ❌ |
| Offline Capabilities | ✅ | ✅ | ❌* |
*TruffleHog often requires API connectivity for verification.
🤖 CI/CD Integration
Secure your pipeline with zero effort. Add this to your .github/workflows/security.yml:
name: Security Audit
on: [push, pull_request]
jobs:
openaudit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: pip install openaudit
- run: openaudit scan . --ci --fail-on high --ai
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} # Optional for AI features
🛡️ Security Philosophy
At NeuralForge, we believe security tools should be:
- Silent but Deadly: Only alert on real issues (Low False Positives).
- Educational: Don't just find bugs, explain them.
- Private: Your code never leaves your machine unless you explicitly opt-in to AI features (which are redacted by default).
🤝 Contributing
We love contributions! Please check out our Contributing Guide to get started.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openaudit-0.1.1.tar.gz.
File metadata
- Download URL: openaudit-0.1.1.tar.gz
- Upload date:
- Size: 35.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8442d4c2da057c4612202938a31b1939ffbab2588849a62d15cc7df9fe2c4a05
|
|
| MD5 |
b895d0a10c13d93cf2c8764ab2eef38f
|
|
| BLAKE2b-256 |
e3606dfffcae829b969ee0a48a8f2ec4d533b0fccf1bde2bf69ae1d6420ada1a
|
File details
Details for the file openaudit-0.1.1-py3-none-any.whl.
File metadata
- Download URL: openaudit-0.1.1-py3-none-any.whl
- Upload date:
- Size: 41.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0427167c26156e62bb8e964a20b205f3893b994feb20698172d40093f2a83bd
|
|
| MD5 |
fd2f3e911ed1423154df425bc24a27d0
|
|
| BLAKE2b-256 |
adfc520e3233db100b633b89102cad1624552806e188467afb599e7938304303
|