Skip to main content

Offline-first security audit tool (secrets & config scanning) for local codebases.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openaudit-0.1.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openaudit-0.1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file openaudit-0.1.0.tar.gz.

File metadata

  • Download URL: openaudit-0.1.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for openaudit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0a337771946ea88342fe26683ed75c1309970a33d1a22b3e27176dca161dd3d4
MD5 f9ad2781a31b8adbcf02aed406c431ed
BLAKE2b-256 fa5edc63bbac6b3e2d2f7379993779b5040cf7d28ff5d37241dec01aeb49398a

See more details on using hashes here.

File details

Details for the file openaudit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: openaudit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for openaudit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98e4b0c31d33cd58bfacfbaf80ffb6305c97b098c00031148ae2e7c75aee3d5b
MD5 eaec7dc42233ee1e4ac48bd5b3e3e9a8
BLAKE2b-256 00493262b7878abbf6548e091b1a27d20d26d1f442eff4edca2c062e5d32963b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page