Chiosa
AI Security & Safety

Profiling reveals capabilities that threat labels miss in agent skills

Beyond Maliciousness: Static and Runtime Attack-Surface Profiling of Agent Skills · arXiv:2610.19264

3 min
Updated

In plain words

An agent skill is a folder of instructions and sometimes scripts. It can use the shell, files, network access and credentials already available to the agent session, so a label about harmful intent cannot tell a reviewer everything the skill may be able to reach.

The paper introduces a method that reads the whole folder, checks referenced dependencies, and runs skills in an isolated sandbox while separately assessing the recorded activity.

In a sample from two marketplaces, static analysis found elevated capabilities in seven of ten listings; that is a sample result, not a rate for all marketplace listings.

The research

When someone installs an agent skill, its instructions and scripts can operate through the session’s existing shell, files, network access and credentials.

How can marketplace reviewers assess that reach before deployment, when a malicious-intent label says whether a skill appears harmful but not what it can access?

The method combines whole-bundle inspection, dependency checks and sandbox traces to profile what a skill may bring into play.

The authors applied the method to 6,309 popularity-banded listings from two marketplaces, selected without threat- or risk-based filtering. Static analysis found elevated capabilities in 4,431, about seven in ten; among listings at high or critical exposure, four in five had benign threat verdicts.

Because capability and intent are separate measurements, a benign verdict does not mean a bundle has little reach; profiling adds that missing view.

The rates describe a popularity-banded sample, not either marketplace as a whole. A single sandbox session exercises only some code paths, and no external ground truth was available to validate the scanner’s labels.

What the evidence shows

  • What a skill can reach

    An agent skill is a folder of instructions, scripts and possibly other resources. When loaded, its instructions can direct the agent and its scripts can run with the session’s existing shell, filesystem, network access and credentials.

    The paper asks how reviewers can assess what a skill may reach, since a malicious-intent verdict does not describe that capability footprint.

  • Two sources of evidence

    The paper presents a two-phase profiling method. A static analyst reads the complete bundle and checks referenced dependencies; an agent then runs the skill in an isolated sandbox, where activity is recorded.

    A separate judge model assesses the runtime trace, keeping observations from the bundle distinct from observations of the execution.

  • Exposure differs from intent

    Applied to 6,309 popularity-banded listings from two marketplaces, static analysis inferred elevated capabilities in 4,431 listings, about seven in ten. The authors also compared exposure with the published threat verdicts: among listings at high or critical exposure, about four in five had benign verdicts. Capability reach and malicious intent therefore describe different things.

  • Declarations leave gaps

    Author-written pre-approvals did not provide a complete account of the bundle’s capabilities. Among the 770 listings that declared something in parseable frontmatter, 457 understated capabilities across the five classes that could be compared.

    Credential and environment access were outside the format’s checkable vocabulary, so this result covers only those five classes.

  • Why both phases matter

    Static and runtime analysis also flagged different listings for risk. Of the 3,339 listings flagged by either phase, 2,361 were flagged by only one.

    This supports retaining both views because reading bundle contents and observing one execution reveal different evidence; the runtime counts remain limited to activity exercised in that session.

Deep

Next paperAegisAsync traces Python async behavior to flag risks