Skip to content

feat(security): AEGIS pre-execution firewall, A2A auth identity, dual-threshold classifier#2338

Merged
bug-ops merged 3 commits intomainfrom
aegis-pre-execution-firewall
Mar 28, 2026
Merged

feat(security): AEGIS pre-execution firewall, A2A auth identity, dual-threshold classifier#2338
bug-ops merged 3 commits intomainfrom
aegis-pre-execution-firewall

Conversation

@bug-ops
Copy link
Copy Markdown
Owner

@bug-ops bug-ops commented Mar 28, 2026

Summary

Test count

+17 new tests (6 FirewallVerifier, 8 AuthIdentity/require_auth, 3 InjectionVerdict soft-threshold). Total: 6963 passed (previously 6943 on main before rebase; delta includes 3 unrelated PRs merged to main during development).

LLM serialization gate

Not applicable — this PR does not touch any LLM request/response serialization paths (claude.rs, openai.rs, MessagePart, context assembly). No live API session test required.

Closes #2305
Closes #2304
Closes #2303

@github-actions github-actions bot added documentation Improvements or additions to documentation rust Rust code changes core zeph-core crate enhancement New feature or request size/XL Extra large PR (500+ lines) labels Mar 28, 2026
@bug-ops bug-ops enabled auto-merge (squash) March 28, 2026 09:47
@bug-ops bug-ops force-pushed the aegis-pre-execution-firewall branch from 3c6e384 to 7ffc933 Compare March 28, 2026 09:52
bug-ops added 3 commits March 28, 2026 11:01
…-threshold classifier

- zeph-tools: FirewallVerifier with path traversal detection, env-var exfiltration
  blocking, sensitive file glob patterns, configurable exempt tools and blocked paths;
  NFKC normalization against homoglyph bypasses; wired into CompositeExecutor pipeline
  (#2305)
- zeph-a2a: AuthIdentity struct propagated via request extensions; require_auth config
  field rejects requests 401 when no auth_token is configured; blake3 constant-time
  token comparison (#2304)
- zeph-sanitizer: InjectionVerdict enum with Suspicious (soft-threshold warn-only) and
  Blocked (hard-threshold block) tiers; injection_threshold_soft config field;
  classify_injection() updated to return three-way verdict (#2303)
@bug-ops bug-ops force-pushed the aegis-pre-execution-firewall branch from 7ffc933 to d4b0023 Compare March 28, 2026 10:01
@bug-ops bug-ops merged commit 0644ff6 into main Mar 28, 2026
25 checks passed
@bug-ops bug-ops deleted the aegis-pre-execution-firewall branch March 28, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core zeph-core crate documentation Improvements or additions to documentation enhancement New feature or request rust Rust code changes size/XL Extra large PR (500+ lines)

Projects

None yet

1 participant