Skip to content
nixsh5Public

About

Omniscan is Rust TUI security scanner for files & Docker containers. Detects leaked secrets (AWS keys, GitHub tokens, passwords) using regex + entropy. Simple controls: 's' - scan, 'q' - quit.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OmniScan 🛡️

OmniScan is a high-performance, system-wide security auditing tool built in Rust. It provides a real-time Terminal User Interface (TUI) to identify leaked secrets, sensitive credentials, and security risks across your entire machine.

Unlike traditional static scanners, OmniScan looks beyond just files—it monitors active memory, process strings, and live Docker containers.


✨ Features

  • File Scanner: Deep-scans directories for AWS keys, GitHub tokens, Stripe keys, and high-entropy strings using multi-threading.
  • Process Auditor: Inspects running processes for sensitive command-line arguments (like --password=... or --token=...).
  • Docker Integration: Queries the Docker daemon to audit environment variables inside running containers without needing to exec into them.
  • Real-time TUI: Smooth, interactive dashboard built with ratatui and crossterm.
  • Blazing Fast: Optimized Rust binary with a minimal CPU footprint.

🚀 Installation

1. Build from Source

Ensure you have the Rust toolchain installed.

# Clone the repository
git clone https://github.com/nixsh5/omniscan.git
cd omniscan

# Build the optimized release binary
cargo build --release

# Move to your local path to run it from anywhere
sudo cp target/release/omniscan /usr/local/bin/

2. Run Locally

If you just want to test it without installing:

cargo run --release

🛠️ Usage

Simply launch the scanner from your terminal:

omniscan

⌨️ Controls

  • s - scan current directory (files)
  • q - quit
  • d - docker scan (queries all running containers)

🔒 How it Works

OmniScan uses a multi-layered detection engine to minimize false positives while catching true leaks:

  • Regex Matching: High-precision patterns for known provider formats (AWS, GitHub, Stripe).
  • Shannon Entropy: Calculates the mathematical randomness of strings to detect auto-generated passwords and hex keys.
  • Keyword Heuristics: Flags key-value pairs containing suspicious terms like auth, token, secret, or pass.

Made with ❤️ by Nish

About

Omniscan is Rust TUI security scanner for files & Docker containers. Detects leaked secrets (AWS keys, GitHub tokens, passwords) using regex + entropy. Simple controls: 's' - scan, 'q' - quit.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages