Inner Warden is an autonomous security agent for Linux and macOS. It detects attacks, blocks them at the kernel level, and responds automatically when you allow it. 25 eBPF kernel hooks. 40 detectors. 12 response skills. AI agent protection (Agent Guard). Mesh collaborative defense. No cloud. No dependencies. Just two Rust daemons and a CLI.
curl -fsSL https://innerwarden.com/install | sudo bashInstalls in 10 seconds. Starts in observe-only mode. You decide when to go live.
Inner Warden is built for system administrators, DevOps engineers, and security professionals who manage Linux or macOS servers and want host-level threat detection and response.
You should be comfortable with:
- Managing firewall rules (ufw, iptables, nftables, or pf)
- Reading system logs and understanding security events
- Configuring services via TOML files and systemd/launchd
- Evaluating whether automated responses are appropriate for your environment
This is not a plug-and-play consumer security product. Misconfigured response skills can lock out legitimate users or disrupt services. If you are unfamiliar with Linux system administration, start with the observe-only mode and study the logs before enabling any response capabilities.
Test the tool in real time · Watch the explainer video
Demo.1.mp4
InnerWarden.1.mp4
┌─────────────────────────────────────────────────────────────┐
┌─────────────────────────────────────────────────────────────┐
│ KERNEL │
│ │
│ ┌──────────────┐ ┌──────────┐ ┌───────┐ ┌───────────┐ │
│ │19 tracepoints │ │ 1 kprobe │ │ LSM │ │ XDP │ │
│ │ execve, │ │ commit_ │ │ kill │ │ wire-speed│ │
│ │ connect, │ │ creds │ │ chain │ │ IP drop │ │
│ │ openat, ... │ │ │ │ 8 pat │ │ 10M+ pps │ │
│ └──────┬───────┘ └────┬─────┘ └───┬───┘ └─────┬─────┘ │
│ │ │ │ │ │
│ └───────┬───────┘ │ │ │
│ ▼ │ │ │
│ ┌─────────────┐ │ │ │
│ │ Ring Buffer │ │ │ │
│ │ (1MB epoll) │ │ │ │
│ └──────┬──────┘ │ │ │
└─────────────────┼────────────────────┼────────────┼─────────┘
│ │ │
▼ │ │
┌──────────────────────────────────────────────────────────┐ │ │
│ SENSOR │ │ │
│ │ │ │
│ ┌─────────┐ ┌─────────┐ ┌────────┐ ┌─────────────────┐ │ │ │
│ │auth.log │ │journald │ │ Docker │ │ eBPF collector │◄┘ │ │
│ └────┬────┘ └────┬────┘ └───┬────┘ └────────┬────────┘ │ │ │
│ └───────────┴──────────┴───────────────┘ │ │ │
│ │ │ │ │
│ ┌─────▼──────┐ │ │ │
│ │36 detectors│ │ │ │
│ │ stateful │ │ │ │
│ └─────┬──────┘ │ │ │
│ │ │ │ │
│ ┌───────────▼───────────┐ │ │ │
│ │ events + incidents │ │ │ │
│ │ (JSONL) │ │ │ │
│ └───────────┬───────────┘ │ │ │
└──────────────────────────┼────────────────────────────────┘ │ │
│ │ │
┌──────────────────────────┼─────────────────────────────────────┼────────────┼──┐
│ AGENT │ │ │ │
│ ▼ │ │ │
│ ┌──────────────────┐ │ │ │
│ │ Algorithm Gate │ skip low-sev, private IP │ │ │
│ └────────┬─────────┘ │ │ │
│ ▼ │ │ │
│ ┌────────────────────┐ │ │ │
│ │ Enrich: AbuseIPDB, │ │ │ │
│ │ GeoIP, CrowdSec │ │ │ │
│ └────────┬──────────┘ │ │ │
│ ▼ │ │ │
│ ┌─────────────────┐ │ │ │
│ │ AI Triage (opt) │ 12 providers, 0.0-1.0 score │ │ │
│ └────────┬────────┘ │ │ │
│ ▼ │ │ │
│ ┌─────────────────┐ ┌──────────────┐ │ │ │
│ │ Skill Executor │────►│ LSM enforce │◄─────────┘ │ │
│ │ 12 skills │ │ XDP block │◄──────────────────────┘ │
│ │ │ └──────────────┘ │
│ │ block_ip (5) │ ┌──────────────┐ ┌──────────────┐ │
│ │ kill_chain_resp │────►│ Cloudflare │ │ Mesh Network │ │
│ │ suspend_sudo │ │ AbuseIPDB │ │ broadcast to │ │
│ │ kill_process │ └──────────────┘ │ peer nodes │ │
│ │ honeypot │ └──────────────┘ │
│ └────────┬────────┘ │
│ │ │
│ ┌────────────┼────────────┐ │
│ ▼ ▼ ▼ │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │ Telegram │ │ Slack │ │ Webhook │ │
│ │ bot │ │ │ │ (any) │ │
│ └──────────┘ └──────────┘ └──────────┘ │
│ │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ Dashboard: HUD, threats, investigation, map, │ │
│ │ MITRE ATT&CK, live SSE feed, audit trail, │ │
│ │ ISO 27001 compliance, hash chain verification │ │
│ └─────────────────────────────────────────────────────┘ │
└───────────────────────────────────────────────────────────────────────────────┘
- Watches: collects signals from your host (SSH, Docker, nginx, sudo, shell audit, firewall logs, eBPF kernel tracing with 22 hooks covering every process, connection, file access, privilege change, and network bind)
- Detects: 36 stateful detectors identify brute-force, credential stuffing, port scans, C2 callbacks, privilege escalation, container escapes, reverse shells, ransomware, rootkits, DNS tunneling, and more
- Blocks at the kernel: LSM enforcement stops reverse shells and /tmp execution before they run. XDP drops attack traffic at wire speed. 8 kill chain patterns detected and blocked without signatures. Blocks propagate to mesh peers.
- Alerts you: Telegram, Slack, webhook (PagerDuty, Discord, Teams, DingTalk, and more), real time, on your phone
- Decides: optionally asks AI for a confidence-scored recommendation (not required)
- Acts: blocks the IP, suspends sudo, deploys a honeypot, captures traffic. Or does nothing. Your call.
Everything is local, audited, and reversible.
00:00 SSH brute-force begins from 203.0.113.10
00:45 Detector fires: 8 failed logins, 5 usernames, one IP
AI evaluates: "coordinated brute-force"
Confidence: 0.94
Recommended action: block_ip
00:46 Firewall rule added: ufw deny from 203.0.113.10
00:46 Telegram alert lands on your phone
00:46 Decision logged to audit trail
Threat contained.
No human needed when auto-execution is enabled. Otherwise, you approve via Telegram or the dashboard. Full audit trail. Every action reversible.
When a threat is confirmed, Inner Warden picks the right tool.
| Skill | What it does |
|---|---|
| Block IP (XDP) | Wire-speed drop at the network driver, 10M+ packets/sec, zero CPU overhead |
| Block IP (firewall) | Deny via ufw, iptables, nftables, or pf (macOS). Persists across reboots. |
| Suspend sudo | Revokes sudo for a user via sudoers drop-in. Auto-expires after TTL. |
| Kill process | Terminates all processes for a compromised user. TTL-bounded. |
| Block container | Pauses a Docker container. Auto-unpauses after TTL. |
| Deploy honeypot | SSH/HTTP decoy with LLM-powered interactive shell that captures credentials and behavior |
| Rate limit nginx | Blocks abusive HTTP traffic at the nginx layer with TTL |
| Monitor IP | Bounded tcpdump capture for forensic analysis |
| Block IP (Cloudflare) | Edge-level blocking via Cloudflare API, stops traffic before it reaches your server |
| Report to AbuseIPDB | Shares attacker IPs with community threat intelligence |
| Kill chain response | Kills process tree + blocks C2 IP via XDP + captures forensics (ss, /proc) |
Blocking is layered: a single block decision triggers XDP (instant kernel drop) + firewall (persists reboot) + mesh broadcast (peer nodes block too) + Cloudflare edge (stops traffic upstream) + AbuseIPDB report (community intelligence). Kill chain incidents trigger the kill-chain-response skill: kill process tree + block C2 via XDP + capture forensics. All skills are bounded, audited, and reversible.
36 stateful detectors covering the full attack lifecycle. Highlights:
| Detector | Threat | MITRE |
|---|---|---|
ssh_bruteforce |
Repeated SSH failures from one IP | T1110.001 |
credential_stuffing |
Many usernames tried from one IP | T1110.004 |
distributed_ssh |
Coordinated botnet scan: many IPs, few attempts each | T1110 |
suspicious_login |
Brute-force followed by successful login = compromise | T1110 |
port_scan |
Rapid unique-port probing | T1595 |
reverse_shell |
Reverse/bind shell detection via eBPF + behavioral analysis | T1059 |
execution_guard |
Suspicious shell commands via AST analysis | T1059 |
process_tree |
Suspicious parent-child: web server → shell, Java RCE | T1059 |
privesc |
Real-time privilege escalation via eBPF kprobe on commit_creds |
T1068 |
rootkit |
Kernel module and userland rootkit detection | T1014 |
ransomware |
Rapid file encryption, ransom note creation, extension changes | T1486 |
c2_callback |
Beaconing, C2 port connections, data exfiltration patterns | T1071 |
dns_tunneling |
Encoded DNS queries for covert data transfer | T1071.004 |
container_escape |
nsenter, Docker socket access, host file reads from container | T1611 |
lateral_movement |
SSH pivoting, credential reuse across hosts | T1021 |
crypto_miner |
CPU abuse from mining processes | T1496 |
web_scan |
HTTP error floods, path traversal, LFI probing | T1190 |
web_shell |
Web shell upload and command execution | T1505.003 |
data_exfiltration |
Large outbound transfers, DNS exfil, staging patterns | T1048 |
fileless |
In-memory execution, /proc/self/mem writes | T1055 |
log_tampering |
Log deletion, truncation, timestomping | T1070 |
kernel_module_load |
Unauthorized kernel module insertion | T1547.006 |
sudo_abuse |
Burst of privileged commands by a user | T1548 |
integrity_alert |
Changes to /etc/passwd, /etc/shadow, sudoers, SSH keys | T1098 |
packet_flood |
DDoS / volumetric attack detection | - |
user_agent_scanner |
Known scanner signatures (Nikto, sqlmap, Nuclei, 20+) | T1595.002 |
Plus: docker_anomaly, osquery_anomaly, suricata_alert, search_abuse, credential_harvest, ssh_key_injection, user_creation, crontab_persistence, systemd_persistence, process_injection, outbound_anomaly.
execution_guard parses commands structurally using tree-sitter-bash. It catches curl | sh pipelines, /tmp execution, reverse shell patterns, and staged download-chmod-execute sequences.
c2_callback uses coefficient-of-variation analysis to detect beaconing: regular-interval connections to the same IP that indicate a compromised process phoning home.
privesc hooks the kernel's commit_creds function via kprobe. When a non-root process gains root through an unexpected path (not sudo/su/login), a Critical incident fires instantly, before any log is written.
Sensor: deterministic signal collection. No AI, no HTTP. 15 collectors (auth.log, journald, Docker events, file integrity, firmware integrity, nginx access/error, shell audit, macOS unified log, syslog firewall, eBPF syscall tracing with 22 kernel hooks). Optional: Suricata, osquery, Wazuh, AWS CloudTrail, Falco. Events flow through Redis Streams to the agent.
eBPF: 22 kernel hooks running inside Linux (5.8+, CO-RE/BTF portable):
- 19 tracepoints: execve, connect, openat, ptrace, setuid, bind, mount, memfd_create, init_module, dup2/dup3, listen, mprotect, clone, unlinkat, renameat2, kill, prctl, accept4, sched_process_exit
- 1 kprobe (
commit_creds): detects privilege escalation before any log is written - LSM enforcement (
bprm_check_security): blocks execution from /tmp and /dev/shm at the kernel level, plus kill chain detection with 8 generic patterns (reverse shell, bind shell, code injection, exploit-to-shell, inject-to-shell, exploit-to-C2, full exploit chain, data exfiltration) blocked at execve. No CVE signatures needed. All 8 patterns tested and blocking on production. - XDP program: wire-speed IP blocking at the network driver (10M+ pps drop rate)
Looking for the eBPF source code? All 22 kernel programs live in a single file:
crates/sensor-ebpf/src/main.rs.
Kernel-level noise filters keep overhead near zero: COMM_ALLOWLIST (137 trusted processes like sshd, systemd, docker), CGROUP_ALLOWLIST, PID_RATE_LIMIT, and PID_CHAIN. Tail call dispatcher routes events through a single attach point to N handlers via ProgramArray. Ring buffer with epoll wakeup delivers events in microseconds.
DDoS defense: 4-layer adaptive protection. XDP kernel drop (wire speed) + Shield module (dynamic rate limiting) + Cloudflare auto-failover (edge blocking) + Nginx rate limit. Rate limits tighten dynamically under attack.
Mesh network: collaborative defense between nodes. Attack one server, all others block the IP automatically. Ed25519 signed signals, game-theory trust model (tit-for-tat), staging pool with TTL-based auto-reversal. No signal causes immediate action. Everything is scored and staged.
innerwarden mesh enable
innerwarden mesh add-peer https://peer-server:8790Container-aware via cgroup ID. Zero performance overhead.
Agent: reads incidents from Redis Streams, applies algorithm gate (skip low severity, private IPs, already-blocked), enriches with AbuseIPDB + GeoIP + CrowdSec, optionally sends to AI for confidence-scored triage, executes the chosen skill. Policy-gated: nothing runs unless you've explicitly enabled it.
Two Rust daemons. No external dependencies. Under 50 MB RAM total. Dashboard with auth, live SSE feed, MITRE ATT&CK mapping, attack map, 20 integration cards, ISO 27001 compliance tab with hash chain verification. Sleeps after 15 min of inactivity.
Inner Warden detects and logs threats without any AI provider. Add AI when you want:
- Confidence-scored recommendations: not binary yes/no, but 0.0-1.0 scored decisions
- Policy-gated execution: AI recommends, your policy decides if it runs
- Full transparency: every AI decision recorded in append-only JSONL with reasoning
- Twelve providers: OpenAI, Anthropic, Ollama (local), OpenRouter, Groq, Together, Mistral, DeepSeek, Fireworks, Cerebras, Google Gemini, xAI Grok
AI is advisory unless you explicitly enable auto-execution. You set the confidence threshold.
Not everything should be automatic.
- Telegram: every High/Critical incident pushed to your phone. Approve or deny with inline buttons. Sensitivity control: quiet/normal/verbose.
- Slack: incident notifications via incoming webhook
- Webhook: HTTP POST to any endpoint. Works with PagerDuty, Opsgenie, Discord, Microsoft Teams, Google Chat, DingTalk, Feishu/Lark, WeCom, n8n, Zapier, Make, Home Assistant.
- Dashboard: local authenticated UI with sensor HUD, investigation timeline, entity search, operator actions, live SSE feed, attack map, MITRE ATT&CK mapping, attacker path viewer, 20 integration cards, ISO 27001 compliance tab with hash chain verification
Inner Warden ships with the safest possible posture. On first run, nothing is blocked, killed, or modified. The system only observes and logs.
| Default | Meaning |
|---|---|
responder.enabled = false |
No actions taken. Observe only. |
dry_run = true |
Logs what it would do, without doing it. |
execution_guard in observe mode |
Detects suspicious commands, does not block. |
| Shell audit opt-in | Requires explicit privacy consent. |
| AI optional | Detection and logging work without any provider. |
| Append-only audit trail | Every decision in decisions-YYYY-MM-DD.jsonl. |
You must explicitly change two settings before any response action can fire: enable the responder and disable dry-run. Neither happens automatically.
Before enabling automatic responses, run Inner Warden in observe-only mode for a period that makes sense for your environment (days to weeks). During this time:
- Review the logs: check
events-*.jsonlandincidents-*.jsonlin your data directory to understand what the detectors are flagging. - Check for false positives: make sure legitimate traffic (CI/CD systems, monitoring probes, your own scripts) is not being misidentified.
- Configure your allowlist: add trusted IPs and users so they are never acted upon:
innerwarden allowlist add --ip 10.0.0.0/8 innerwarden allowlist add --user deploy
- Enable dry-run first: when you enable the responder, keep
dry_run = trueso you can see what would happen without any actual effect:innerwarden configure responder --enable
- Go live only when you trust what you see:
innerwarden configure responder --enable --dry-run false
There is no rush. The system is designed to be useful in observe-only mode indefinitely.
Enable what you need.
| Module | Threat | Response |
|---|---|---|
ssh-protection |
SSH brute-force + credential stuffing | Block IP |
network-defense |
Port scanning | Block IP |
sudo-protection |
Sudo privilege abuse | Suspend user sudo |
execution-guard |
Malicious shell commands (AST) | Kill process / observe |
search-protection |
HTTP endpoint abuse | Rate limit nginx |
file-integrity |
Unauthorized file changes | Alert |
container-security |
Docker lifecycle anomalies | Block container / observe |
threat-capture |
Active threat investigation | Honeypot + traffic capture |
nginx-error-monitor |
HTTP error floods, path traversal | Block IP |
slack-notify |
Incident notifications | Slack webhook |
cloudflare-integration |
L7 DDoS / botnet IPs | Block at Cloudflare edge |
abuseipdb-enrichment |
IP reputation context | Enriched AI prompt |
geoip-enrichment |
Country/ISP geolocation | Enriched AI prompt |
fail2ban-integration |
Sync active fail2ban bans | Block enforcement |
crowdsec-integration |
CrowdSec community intel | Block enforcement (experimental) |
falco-integration |
Kernel/container anomalies | Incident passthrough |
suricata-integration |
Network IDS alerts | Incident passthrough |
osquery-integration |
Host state queries | Enriched events |
wazuh-integration |
Wazuh HIDS alerts | Incident passthrough |
innerwarden enable block-ip
innerwarden enable ssh-protection
innerwarden enable shell-audit # prompts for privacy consentCommunity modules:
innerwarden module install <url> # SHA-256 verified
innerwarden module search <term> # search the registryIf you run OpenClaw, n8n, Langchain, or any autonomous AI agent on your server, Inner Warden can watch what it does and stop it if something goes wrong.
innerwarden enable openclaw-protectionThis enables real-time monitoring of every command your agent executes, using structural analysis (tree-sitter AST) instead of regex. Download-and-execute pipelines, reverse shells, staged attacks, and obfuscated commands are caught before they can do damage.
Inner Warden exposes an API that AI agents can query:
# "Is my server safe right now?"
curl -s http://localhost:8787/api/agent/security-context
# → {"threat_level": "low", "recommendation": "safe to proceed"}
# "Is this command safe to run?"
curl -s -X POST http://localhost:8787/api/agent/check-command \
-H "Content-Type: application/json" \
-d '{"command": "curl https://example.com/setup.sh | bash"}'
# → {"risk_score": 40, "recommendation": "review", "signals": ["download_and_execute"]}
# "Is this IP safe to connect to?"
curl -s "http://localhost:8787/api/agent/check-ip?ip=203.0.113.10"
# → {"known_threat": true, "blocked": true, "recommendation": "avoid"}Your agent calls check-command before executing. If the recommendation is deny, it stops. No changes to the agent runtime needed, just an HTTP call.
See AI Agent Protection docs for full integration guide.
Scan your system and get actionable security recommendations without changing anything.
$ innerwarden harden
✓ SSH
⚠ Password authentication is enabled [high]
→ Set 'PasswordAuthentication no' in /etc/ssh/sshd_config
⚠ Root login via SSH is permitted [high]
→ Set 'PermitRootLogin no' in /etc/ssh/sshd_config
✓ Firewall
✓ 2 check(s) passed
! Kernel
⚠ ICMP redirects accepted (MITM risk) [medium]
→ Run: sudo sysctl -w net.ipv4.conf.all.accept_redirects=0
✓ Permissions
✓ 3 check(s) passed
! Updates
⚠ 3 security update(s) pending (8 total) [high]
→ Run: sudo apt update && sudo apt upgrade -y
✓ Docker
✓ 3 check(s) passed
✓ Services
✓ 2 check(s) passed
Score: 68/100 (Fair)
██████████████████████░░░░░░░░░
Checks SSH config, firewall, kernel params (ASLR, SYN cookies, IP forwarding), file permissions (SUID, world-writable), pending updates, Docker (privileged containers, socket), and exposed services. Advisory only, never applies changes.
See Inner Warden responding to real attacks in real time: innerwarden.com/live
The agent exposes public read-only endpoints for live monitoring:
# Last 20 incidents with decisions
curl https://live.innerwarden.com/api/live-feed
# Real-time SSE stream
curl https://live.innerwarden.com/api/live-feed/streamLet your server tell you what it needs.
$ innerwarden scan
sshd running → ssh-protection ESSENTIAL [NATIVE]
docker running → container-security RECOMMENDED [NATIVE]
nginx running → search-protection RECOMMENDED [NATIVE]
falco not found → falco-integration OPTIONAL [EXTERNAL] requires: falco install
fail2ban running → fail2ban-integration RECOMMENDED [NATIVE]
Conflicts detected:
fail2ban-integration + abuseipdb-enrichment: both auto-block IPs; enable one
Activation sequence:
1. innerwarden enable block-ip
2. innerwarden enable ssh-protection
3. innerwarden enable fail2ban-integration
NATIVE = reads existing logs, zero external deps. EXTERNAL = requires separate tool install.
curl -fsSL https://innerwarden.com/install | sudo bashNo API key required. What it does:
- Creates a dedicated
innerwardenservice user - Downloads SHA-256 verified binaries for your architecture (x86_64 / aarch64)
- Writes config to
/etc/innerwarden/, creates data directory - Starts sensor + agent via systemd (Linux) or launchd (macOS)
- Safe posture: detection active, no response skills enabled,
dry_run = true
With external integrations:
curl -fsSL https://innerwarden.com/install | sudo bash -s -- --with-integrationsBuild from source:
INNERWARDEN_BUILD_FROM_SOURCE=1 curl -fsSL https://innerwarden.com/install | sudo bashAI triage is optional. Add it when you want confidence-scored decisions.
OpenAI:
# /etc/innerwarden/agent.env
OPENAI_API_KEY=sk-...Anthropic:
# /etc/innerwarden/agent.env
ANTHROPIC_API_KEY=sk-ant-...# /etc/innerwarden/agent.toml
[ai]
provider = "anthropic"
model = "claude-haiku-4-5-20251001"Ollama (local, no key):
curl -fsSL https://ollama.ai/install.sh | sh && ollama pull llama3.2# /etc/innerwarden/agent.toml
[ai]
enabled = true
provider = "ollama"
model = "llama3.2"After changing config:
sudo systemctl restart innerwarden-agent # Linux
sudo launchctl kickstart -k system/com.innerwarden.agent # macOSRun innerwarden doctor to validate your provider.
innerwarden status # verify services are running
innerwarden doctor # diagnose issues with fix hints
innerwarden test # inject a synthetic incident and verify the full pipeline responds
innerwarden list # see capabilities and modulesEnable response skills when ready:
innerwarden enable block-ip # IP blocking (ufw default, or iptables/nftables)
innerwarden enable sudo-protection # detect + respond to sudo abuse
innerwarden enable shell-audit # shell command trail via auditdinnerwarden notify telegram # interactive wizard
innerwarden notify slack --webhook-url https://hooks.slack.com/...
innerwarden notify web-push --subject mailto:you@example.com
innerwarden notify webhook --url https://hooks.example.com/notify
innerwarden notify test # verify all channelsAfter enabling skills, the responder is active but still in dry_run = true. When you trust the decisions:
innerwarden configure responder --enable --dry-run falseinnerwarden upgrade # fetch + install latest (SHA-256 verified)
innerwarden upgrade --check # check without installinginnerwarden list # capabilities + modules
innerwarden status # services + active capabilities
innerwarden doctor # diagnostics with fix hints
innerwarden enable block-ip # activate
innerwarden enable block-ip --param backend=iptables
innerwarden disable block-ip # deactivate and clean up
innerwarden --dry-run enable block-ip # preview
innerwarden scan # detect + recommend
innerwarden harden # security hardening advisor
innerwarden harden --verbose # show all passed checks too
innerwarden allowlist add --ip 10.0.0.0/8 # skip AI for trusted ranges
innerwarden allowlist add --user deploy # skip AI for trusted users
innerwarden configure ai # interactive AI provider setup (12 providers)
innerwarden configure responder --enable --dry-run false
innerwarden backup # archive configs to tar.gz
innerwarden metrics # events, decisions, AI latency, uptime
innerwarden test # verify full pipeline end-to-end- Linux: Ubuntu 22.04+, any systemd-based distro. Full feature set with 22 eBPF kernel hooks (tracepoints, kprobes, LSM, XDP), kill chain enforcement, wire-speed blocking.
- macOS: Ventura and later (launchd, pf firewall, unified log). Detection and response work fully, but eBPF kernel programs are Linux-only. macOS uses log-based collectors instead.
Pre-built binaries: x86_64 and aarch64 for both platforms.
make test # 1010+ tests
make build # debug build (sensor + agent + ctl)
make replay-qa # end-to-end integration testRun locally:
make run-sensor # writes to ./data/
make run-agent # reads from ./data/Is this an EDR? No. It is a self-contained defense agent with bounded response skills and full audit trails. No cloud, no phone-home, runs entirely on your host.
Does it block by default? No. Starts in observe-only mode. You enable response skills and disable dry-run when ready.
Do I need an AI provider? No. Detection, logging, dashboard, and reports all work without AI. AI adds confidence-scored triage for autonomous response and is entirely optional.
How is this different from Fail2ban? Fail2ban blocks IPs based on regex patterns. Inner Warden has 36 detectors, 22 eBPF kernel hooks with kill chain enforcement, a collaborative defense mesh network, 10 response skills (including sudo suspension, process kill, container pause, honeypots, and traffic capture), twelve AI providers, 4-layer DDoS defense, Telegram bot, AbuseIPDB intelligence sharing, and a full investigation dashboard with MITRE ATT&CK mapping.
How is this different from other HIDS tools? Most host intrusion detection systems only observe. They write alerts for a human to act on. Inner Warden observes AND blocks. LSM hooks stop reverse shells at the kernel's execve before the process runs. XDP drops attack traffic at wire speed. Kill chain detection blocks 7 generic exploit patterns without CVE signatures, catching zero-day exploits by behavior rather than known hashes.
Can I add custom detectors or skills? Yes. See module authoring guide.
Warning Inner Warden is an experimental security agent that can block IP addresses, kill processes, suspend user privileges, pause containers, and modify firewall rules on your system. These are powerful, potentially disruptive actions. Read this document carefully before deploying. Always start in observe-only mode and review behavior before enabling automatic responses.
Inner Warden is provided as-is, without warranty. It is experimental software that interacts with your system's firewall, process table, and user permissions. Automated security responses carry inherent risk. A false positive can block a legitimate user or disrupt a production service.
You are responsible for:
- Testing thoroughly in observe/dry-run mode before enabling responses
- Configuring allowlists to protect trusted IPs, users, and services
- Monitoring the audit trail and adjusting thresholds for your environment
- Understanding the response skills you enable and their effects
The authors are not responsible for downtime, data loss, or service disruption caused by misconfiguration or false positives. Use good judgment and test in a staging environment first.
MIT. See LICENSE.


