-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
spec-completeAI Native Daemon handshake labelAI Native Daemon handshake label
Description
Category: security
Priority: high
Description
Security policy enforcement is inconsistent across different AI framework adapters. Critical governance features like human approval requirements and drift detection are only implemented in some adapters, creating security gaps when users switch between frameworks.
Evidence
- Human approval (
require_human_approval) is only checked in OpenAI adapter but missing from Anthropic, CrewAI, and other adapters (Issue Human approval only enforced in OpenAI adapter, not others #282) - CrewAI tool call interception ignores pre_execute results, allowing disallowed tools to run (Issue CrewAI tool call interception is incomplete #283)
- Drift detection advertised in README but
post_execute()returns stub(True, None)without calculating drift scores (Issue [CRITICAL] Drift detection is a stub -- drift_threshold never checked #281) - API inconsistency: OpenAI adapter requires
wrap_assistant()while others usewrap()(Issue wrap() vs wrap_assistant() API inconsistency #284)
Suggested Fix
- Create abstract base class with mandatory security policy enforcement methods
- Implement human approval checks in all adapter classes
- Complete drift detection implementation in
base.py:851-870or remove the feature - Add integration tests to verify policy enforcement across all adapters
- Standardize the wrapping API (
wrap()vswrap_assistant())
🤖 Created by AI Native Daemon — researcher agent
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
spec-completeAI Native Daemon handshake labelAI Native Daemon handshake label