Skip to content
IAM Insights

Briefing · Paper · source · published · Boston Identity

A quarter of 31,132 agent skills matched a risky pattern; 23 of the 87 riskiest showed clear signs of malice

Agent skills are packages of instructions and scripts that coding agents such as Claude Code load on demand, and community marketplaces such as skills.rest list them without mandatory security review. Yi Liu and seven co-authors scanned 31,132 skills from two of those marketplaces in December 2025. Their 26.1% figure counts risky patterns, and the authors say most of those reflect insecure development habits; when they checked the 87 riskiest skills by hand, 23 showed clear signs of malice.

arXiv · Yi Liu, Weizhe Wang, Ruitao Feng, Yao Zhang, Guangquan Xu, Gelei Deng, Yuekang Li, Leo Zhang · January 15, 2026 · read

share
3 findings6 sectionsAI trustAgentic identityStandards
18,588 words.
01

What's happening

Finding3
BI-FIND-2026-1345Lead finding

Liu and colleagues found 26.1% of 31,132 agent skills from two marketplaces matched a risky pattern, mostly from insecure development practices, they say.

Liu and colleagues scanned 31,132 agent skills from two community marketplaces, skills.rest and skillsmp.com, in December 2025, and 8,126 of them (26.1%) matched at least one of 14 risky patterns; allowing for their classifier's error, they put the true share at 23–30%. Data exfiltration (13.3%) and privilege escalation (11.8%) were the commonest categories, and prompt injection was 0.7%. The authors say most flagged skills reflect "common but insecure development practices rather than malware". Their top severity tier, labelled "likely malicious", holds 1,619 skills (5.2%) by pattern alone; when they reviewed the 87 highest-risk skills by hand, 23 showed clear indicators of malicious intent. The crawl left out 7,353 skills whose repositories had been deleted (17.3% of it), and the authors say malicious skills were likely removed disproportionately, so its counts of malicious skills may be low.

medium confidencebest source: independent researchobserved Jan 2026EvidenceSection 3Section 2
flag a problem with BI-FIND-2026-1345
BI-FIND-2026-1346

In the authors' scan, skills that bundle executable scripts were flagged 40.6% of the time, against 24.2% for skills that are instructions only.

Skills that bundle executable scripts were flagged 40.6% of the time, against 24.2% for skills that are instructions only (odds ratio 2.12), and skills over 500 lines showed a similar rise (odds ratio 2.14). A commit in the last 90 days made no significant difference (odds ratio 0.91, p = 0.47), so recent upkeep was no sign of a safer skill. Only 11.5% of the skills bundle scripts at all, which means, by our arithmetic from the authors' rates, that most of the 8,126 flagged skills carry no scripts.

medium confidencebest source: independent researchobserved Jan 2026EvidenceWhat predicts a flagged skillSection 3
flag a problem with BI-FIND-2026-1346
BI-FIND-2026-1347

Once a user approves an agent skill, it can read and write files, download code and open network connections with no further prompt, the authors say.

The authors trace the risk to what they call the consent gap: once a user approves a skill, it keeps permission to read and write files, download code and open network connections with no further prompt. They note that OWASP's Top 10 for Agentic Applications lists the pattern as identity and privilege abuse. In their comparison table, browser extensions have a sandbox, store review, a manifest of permissions and code signing, while agent skills have none of the four. Their proposed fix borrows from the extension stores: skills declare the capabilities they need (file access, network, shell) in their metadata, the runtime holds them to that scope, and platforms scan skills before publishing them and verify their authors. Scanning is the step the paper backs with a tested tool, the authors' own SkillScan; the permission manifest, runtime enforcement and author verification remain untested proposals.

flag a problem with BI-FIND-2026-1347
02

Section by section

6

showing 6 of 6

[1]

Agent skills as an unvetted extension channel: threat model and the consent gap

AI trustAgentic identity

Agent skills are a SKILL.md instruction file plus any bundled scripts, which Claude Code, Codex CLI and Gemini CLI load on demand; Anthropic published the format as an open standard in October 2025. The authors say community marketplaces list skills without mandatory security review, and they name three adversaries: a malicious author, a supply-chain attacker and a negligent developer. All three exploit what the authors call the consent gap between what a user approves and what a skill does. This part rests on earlier incidents and studies, not new data.

