SYNTHESIS NOTE
Topics›Agents Multi Architecture›this note

Does bundling code with skills create hidden security risks?

Agent skills combine instructions with executable code and system access. This packaging enables reuse but may also enable attacks—especially when skills are composed together or shared across platforms without adequate inspection.

Synthesis note · 2026-09-23 · sourced from Agents Multi Architecture

The introduction defines a skill as something that "usually combines task instructions, tool interfaces, executable scripts, and external resources into a reusable module." It credits that modularity with reuse, scalability and "the rapid growth of agent frameworks and skill-sharing platforms." Then it turns the same fact into the risk: "a skill may do more than provide text instructions," because it "can execute code, read or write files, call external APIs, and access system resources."

That changes what adopting a skill is. The vault's skill notes treat a skill as something to route (How should agents route across thousands of skills?), govern as a file (Can person-grounded skills remain auditable without hidden prompt state?) or optimize as text (Can skill documents be optimized like neural network weights?). In each of these the skill is treated mostly as a document an agent reads. The paper's framing adds another: a skill carries authority, closer to a package a program depends on than to a prompt. My reading is that installing one from a shared platform extends the agent's reach to whatever its author put in. The package comparison is mine, and the excerpt does not use it. The excerpt's own attack shows a second mismatch on top: the unit that gets shared and scanned is the skill, while the unit at which harm can arise is the chain of skills (Can skill scanners miss attacks hidden across multiple skills?).

Any channel that moves skills between agents also moves this risk. How can agent systems share learned skills across users? describes one such channel, an evolver that edits skills and synchronizes them to all agents. Its excerpt says nothing about adversarial skills, so the link is a vault inference.

The strongest objection is that the framing is asserted here and not shown. The introduction backs it with citations (Jia et al. 2024; Huang et al. 2026; Ruan et al. 2024) whose evidence the excerpt does not reproduce, and "attack surface" is argued from what a skill can do, not from measured prevalence of malicious skills.

What the excerpt does not give. How common malicious skills are on sharing platforms, what permission model OpenCode, Claude Code or Codex apply to a skill's scripts, and how skills are installed and trusted.

Inquiring lines that read this note 2

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

How do persistent skill repositories improve agent reliability over time?

Related concepts in this collection 5

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
15 direct connections · 130 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

the packaging that makes an agent skill reusable also makes it an attack surface — a skill bundles instructions tool interfaces scripts and resources and can execute code and reach the system