feat(rules): add runtime detection rules for AI agent action gate, kill switch, and destructive tools - #380
Open
AAH20 wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: AAH20 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Welcome @AAH20! It looks like this is your first PR to falcosecurity/rules 🎉 |
…ll switch, and destructive tools Signed-off-by: aah20 <aah20@users.noreply.github.com>
AAH20
force-pushed
the
feat/ai-agent-runtime-action-gate-rules
branch
from
August 18, 2026 07:22
6847853 to
ef961e5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds runtime detection rules for AI agent process spawning, un-gated tool execution, emergency kill-switch triggering, and destructive container commands under
rules/ai-agent-runtime-action-gate.yaml.Problem Solved
As autonomous AI agents and worker pods run inside production Kubernetes containers (e.g. LangGraph, CrewAI, AutoGen workers), prompt injections or model hallucinations can trigger raw shell process execution (
/bin/sh,bash,kubectl,dd) without an ActionBoundary or human-in-the-loop prove token (never_equate_intent_to_approval: true).This rule pack provides real-time eBPF runtime detection for:
AI Agent Un-Gated Interactive Shell Spawn: Detects interactive shells spawned directly from AI agent runtimes (Python, Node, Bun, Deno).AI Agent Kill-Switch File Creation or Trigger: Detects creation or modification of the Gate/Prove emergency kill-switch file (artifacts/KILL).AI Agent Destructive Command Execution: Detects high-blast radius commands (mkfs,fdisk,dd,kubectl delete) invoked by agent workers.Upstream & Commercial Context
Maintained by A2Z SOC for container runtime governance and Kubernetes compliance audit readiness.
For teams deploying containerized AI agents requiring runtime security audits or ISO 42001 / SOC 2 readiness sprints: