AI & ML
Guarding the Kingdom of Skill-Based Agents in the AI Dynasty of Computation: Control-Flow Integrity for Agent Skills
arXiv cs.CR0 views
arXiv:2611.24185v1 Announce Type: new Abstract: Control-flow integrity (CFI) confines a program to a control-flow graph fixed ahead of time. Procedural agent skills move this control flow into prompt text, and a large language model (LLM) agent decides at runtime whether each step runs in its reasoning, a tool call, or a script. The procedure's control skeleton survives, but its enforceability depends on where each step runs. Many violations, such as overwriting a file before validation, use only operations the skill requires, so permission allowlists admit them. A deviating or prompt-injected model can also evade a monitor by regime migration, for example by claiming that a check passed. We present SkillCFI, which carries CFI over to skill-based agents. Its compiler confines LLM interpretation to compile time and derives the agent's instructions and an executable contract from one skill. By a formal enforceability criterion, it enforces obligations whose evidence crosses the tool boundary and rejects a skill whose mandatory obligation leaves nothing to check. A deterministic runtime enforcer admits a tool request only on trusted evidence and refuses unmediated channels such as inline scripts, so admitted traces follow the contract whatever the model proposes. On eight self-written skills, no compiled contract permits more than its source under 24 source mutations. In 770 agent sessions, SkillCFI blocks before dispatch all 240 such violations, which an allowlist admits, and normal tasks complete nearly as often as without it. Listing the next legal steps in a refusal raises recovery from 21% to 65%. Checking takes about 2% of task time, and a compact command form cuts session slowdown from 1.32 times to 1.08 times. None of 53 public skills is accepted as written. The compiler's diagnostics point to interfaces rather than workflows and guided seven into enforceable contracts.
Source:https://arxiv.org/abs/2611.24185PreviousPULSAR-V: I/O-Aware Post-Update Attestation for RISC-VNextErased but Recoverable: On the Fragility of Concept Erasure Under Fine-Tuning
Related posts

LiberNovo’s Black Friday sale takes up to 42% off ergonomic chairs
09to5Mac

WhatsApp is raising group chat limit to 1,500 participants
09to5Mac
Who called me about stolen ID and loans? Handle it like an unauthenticated security alert
0dev.to
Gemini 4 Models Compared on Reasoning, Coding, and Context
0dev.to
Beyond Frozen Weights: How Test-Time Training (TTT) Turns Inference into Live Learning
0dev.to

Why Turn-Based Voice AI Feels Broken: Building a 52ms Barge-In Loop (HardCall)
0dev.to