Skip to content

NexusOne23/noid-privacy-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

30 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ›‘οΈ NoID Privacy for Linux

Privacy & Security Audit for Linux Desktops

License: GPL-3.0 Version Pure Bash Zero Dependencies Checks CI GitHub Stars Last Commit Website

300+ checks Β· 42 sections Β· Zero dependencies Β· Pure Bash Β· AI-powered fixes Fedora Β· Ubuntu Β· Debian Β· Arch Β· openSUSE Β· RHEL Β· Mint Β· Pop!_OS

Quick Start Β· What it Checks Β· AI Fixes Β· Comparison Β· Discussions


⚑ Quick Start

curl -fsSL https://github.com/NexusOne23/noid-privacy-linux/raw/main/noid-privacy-linux.sh -o noid-privacy-linux.sh
sudo bash noid-privacy-linux.sh --ai

300+ privacy & security checks. Zero dependencies. The --ai flag generates a ready-to-paste prompt β€” hand it to ChatGPT, Claude, or Gemini to fix every finding automatically.

This tool is read-only. It does not modify your system. No files changed, no configs touched, no services restarted.

πŸͺŸ Running Windows too? NoID Privacy for Windows hardens 630+ settings with full Backup β†’ Apply β†’ Verify β†’ Restore. One-time purchase, no subscription.


πŸ€” Why This Exists

Most Linux security tools were built for servers. They check SSH configs and firewall rules β€” but ignore your browser leaking DNS queries, apps phoning home, or the webcam accessible to every process.

NoID Privacy for Linux audits both privacy and security on Linux desktops:

Server Tools (Lynis, CIS) NoID Privacy for Linux
Kernel hardening βœ… βœ…
Firewall & SSH βœ… βœ…
Browser privacy ❌ βœ…
App telemetry ❌ βœ…
DNS leak testing ❌ βœ…
VPN kill-switch ❌ βœ…
Webcam & Bluetooth ❌ βœ…
AI-powered fixes ❌ βœ…

πŸ€– Fix with AI

This is what sets NoID Privacy for Linux apart:

sudo bash noid-privacy-linux.sh --ai

The --ai flag generates a structured prompt at the end of the scan containing all your findings. Copy it. Paste it into ChatGPT, Claude, or Gemini. The AI will explain each finding, provide exact commands to fix it, and prioritize by severity.

Audit β†’ AI β†’ Fixed. What used to take hours takes minutes.

# AI-ready prompt (recommended)
sudo bash noid-privacy-linux.sh --ai

# Plain text for manual review
sudo bash noid-privacy-linux.sh --no-color > report.txt

# Machine-readable JSON for scripts/dashboards
sudo bash noid-privacy-linux.sh --json

No other Linux audit tool generates an AI remediation prompt. The --ai flag is our USP.


πŸ“‹ What it Checks

πŸ›‘οΈ Security (Sections 01–34)

Category Examples
Kernel & Boot Secure Boot, kernel lockdown, LUKS encryption, UEFI, sysctl hardening
Firewall & Network iptables/nftables rules, default policies, open ports, VPN, kill-switch, DNS leaks
SSH & Auth Key-only auth, root login, password aging, PAM, sudo group
Encryption LUKS cipher strength, key size, swap encryption, entropy, certificate store
MAC & Integrity SELinux/AppArmor (auto-detected), rootkit scans, AIDE/Tripwire, package verification
Updates & Packages Security patches, auto-updates, repo integrity, GPG verification (dnf/apt/pacman/zypper)
Advanced Fail2Ban, USB Guard, containers, systemd sandboxing, kernel modules

πŸ”’ Privacy & Desktop (Sections 35–42)

Category Examples
Browser Privacy Firefox telemetry, WebRTC leaks, DNS-over-HTTPS, tracking protection, Chrome warning
App Telemetry GNOME telemetry, crash reporters, Flatpak sandbox escapes, Snap telemetry
Network Privacy MAC randomization, mDNS, LLMNR, hostname privacy, IPv6 privacy extensions
Data Privacy Recent file tracking, thumbnail caches, core dumps, bash history, journald retention
Session Security Screen lock, idle detection, auto-login, lock-on-suspend, VNC/RDP
Webcam & Audio Device permissions, microphone, PipeWire remote access, screen sharing
Bluetooth Discoverability, pairable mode, active without usage
Keyring & Secrets Password manager, GNOME Keyring auto-unlock, SSH agent timeout, plaintext secrets

πŸ“– Full Check Reference β†’ β€” all 42 sections with descriptions


πŸ“Έ Sample Output

$ sudo bash noid-privacy-linux.sh --ai

  NoID Privacy for Linux v3.2.4 β€” Privacy & Security Audit for Linux Desktops
  2026-02-13 15:03:15 | mydesktop | 6.18.9-200.fc43.x86_64
  Arch: x86_64 | Distro: Fedora Linux 43 (Workstation Edition)
  Checks: 300+ across 42 sections

━━━ [01/42] KERNEL & BOOT INTEGRITY ━━━
  βœ… PASS  Secure Boot: ENABLED
  βœ… PASS  Kernel Lockdown: integrity
  βœ… PASS  LUKS encryption active

━━━ [05/42] VPN & NETWORK ━━━
  βœ… PASS  VPN interface proton0: active
  βœ… PASS  Default route via VPN
  βœ… PASS  IPv6: completely disabled

━━━ [35/42] BROWSER PRIVACY ━━━
  βœ… PASS  Firefox telemetry disabled
  βœ… PASS  WebRTC disabled β€” no IP leak
  ⚠️  WARN  google-chrome installed β€” Google telemetry risk

