"The system doesn't lie. It just forgets. This script reminds it what it's hiding."
System Confessional Script for NixOS & Linux Machines
OrynAudit is a surgical-grade audit tool. Not just a scanner. Not just a checklist. It interrogates your system with colour-coded precision, aesthetic clarity, and markdown-ready output.
It doesn't just tell you what you installed. It tells you what you forgot.
🔴 HIGH 🟡 MEDIUM 🔵 INFO ✅ GOOD
- 🔐 User & Privilege Analysis
- 🔌 Network Exposure Mapping
- 🔍 DNS Leak Detection
- 🧬 SUID Binary Forensics
- 🧠 System State Snapshot
- 📊 Markdown Report Generation
- 🎨 Enhanced Terminal Output
One-liner with full environment:
git clone https://github.com/OrynVail/oryn-audit.git
cd oryn-audit
nix-shell
chmod +x oryn_audit.sh
sudo ./oryn_audit.shMinimal run (core utilities required):
sudo ./oryn_audit.shWant to see what it looks like before running it?
→ View Sample Report
Click to expand full audit checklist
- SUID/SGID binaries and ownership analysis
- World-writable files and unowned resources
- User accounts with login shells
- Sudo privilege escalation paths
- Open TCP/UDP ports with process mapping
- DNS configuration and leak testing
- Startup services and failed daemons
- Root processes and resource consumption
- Memory and disk utilization
- CPU vulnerabilities and mitigations
- Kernel parameters and hardening
- Container/VM environment detection
- Store integrity and daemon status
- Declarative configuration insights
- Generation analysis and cleanup opportunities
Core requirements:
- Bash 4.0+
- Standard Unix utilities (
ss,find,ps,grep,awk) - Root privileges for comprehensive scanning
Optional enhancements:
bat— Syntax-highlighted report viewingrich— Beautiful terminal formattingdig— DNS leak detection
The included shell.nix provides everything automatically.
Basic system audit:
sudo ./oryn_audit.shView generated report:
bat /tmp/oryn_audit-*.md # With bat installed
# or
cat /tmp/oryn_audit-*.md # Plain textAutomated daily audits:
# Add to crontab for daily 3 AM audits
0 3 * * * /path/to/oryn_audit.sh > /var/log/oryn_audit.log 2>&1See LICENSE
⭐ Star this repo if OrynAudit helped reveal your system's secrets