SkillScope: A fine-grained least-privilege enforcement framework for agent skillsSkillScope: Toward Fine-Grained Least-Privilege Enforcement for Agent Skills
The researchers propose the SkillScope framework, which provides fine-grained least-privilege constraints for skills that extend large language model agents (Agent Skills), addressing the compliance risk of skills executing high-impact actions beyond the scope of the user's current request. Based on graph analysis, the framework models instruction-level flows and code-level operations as fine-grained action nodes, extracts over-privilege candidates, verifies them through runtime analysis under graph-instantiated user tasks, and then restricts confirmed over-privilege actions with control-flow privilege constraints. SkillScope achieves a skill-level F1 of 94.53% in detecting over-privileged skills; measurement of 68,312 valid real-world skills finds 6,590 exhibiting over-privilege behavior, indicating that least-privilege violations are prevalent in the current skill ecosystem; in the privilege constraint evaluation, instances of over-privilege actions triggered within tasks are reduced by 88.56% while legitimate task completion is preserved.