Why downloaded assistant skills need a sandbox
Downloading a community skill file gives an AI assistant new instructions that run with your permissions. Keeping household and workplace files safe requires local screening, signed skill labels, and a default-deny sandbox with expiring passes.

Downloading a community skill file gives an AI assistant new instructions that run with your permissions. Keeping household and workplace files safe requires local screening, signed skill labels, and a default-deny sandbox with expiring passes.
Pinning a borrowed recipe card above your stove should only list flour, salt, and baking time. No recipe card should instruct the cook to copy your tax folder and slip it to a stranger at the back door.
How plain text files hijack an assistant
People increasingly customize AI assistants by importing shared skill packs, formatting guides, and tool connectors from public websites. Because a skill file looks like plain notes, many workspaces load it straight into the assistant's top-level instructions without a second check.
Researchers Kashyap R Manjusha and Murali Emani tested what happens when an attacker hides a jailbreak inside one of those Markdown skill files.1 Across seven open-weight models and 270 forbidden questions in nine harm categories, normal system prompts held attack success to a 0.5 percent mean.1 Loading an injected skill file pushed the mean attack success rate to 45 percent, and up to 68.9 percent on individual models.1
Real public skill libraries already carry live openings for this kind of abuse. Donato Mecca, Alberto Verna, Youness Bouchari, Nikhil Jha, and Marco Mellia scanned popular packages from a public skills directory.2 They found latent prompt-injection flaws in more than 17 percent of examined skills.2
Attackers do not even need obvious command sentences to steer a coding or office assistant. Yubin Qu, Yi Liu, Tongcheng Geng, Gelei Deng, Yuekang Li, Leo Yu Zhang, Ying Zhang, and Lei Ma built 1,070 adversarial skills from 81 seeds across 15 attack categories.3 They tucked malicious logic inside ordinary code examples and configuration templates.3 Those skills bypassed active defenses 11.6 to 33.5 percent of the time across four frameworks and five models.3
Tool connector descriptions create a parallel blind spot on user devices. Charoes Huang, Xin Huang, Ngoc Phu Tran, and Amin Milani Fard modeled threats across five tool-protocol components and seven popular desktop clients.4 Hidden instructions tucked inside tool descriptions emerged as the top client-side flaw.4 Most tested apps failed to inspect hidden parameters before running tools.4
Three local safeguards for imported skills
1. Screen skill packages locally before they touch your workspace. Households and small offices can scan downloaded text and example templates on their own machines before loading them. Jerrold Huang, Junwei Quan, Saiyue Lyu, Zihan Guo, and Yingqiang Ge trained a compact local decision model called SkillScreen that scores a skill file in one pass.5 On unseen attack families, it caught 99 percent of malicious skills while flagging 20 to 25 percent of benign files for human inspection.5
2. Demand signed labels and treat tool descriptions as untrusted data. Every shared skill should carry a tamper-evident hash receipt naming who published it, which folders it touches, and whether independent reviewers audited that exact version. Inside the runtime, tool descriptions and code templates belong in a separate data lane so borrowed notes cannot override the owner's standing rules. Read When an invoice gives orders to your assistant.
3. Run every skill inside a default-deny sandbox with expiring passes. Even a clean-looking formatting or tax helper has zero reason to read your private diary or contact outside servers. Caging each skill inside a temporary pass for one project folder with outbound internet switched off stops hidden payloads cold. See AI agents should hold permissions that expire.
Why walled app stores fall short, and what stays unsolved
Large cloud vendors often argue that the safest answer is banning local skill files and forcing every add-on through a proprietary app store that takes a thirty percent cut. That bargain trades away workspace independence without fixing the underlying boundary flaw. Open cryptographic receipts paired with strict local sandboxes let clinics, cooperatives, and solo builders share useful workflows while keeping full control of their own gear.
Two hard limits remain unsolved. First, in the coding-skill supply-chain study by Qu and colleagues, 2.5 percent of implicit template attacks slipped past both static code checks and model safety training.3 Second, when SkillScreen met benign skills from unfamiliar collections, false alarms rose sharply, showing that automated scanners still stumble on new domains.5 Because text filters miss edge cases, hard sandbox walls remain essential, a boundary you can test in Protocol Inspector and Shared Horizon.
Related essays: see why your AI workspace should not belong to the model vendor. Read locking an errand to your touch and when saved memories slant what your assistant cites. Also see who is actually acting?.
References
- Kashyap R Manjusha and Murali Emani, "Poisoned Skills: Propagating Jailbreaks Through Agent Markdown Files," arXiv preprint (2026), arXiv:2610.37738.
- Donato Mecca, Alberto Verna, Youness Bouchari, Nikhil Jha, and Marco Mellia, "SkillSecurer: Detecting and Patching Prompt-Injection Vulnerabilities in AI Agent Skills," arXiv preprint (2026), arXiv:2609.14079.
- Yubin Qu, Yi Liu, Tongcheng Geng, Gelei Deng, Yuekang Li, Leo Yu Zhang, Ying Zhang, and Lei Ma, "Supply-Chain Poisoning Attacks Against LLM Coding Agent Skill Ecosystems," arXiv preprint (2026), arXiv:2604.03081.
- Charoes Huang, Xin Huang, Ngoc Phu Tran, and Amin Milani Fard, "Model Context Protocol Threat Modeling and Analyzing Vulnerabilities to Prompt Injection with Tool Poisoning," arXiv preprint (2026), arXiv:2603.22489.
- Jerrold Huang, Junwei Quan, Saiyue Lyu, Zihan Guo, and Yingqiang Ge, "SkillScreen: High-Recall Screening of Malicious Agent Skills with Decision Models," arXiv preprint (2026), arXiv:2610.17727.
- Kevin Fu and Wenyuan Xu, "Risks of trusting the physics of sensors," Communications of the ACM 61, no. 2 (2018): 20 to 23, doi:10.1145/3176402; Henk Birkholz, Dave Thaler, Michael Richardson, Ned Smith, and Wei Pan, Remote ATtestation procedureS (RATS) Architecture, IETF RFC 9334 (2023), rfc-editor.org/rfc/rfc9334; and Coalition for Content Provenance and Authenticity, C2PA Technical Specification, v2.1 (2024), c2pa.org.
- Jack M. Balkin, "Information Fiduciaries and the First Amendment," UC Davis Law Review 49, no. 4 (2016): 1183 to 1234, lawreview.law.ucdavis.edu; Karl Friston, "Life as we know it," Journal of the Royal Society Interface 10, no. 86 (2013): 20130475, doi:10.1098/rsif.2013.0475; and Jack B. Dennis and Earl C. Van Horn, "Programming semantics for multiprogrammed computations," Communications of the ACM 9, no. 3 (1966): 143 to 155, doi:10.1145/365230.365252.
- Henk Birkholz, Antoine Delignat-Lavaud, Cedric Fournet, Yogesh Deshpande, and Steve Lasker, An Architecture for Trustworthy and Transparent Digital Supply Chains (SCITT), IETF RFC 9943 (2026), rfc-editor.org/rfc/rfc9943; Rudolf Meidner, Employee Investment Funds: An Approach to Collective Capital Formation (London: George Allen & Unwin, 1978), archive.org/details/employeeinvestme0000meid; and Elinor Ostrom, "Beyond Markets and States: Polycentric Governance of Complex Economic Systems," American Economic Review 100, no. 3 (2010): 641 to 672, doi:10.1257/aer.100.3.641.


