An analysis of 48,682 skills in the ClawHub registry finds that security risks do not arise only from deliberately malicious packages: Unintentional flaws in dependencies, first-party code, and installation workflows can also matter for LLM agents. The findings are relevant to skill-registry operators and agent-runtime developers because agents process content from user requests and external sources.
The researchers examined four risk areas: dependencies, skill code, installation instructions, and credentials printed to standard output. After an automated screening, they manually reviewed 3,428 flagged cases. Among skills with resolvable dependencies, 49.6% relied on versions with known CVEs; in 78.3% of those cases, the vulnerability was already present at publication.
Reachability varied across the flaws. Agent input reached the vulnerable function in only 3.0% of affected skills. By contrast, 21 of 22 sampled first-party code flaws were exploited end to end in the sandbox. In tests with a live agent, it executed an injected payload in 48.5% of sampled flagged skills—usually in its own shell before the skill ran. The payload reached a flaw in the skill itself in only 5.0% of cases.
The authors therefore recommend prioritizing first-party flaws over dependency alerts and avoiding passing skill arguments through a shell. The results come from flagged cases and sampled tests; they do not establish how often these attacks occur in real-world use. The paper provides further detail on the study design and findings: Source on arXiv