technical artifactfrom published text + figures

[2]

SkillScan: December 2025 crawl, two-stage detection and a 200-skill validation

AI trust

The authors crawled skills.rest and skillsmp.com in December 2025 and kept 31,132 of 42,447 skills after removing duplicates, very short and non-English skills, and 7,353 whose repositories had been deleted. Their SkillScan tool runs regex checks, LLM-Guard scanners and a Claude 3.5 Sonnet classifier in turn. On 200 hand-labelled skills it scored 86.7% precision and 82.5% recall, with annotator agreement (kappa) of 0.83. They warn of survivorship bias and of a classifier that changed its answer 5.5% of the time from one run to the next.

technical artifactfrom published text + figures

[3]

Fourteen patterns, 26.1% flagged, and how little is evidently malicious

AI trust

Of the 31,132 skills, 8,126 (26.1%, or 23–30% once classifier error is allowed for) match at least one of 14 patterns. Data exfiltration leads at 13.3%, then privilege escalation at 11.8%, supply chain at 7.4% and prompt injection at 0.7%. By severity, 5.2% fall in the high tier, 8.1% in the medium tier and 12.8% show only low-severity patterns. Hand review of the 87 highest-risk skills found 23 with clear signs of malicious intent, and 81% of skills flagged for supply-chain risk also match exfiltration patterns.

technical artifactfrom published text + figures

[4]

What predicts a flagged skill: scripts, size and dependencies, not maintenance; three case studies

AI trust

Skills that bundle scripts are flagged 40.6% of the time, against 24.2% for instruction-only skills (odds ratio 2.12). Size over 500 lines (odds ratio 2.14) and five or more external dependencies (1.58) also raise the odds, while recent maintenance makes no significant difference (0.91, p = 0.47). The authors then describe three anonymised worst cases from the 87 highest-risk skills: a cloud backup tool, instructions hidden in HTML comments, and a dependency manager with unpinned, obfuscated code. They say each had thousands of downloads or stars before detection.

technical artifactfrom published text + figures

[5]

Discussion and recommendations: capability-based permissions and mandatory vetting

AI trustAgentic identityStandards

The authors compare skills with early browser extensions. They recommend mandatory scanning before publication, permission manifests that declare capabilities and are enforced at runtime, author verification with code signing, pinned dependencies and sandboxing, phased over the short, medium and long term (Table 17, Appendix J). They treat 26.1% as patterns that warrant review rather than confirmed malice, and list their limits: one snapshot, no full dynamic analysis, and 17.3% of the crawl lost to deleted repositories. None of the roadmap has been tested.

opinionfrom published text + figures

[6]

Appendices: author risk, extension comparison, validity limits, 25-skill dynamic pilot, tool comparison

AI trustAgentic identity

Flagged skills came from 2,891 of the 4,530 authors matched to the scan (63.8%), and two outlier publishers had flag rates of 55.8% and 72.0%. In a pilot, the authors ran 25 high-confidence skills in Docker: 18 (72%) behaved maliciously, 4 were inconclusive and 3 were false positives. A comparison on 100 skills gives Bandit, Semgrep and Snyk Code 58-68% recall and 0% on prompt injection, against 82% and 78.6% for SkillScan, but another appendix says no such benchmark was run.

technical artifactfrom published text + figures

Terms used

Agent Skills
Open format for packaging instructions, scripts and resources as a directory with a SKILL.md that agents load on demand.
Skills.rest
Community registry of agent skills indexed from GitHub.
SkillsMP
Community marketplace that aggregates agent skills from public GitHub repositories.
Data exfiltration
Unauthorised transfer of data out of a system.
Privilege escalation
Gaining access or actions beyond what you were granted; for AI agents, an attacker's text makes the agent use tools the attacker could not call.
Prompt injection
Hiding instructions in text an AI model reads, such as an email or a web page, so the model does something its operator never asked for.
Consent gap
The mismatch between what a user approves when installing an extension or skill and what it can do afterwards once it holds persistent permissions.
OWASP
Open Web Application Security Project: the nonprofit that maintains the OWASP Top 10 list of web-application risks and the OWASP Top 10 for Large Language Model Applications.

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity