-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Labels
enhancementNew feature or requestNew feature or requestsecuritySecurity-related issuesSecurity-related issues
Description
Problem
The AgentSignal.SIGKILL in signals.py is a Python IntEnum value. In real Linux, SIGKILL is non-catchable because the OS scheduler handles it. In Python, everything is catchable with except BaseException. Any agent wrapping its work in a try/except block can swallow the termination signal.
Proposed Solution
- Run agents in separate processes via subprocess.Popen or multiprocessing.Process
- Use os.kill(pid, signal.SIGKILL) for real non-catchable termination
- Keep current in-process AgentSignal as the cooperative path (SIGTERM equivalent)
- Add container-boundary isolation option for high-risk agents
Impact
Critical gap - current implementation gives false confidence that termination is enforceable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestsecuritySecurity-related issuesSecurity-related issues