Skip to main content
OpenAuditKit Logo

OpenAuditKit

PyPI version Python Versions License: MIT Powered by NeuralForge

Next-Gen Security Audit Tool for Modern Codebases. Powered by AI. Secure by Design. Offline First.

🌐 Website • 📚 Documentation • 🐛 Report Bug


� 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:

  1. Silent but Deadly: Only alert on real issues (Low False Positives).
  2. Educational: Don't just find bugs, explain them.
  3. 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.


Built with ❤️ by the NeuralForge Team.

Metadata

Release files for openaudit 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openaudit 0.1.1
File Size Uploaded
openaudit-0.1.1.tar.gz 35.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openaudit 0.1.1
File Interpreter ABI Platform
openaudit-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 76.4 kB

Release files / openaudit-0.1.1.tar.gz

Download URL openaudit-0.1.1.tar.gz
Size 35.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8442d4c2da057c4612202938a31b1939ffbab2588849a62d15cc7df9fe2c4a05
BLAKE2b-256 checksum
How to use checksums
e3606dfffcae829b969ee0a48a8f2ec4d533b0fccf1bde2bf69ae1d6420ada1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / openaudit-0.1.1-py3-none-any.whl

Download URL openaudit-0.1.1-py3-none-any.whl
Size 41.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0427167c26156e62bb8e964a20b205f3893b994feb20698172d40093f2a83bd
BLAKE2b-256 checksum
How to use checksums
adfc520e3233db100b633b89102cad1624552806e188467afb599e7938304303
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page