━━━ SUMMARY ━━━
  Total checks:      341 (228 pass, 4 fail, 19 warn, 90 info)
  SECURITY & PRIVACY SCORE:    89% SOLID

Score formula: PASSΓ—100 / (PASS + FAILΓ—2 + WARN)

βš™οΈ Options

Flag Description
--ai Generate AI-ready fix prompt with all findings
--json Machine-readable JSON output
--no-color Disable colored output (for piping/logging)
--skip SECTION Skip specific sections (repeatable)
--help Show all available options and skip keywords

44 skip keywords available β€” run --help for the full list.


πŸ“Š Comparison

Feature NoID Privacy for Linux Lynis privacy.sexy CIS Benchmark
Focus Privacy + Security for desktops Server compliance Script generator Server compliance
Tests 300+ 480+ N/A varies
Browser privacy βœ… ❌ ⚠️ Partial ❌
App telemetry βœ… ❌ βœ… ❌
DNS / VPN / MAC βœ… ❌ ❌ ❌
Webcam / Bluetooth βœ… ❌ ❌ ❌
AI-ready output βœ… ❌ ❌ ❌
JSON output βœ… βœ… N/A ❌
Kernel & firewall βœ… βœ… ⚠️ Partial βœ…
Zero compiled dependencies βœ… βœ… ❌ ❌
Desktop-focused βœ… ❌ βœ… ❌
Modifies system ❌ ❌ βœ… ❌

Lynis (15k ⭐, since 2007) β€” Gold standard for server compliance. Doesn't cover browser privacy, telemetry, webcams, or desktop-specific concerns.

privacy.sexy (5k ⭐) β€” Script generator for Windows/macOS/Linux. Modifies your system directly without auditing first.


πŸ“₯ Installation

Requirement Details
OS Fedora 39+, Ubuntu 22.04+, Debian 12+, RHEL 9+, Arch Linux, openSUSE, Mint, Pop!_OS
Shell Bash 4+
Privileges Root (sudo) for full system access
Dependencies None
# One-liner
curl -fsSL https://github.com/NexusOne23/noid-privacy-linux/raw/main/noid-privacy-linux.sh -o noid-privacy-linux.sh
sudo bash noid-privacy-linux.sh --ai

# Or clone
git clone https://github.com/NexusOne23/noid-privacy-linux.git
cd noid-privacy-linux
sudo bash noid-privacy-linux.sh --ai

πŸš€ GitHub Action

Use NoID Privacy for Linux in your CI/CD pipeline to enforce privacy & security baselines:

- name: Privacy & Security Audit
  uses: NexusOne23/noid-privacy-linux@main
  id: audit
  with:
    fail-threshold: '70'   # Fail if score < 70%

Inputs

Input Default Description
fail-threshold 0 Minimum score to pass (0 = never fail)
ai false Generate AI remediation prompt in summary
skip '' Comma-separated sections to skip
args '' Additional arguments for the script

Outputs

Output Description
score Privacy & security score (0-100)
total Total checks performed
pass / fail / warn / info Check counts by severity
json Full JSON output

Example: Fail PR if score drops

name: Security Gate
on: [pull_request]
jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4.2.2
      - uses: NexusOne23/noid-privacy-linux@main
        with:
          fail-threshold: '70'

Results appear as a rich GitHub Actions Summary with score, findings table, and optional AI fix prompt.

πŸ“– See .github/workflows/example-noid-audit.yml for a full example.


βœ… Perfect For

  • Privacy-conscious developers β€” Know what your desktop is leaking
  • Power users β€” A second pair of eyes on your hardening
  • Team leads β€” Baseline audit for your team's workstations
  • Linux newcomers β€” Clear findings with AI-guided fixes
  • Security consultants β€” Quick desktop audit with professional output

❌ Not For


πŸ”— The NoID Privacy Ecosystem

Platform Link
🌐 Website NoID-Privacy.com β€” All platforms, pricing, and documentation
πŸͺŸ Windows NoID Privacy PRO β€” 630+ settings, 7 modules, Backup β†’ Apply β†’ Verify β†’ Restore
🐧 Linux You're here!
πŸ“± Android NoID Privacy on Google Play β€” 81 checks, 10 categories, permission audit, Chrome hardening, anti-theft

πŸ”’ Privacy Promise

This script makes no network requests for telemetry, analytics, or phone-home. One file, pure Bash β€” read every line yourself.

Note: The vpn, interfaces, and netleaks sections make network requests (ping, dig, curl) to test connectivity, DNS, and VPN leaks. Skip them with --skip vpn --skip interfaces --skip netleaks for a fully offline audit.


πŸ”§ Troubleshooting

Issue Solution
Requires root error Run with sudo bash noid-privacy-linux.sh
False positive on a check Open an issue with your distro and the finding
DNS leak test fails/hangs Skip it: --skip netleaks. Requires dig and curl.
Score seems too low Check if --skip sections are relevant to your setup. Desktop-only checks may warn on servers.
Script hangs on Bluetooth Known bluetoothctl timeout issue. Skip: --skip btprivacy
Missing checks for my distro Fedora/RHEL, Ubuntu/Debian, Arch, and openSUSE are fully supported. Other distros may show more info results.

🀝 Contributing

Contributions welcome β€” new checks, bug fixes, distro support.


πŸ“œ License

GPL v3.0 β€” Free for personal and commercial use. Derivatives must also be GPL v3.0.

For commercial licensing without GPL requirements, open a Discussion.

Full License β†’


⭐ Star this repo if it's useful β€” helps others find the project.

NoID Privacy for Linux β€” Know your system. Harden your privacy.