SkillScope: Toward Fine-Grained Least-Privilege Enforcement for Agent Skills
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Agent Skills have become a practical way to extend LLM agents by packaging metadata, natural-language instructions, and executable resources into reusable capability bundles. However, this growing Skill ecosystem introduces a new compliance risk: a Skill may perform high-impact actions that fall outside the scope permitted by the user's current request, thereby violating least privilege. Existing skill detection approaches are insufficient for this problem because it is inherently task-conditioned: the same action may be legitimate under one user prompt but over-privileged under another. In this paper, we present SkillScope, a framework for fine-grained least-privilege enforcement in Agent Skills. SkillScope adopts a graph-based analysis approach that models instruction-level procedures and code-level operations as fine-grained action nodes. It extracts potential over-privilege candidates, validates them under graph-instantiated user tasks through runtime analysis, and constrains validated over-privileged actions via control-flow privilege constraining. We evaluate SkillScope through effectiveness experiments and large-scale real-world measurement. SkillScope achieves a 94.53% skill-level F1 score for over-privilege detection. In the wild, SkillScope validates 6,590 of 68,312 valid real-world Skills as exhibiting over-privileged behaviors, showing that least-privilege violations are prevalent in current Skill ecosystems. In the privilege-constraining evaluation, SkillScope reduces triggered over-privileged action-in-task instances by 88.56% while preserving legitimate task completion.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 25 of its 75 references that are in the map. First posted on arXiv 7 May 2026.
Builds on
25 of 75 references.
Closest ancestors · 9
Same direction, newest first
- 2026SkillAttack: Automated Red Teaming of Agent Skills through Attack Path Refinement5 Apr
- 2026MalSkills: Detecting Malicious Skills in the Agentic Supply Chain via Neuro-symbolic Reasoning28 Mar
- 2026ChainFuzzer: Greybox Fuzzing for Workflow-Level Multi-Tool Vulnerabilities in LLM Agents13 Mar
- 2026AgentRaft: Automated Detection of Data Over-Exposure in LLM Agents8 Mar
- 2026Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks23 Feb
- 2026Agent Skills in the Wild: An Empirical Study of Security Vulnerabilities at Scale15 Jan
- 2025Agent Skills Enable a New Class of Realistic and Trivially Simple Prompt Injections30 Oct
- 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents13 Jun
- 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents17 Mar
Other references · 16
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 692
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 210
- 2024Signed-Prompt: A New Approach to Prevent Prompt Injection Attacks Against LLM-Integrated Applicationscited by 54
- 2018Polisis: Automated Analysis and Presentation of Privacy Policies Using Deep Learningcited by 50
- 2023The Philosopher's Stone: Trojaning Plugins of Large Language Modelscited by 37
- 2025Defense against Prompt Injection Attacks via Mixture of Encodingscited by 14
4 more
- 2025MANTRA: Enhancing Automated Method-Level Refactoring with Contextual RAG and Multi-Agent LLM Collaborationcited by 10
- 2024EM-Assist: Safe Automated ExtractMethod Refactoring with LLMscited by 8
- 2025Encrypted Prompt: Securing LLM Applications Against Unauthorized Actionscited by 3
- 2025Automated Extract Method Refactoring with Open-Source LLMs: A Comparative Studycited by 1
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026SkillGuard: A Permission-Centric Framework for Agent Skill Securitycited by 6
- 2026AgentFlow: Building Agent Dependency Graphs for Static Analysis of Agent Programscited by 2
- 2026Versioned Transitive Dependency-Closure Binding and Operation-Time Effect Governance for Agent Skills: ClosureBoundcited by 1
- 2026Approval Laundering: Systematizing Approval--Execution Binding Failures in AI Coding-Agent Harnessescited by 0
- 2026Beyond Maliciousness: Static and Runtime Attack-Surface Profiling of Agent Skillscited by 0
- 2026Beyond Maliciousness: Static and Runtime Attack-Surface Profiling of Agent Skills13 Oct 2026
- 2026Approval Laundering: Systematizing Approval--Execution Binding Failures in AI Coding-Agent Harnesses30 Sep 2026
- 2026Versioned Transitive Dependency-Closure Binding and Operation-Time Effect Governance for Agent Skills: ClosureBound5 Sep 2026
- 2026AgentFlow: Building Agent Dependency Graphs for Static Analysis of Agent Programs2 Jul 2026
- 2026SkillGuard: A Permission-Centric Framework for Agent Skill Security2 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026SkillsMetric: Mapping the Detection Boundary of Static Analysis for Malicious Agent Skills
- 2026SkCC: Portable and Secure Skill Compilation for Cross-Framework LLM Agents
- 2026SKILLLITE: Evidence-Guided Malicious Skill Auditing with Compact LLMs
- 2026SkillRet: A Large-Scale Benchmark for Skill Retrieval in LLM Agents
- 2026A Framework for Evaluating Agentic Skills at Scale
- 2026Pretext: Defeating Malicious Skill Detection Frameworks for AI Agents
- 2026GraSP: Graph-Structured Skill Compositions for LLM Agents
- 2026Behavioral Integrity Verification for AI Agent Skills