Skip to content

Make AI verdicts alert-only and fix OUTPUT iptables match - #15

Merged
fr4nsyz merged 1 commit into
mainfrom
fix/ai-alert-only-iptables-output
Nov 19, 2026
Merged

fr4nsyz merged 1 commit into
mainfrom
fix/ai-alert-only-iptables-output

Conversation

@fr4nsyz

@fr4nsyz fr4nsyz commented Nov 19, 2026

Copy link
Copy Markdown
Owner

LLM verdicts now only raise ALERTs; BLOCK_IP drops outbound traffic to the blocked IP.

  • Kills and blocks come only from heuristic/correlation rules in processEvent, which already fire on strong signals before the LLM runs. Gating AI kills on hasHeuristicSignal still let an injected verdict escalate alert-only matches (e.g. /etc/passwd read) to KILL_PID, so that gate and hasHeuristicSignal are removed.
  • OUTPUT rules used -s <ip>, which never matches outbound packets; now -d. Hosts running the old agent keep dead OUTPUT -s rules until flushed.
  • Agent logs ALERT actions instead of "unknown type".

@fr4nsyz
fr4nsyz merged commit 5f51460 into main Nov 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant