An Agent Skill Is Executable Software

Key Takeaways
- •A skill can carry scripts, dependencies and network calls, and installing one grants access. A scanner found problems in 26 percent of a 31,000-skill sample.
- •Examines what a skill actually contains, analyzing the structural bottlenecks and trade-offs in real-world deployments.
- •Provides engineering benchmarks and verification criteria for three ways a skill causes harm.
NVIDIA's SkillSpector reports that in a research subset of 31,132 skills used by coding agents and MCP workflows, 26.1 percent contained vulnerabilities and 5.2 percent showed what the project describes as likely malicious intent.
Those figures come from the project's own analysis of its own sample, and they should be attributed to it rather than read as a prevalence estimate for every skill in existence. What they establish is narrower and still important. A skill is not a prompt. It is a small program with permissions, and the ecosystem that distributes skills has the same structural problems as any other package registry.
What a skill actually contains
The word suggests a note you paste into a chat. The reality is a directory of files.
A skill can include natural-language instructions that shape how the model behaves. It can include scripts that the agent will run. It can declare dependencies that get installed. It can make network calls, read the filesystem, or invoke other tools. It includes tool definitions that tell the agent what operations are available and how to call them.
When an agent loads a skill, it is loading all of that into a working environment where the agent already has access to source code, credentials, environment variables and whatever else the session was given. The skill does not need to steal anything. It only needs to instruct the agent to send something somewhere, and the agent will treat that instruction as part of the task.
That is the whole problem in one sentence. The instruction channel and the data channel are the same channel.
Three ways a skill causes harm
The first is straightforward malice. A skill contains a script that exfiltrates environment variables, or instructions that tell the model to include the contents of configuration files in its next tool call. This is the case a scanner can sometimes catch, because the behaviour is visible in the files.
The second is the dependency path. A skill declares a package that turns out to be typosquatted, or depends on a library with a known vulnerability, or pulls a transitive dependency from an unexpected registry. Nothing in the skill's own text is malicious, and the harm arrives through the install.
The third is the subtle one. A skill contains instructions that are reasonable in isolation and dangerous in combination, such as a workflow that reads a document from a URL and then applies its instructions. That is prompt injection with an installer, and no static scan will identify it as a vulnerability because the components are benign and the composition is the attack.
The third category is why scanning cannot settle the question. A scanner reads artefacts. It cannot reliably read the interaction between a skill's instruction text and an untrusted document the agent will later fetch. The OWASP Top 10 for LLM Applications classifies that composition under prompt injection and excessive agency, which are separate entries rather than one, because the mechanism and the mitigation differ.
Why natural language makes this harder than a package manager
A package manager's security model assumes that code does what it says. An auditor can read a function and determine what it does, at least in principle, and the tools for that work are mature.
A skill's instructions are prose. They influence a stochastic system whose behaviour depends on the surrounding context, the model version, the temperature and the order of operations. The same skill can be harmless in one setup and dangerous in another, and neither the skill author nor a reviewer can fully predict which.
That is a genuinely new property in a supply chain. Software has always had version-conditional behaviour, but the condition was mechanical and testable. Here the condition is interpretive, and it is evaluated by a component whose output varies.
The practical consequence is that provenance and permission matter more than inspection. If you cannot read a skill and know what it will do, you fall back on trusting the source and limiting what it can reach.
What the scanning approach can and cannot establish
SkillSpector is aimed at the first category, and its architecture is a reasonable response to the problem. It examines skill contents for patterns associated with data exfiltration, dangerous tool use, unsafe script execution and suspicious network destinations, and it reports findings for a human to triage.
What that establishes is a signal, and a signal with both error types. A false positive occurs when a legitimate skill uses a pattern that resembles an attack, such as a workflow that legitimately reads environment variables for configuration. A false negative occurs when a malicious skill evades the patterns, which is easy to do with paraphrased instructions in natural language.
What scanning cannot establish is that a skill is safe. A clean scan means no known pattern matched. It says nothing about the composition risk, nothing about the dependency behaviour beyond what the scanners for those ecosystems catch, and nothing about what the skill will do when combined with a document it later fetches.
The project's own framing is consistent with this. A scanner is a filter for obvious problems at the point of installation, and it sits alongside permissions and sandboxing rather than replacing them.
The permissions question is the one that works
If inspection cannot settle whether a skill is safe, the controllable variable is what the skill can reach.
An agent running a skill from an unverified source should not have access to production credentials, customer data or the ability to push code. That is not a sophisticated insight and it is routinely ignored, because the convenience of the skill is the reason it was installed.
The design of a safer setup is straightforward. Run skills in an environment with a scoped token rather than a broad one. Mount only the directories the task needs. Deny network egress except to allowlisted hosts. Require an approval step for operations that write outside the workspace or reach a remote service. Keep an audit log of what tools were called and with what arguments.
Each of those controls limits the damage a skill can do without requiring anyone to determine whether the skill is malicious. That is the right frame, because the determination is unreliable.
Cloudflare's security-audit-skill demonstrates the same principle at a larger scale, requiring an operating-system-enforced sandbox for builds, tests, browsers and fuzzers, with restricted networking, environment variables, resources and writable paths. Its workflow goes further in one respect worth borrowing: it separates the agent that finds an issue from the agent that verifies it, so a candidate finding is checked by a fresh context rather than by the same run that produced it.
A checklist for installing a skill
Six questions, answerable before running anything.
Where did this come from, and is the publisher the same identity on the repository and on the distribution channel. What files does it contain beyond the instruction text, and are there scripts or install hooks. What does it declare as a dependency, and do those packages exist under the names shown. What network destinations does it contact, and are they ones you expect. What credentials will the agent hold while this skill is loaded. And can the skill write outside the workspace, which is the permission that turns a bad skill into an incident.
For skills from an unfamiliar source, the seventh question is whether the task is worth the permission at all. Many skills exist for convenience rather than necessity, and a convenience skill asking for broad access is a trade that rarely pays.
The uncomfortable conclusion is that the agent skill ecosystem has reproduced the supply chain problem of package registries in less time and with fewer safeguards. Package registries spent two decades adding signing, provenance attestation and automated vulnerability scanning. Skills arrived faster than that infrastructure, and the phrase that convinces people to install one is the same phrase that makes the risk invisible: it is just a prompt.



