Content-Hiding Attacks and Defenses for LLM-Based Agent-Skill Scanners

AI agent “skills” (a natural-language SKILL.md plus bundled scripts) are distributed through marketplaces and public Git repositories, and a growing set of scanners classify them as safe or malicious, increasingly with a large language model (LLM) as the judge. We ask where these LLM-based scanners actually fail. Using a public benchmark of labeled skills and two production LLMs as scanners, we separate two attacker strategies: arguing (appending text that tries to talk the scanner out of its verdict) and hiding (positioning the malicious content so the scanner does not read it). Arguing is bounded and model-dependent: hand-written “this was approved by security” framing flips 18–24% of caught-malicious skills on a small model but only about 6–9% on a stronger one, and a feedback-driven adaptive attacker with a strong model does not beat the static version. Hiding is not: pushing the payload past the scanner’s read window flips 100% of caught-malicious skills on both models, and in-window dilution still flips 17–48%. Four real evasive skills built by an independent red team, and an independently built third-party scanner, show the same pattern. A whole-document chunked scan with repetition collapse recovers truncation hiding almost completely (100% → 11–14% on both models), but no defense we tried meaningfully reduces in-window dilution. The weakness of LLM skill scanners is perception, not reasoning.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-10-21
DOI
https://doi.org/10.5281/zenodo.23505185
Primary Topic
Adversarial Robustness in Machine Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Content-Hiding Attacks and Defenses for LLM-Based Agent-Skill Scanners

Seungho Son
Zenodo (CERN European Organization for Nuclear Research)
Adversarial Robustness in Machine Learning
preprint

Content-Hiding Attacks and Defenses for LLM-Based Agent-Skill Scanners

Seungho Son
preprint en

Abstract

AI agent “skills” (a natural-language SKILL.md plus bundled scripts) are distributed through marketplaces and public Git repositories, and a growing set of scanners classify them as safe or malicious, increasingly with a large language model (LLM) as the judge. We ask where these LLM-based scanners actually fail. Using a public benchmark of labeled skills and two production LLMs as scanners, we separate two attacker strategies: arguing (appending text that tries to talk the scanner out of its verdict) and hiding (positioning the malicious content so the scanner does not read it). Arguing is bounded and model-dependent: hand-written “this was approved by security” framing flips 18–24% of caught-malicious skills on a small model but only about 6–9% on a stronger one, and a feedback-driven adaptive attacker with a strong model does not beat the static version. Hiding is not: pushing the payload past the scanner’s read window flips 100% of caught-malicious skills on both models, and in-window dilution still flips 17–48%. Four real evasive skills built by an independent red team, and an independently built third-party scanner, show the same pattern. A whole-document chunked scan with repetition collapse recovers truncation hiding almost completely (100% → 11–14% on both models), but no defense we tried meaningfully reduces in-window dilution. The weakness of LLM skill scanners is perception, not reasoning.

Zenodo (CERN European Organization for Nuclear Research)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.