Skip to content

fix(honeypot): avoid auto-block on probe-only sessions#58

Merged
maiconburn merged 1 commit intodevelopmentfrom
feature/honeypot-probe-debrief-fix
Apr 4, 2026
Merged

fix(honeypot): avoid auto-block on probe-only sessions#58
maiconburn merged 1 commit intodevelopmentfrom
feature/honeypot-probe-debrief-fix

Conversation

@maiconburn
Copy link
Copy Markdown
Collaborator

@maiconburn maiconburn commented Apr 3, 2026

Summary

  • avoid auto-block for probe-only honeypot sessions (no auth attempts and no shell commands)
  • compute session duration using real elapsed time instead of auth-attempt heuristic
  • add explicit Telegram note for probe-only sessions
  • add unit tests for auto-block gating and duration rounding

Why

Probe-only scans were generating debriefs with duration 0s / commands 0 and still reporting auto-block as if there had been attacker interaction. This PR makes the behavior explicit and less noisy for operators.

Validation

  • cargo check -p innerwarden-agent
  • cargo test -p innerwarden-agent --quiet

@maiconburn maiconburn merged commit 30f4bad into development Apr 4, 2026
4 checks passed
@maiconburn maiconburn deleted the feature/honeypot-probe-debrief-fix branch April 4, 2026 08:12
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