ClawSentry: A Progressive Multi-Tier Security Monitor for Safeguarding Autonomous LLM Agents

📅 2026-08-21
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
为防止自主LLM代理被恶意第三方技能劫持导致的数据泄露等问题,提出ClawSentry,通过多层次审查机制在技能准入、意图识别等环节提供安全保障。
📝 Abstract
As large language model (LLM) agents move from conversation to executing code, reading local files, and orchestrating external tools, a single agent hijacked by a malicious third-party skill can cause data exfiltration, privilege escalation, or cascading compromise. We argue that agentic risk is progressive: it can enter at four loci of the agent control loop--skill admission, invocation-time intent, execution-time effect, and post-action consequence--while a denied dangerous objective can reappear across surface forms, tools, or turns; existing safeguards are typically local to one lifecycle boundary or one call. Guided by this threat model, we present ClawSentry, an open-source, framework-agnostic security supervision gateway for agent runtimes. Before a skill package is ever executed, First-use Skill Package Review (FSPR) audits it under a deterministic evidence floor, escalating unresolved cases to bounded read-only agentic review (locus A). At runtime, a three-tier progressive decision engine--a deterministic L1 layer, a rule-anchored L2 semantic reviewer, and a read-only L3 evidence-seeking agent--spends contextual review only on the residual ambiguity, while a session-level anti-bypass mechanism recognizes tool-switching and rephrased retries (loci B--C); a post-action path feeds high-severity evidence non-retroactively into later review (locus D). An Agent Harness Protocol (AHP) abstraction applies one policy across Codex, Claude Code, Kimi CLI, and Gemini CLI without modifying agent internals. On SkillInject with Codex/GPT-5.4, contextual ASR falls from 39.55% to 2.61% while contextual TSR moves only from 83.78% to 83.05%. Across five Work Agents on the full SkillsSafety benchmark, ClawSentry confines ASR to 9.09--15.03% from 33.5--49.7% unprotected, and aggregate TSR on clean skills remains 98.7%.
Problem

Research questions and friction points this paper is trying to address.

large language model
data exfiltration
privilege escalation
cascading compromise
security monitor
Innovation

Methods, ideas, or system contributions that make the work stand out.

Multi-Tier Security Monitor
Progressive Decision Engine
First-use Skill Package Review
Session-level Anti-bypass Mechanism
Agent Harness Protocol
🔎 Similar Papers
💼 Related Jobs
No related jobs found.
K
Kai Wang
Zeming Wei
Zeming Wei
Ph.D. Candidate, Peking University
Trustworthy AIAdversarial RobustnessExplainability
B
BiaoJie Zeng
C
Chang Jin
A
An Wang
X
Xiaokun Luan
Z
Zhixiao Lin
J
Jingjing Qu
Xia Hu
Xia Hu
Google DeepMind
Deep LearningMachine LearningMultimodal
X
Xingcheng Xu