Agent-Drift: Security Monitoring Tool for AI Agents

Agent-Drift: Security Monitoring Tool for AI Agents
Cybersecurity specialist sysinternalssuite created Agent-Drift—an open-source tool for protecting AI agents from prompt injection, behavioral drift, and other attacks. Essentially a SIEM + IDS specifically for OpenClaw.
Why This Exists
"I work in Cybersecurity and have noticed an uptick in prompt injection, behavioral drift, memory poisoning and more in the wild with AI agents"
What Agent-Drift Does
GitHub: https://github.com/lukehebe/Agent-Drift
The tool works as a wrapper for OpenClaw:
- Collects behavior baseline
- Detects behavioral drift
- Alerts through dashboard
Behavior Monitoring
Tracked patterns:
- Tool usage sequences and frequencies
- Timing anomalies
- Decision patterns
- Output characteristics
Attack Detection
| Attack | Description |
|---|---|
| Instruction override | Command hijacking |
| Role hijacking | Role takeover |
| Jailbreak attempts | Restriction bypass |
| Data exfiltration | Data leakage |
| Encoded Payloads | Obfuscated payloads |
| Memory Poisoning | Memory corruption |
| Privilege Escalation | Rights elevation |
| Indirect prompt injection | Indirect attacks |
How It Works
- Baseline Learning — first runs establish normal behavior
- Behavioral Vectors — each run becomes a multi-dimensional vector
- Drift Detection — new runs compared against baseline
- Anomaly Alerts — significant deviations trigger warnings
TL;DR
"Basically an all in one Security Incident Event Manager (SIEM) for your AI agent that acts as an Intrusion Detection System (IDS) that also alerts you if your AI starts to go crazy."
Source: u/sysinternalssuite on r/moltbot
📖 Read the full source: Reddit
👀 See Also

Pi: $100M AI Cyber Agent from Ex-Tesla Hacker Secures xAI, Patches Bugs in Minutes
Pi, an AI security agent from former Tesla lead hacker Yoni Ramon, uses context-aware vulnerability triage and automated patching. Early customer Navan reports 90% of bugs are fixed in minutes, saving 1-2 FTEs.

Security audit reveals vulnerabilities in OpenClaw skill ecosystem
A security audit of OpenClaw found 8 documented CVEs including arbitrary code execution and credential theft vulnerabilities, plus 15% of skills in the shared library exhibit suspicious network behavior. The auditor migrated to a minimal Rust-based runtime with Ollama for better isolation.

McpVanguard: Open-source security proxy for MCP-based AI agents
McpVanguard is a 3-layer security proxy and firewall that sits between AI agents and MCP tools, adding protection against prompt injection, path traversal, and other attacks with about 16ms latency.

Fil-C Makes setjmp/longjmp and ucontext Memory Safe
Fil-C implements setjmp/longjmp and ucontext APIs without stack corruption or dangling pointers, preventing common misuse that leads to crashes or exploits.