Skip to content

Seeing Is Not Screening: Multimodal Hidden Instruction Attacks Against Agent Skill ScannersSeeing Is Not Screening: Multimodal Hidden Instruction Attacks on Agent Skill Scanners

arXiv· arXiv:2606.18198· NeurIPS 2026· Xiaojun Jia, Jie Liao, Simeng Qin, Ke Ma, Wenbo Guo, Yebo Feng, Aishan Liu, Yang LiuNanyang Technological University; Chongqing University; Northeastern University; University of Chinese Academy of Sciences; Beihang UniversityIndexed by this site · 24 days ago· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose SkillCamo, which hides malicious instructions in skill images to bypass scanners, achieving 78–100% ASR against six baseline scanners, and propose ExecScan, which reduces it to 8%.

Threat modelThe attacker starts from a benign skill package, renders malicious instructions into images distributed with the skill, and rewrites SKILL.md so that the images appear to be part of a normal workflow; the goal is for the skill to remain malicious at execution time (y(S̃)=1) but not be flagged by the scanner (D(S̃)=0). The victim systems are the multimodal agent that installs the skill and the pre-deployment skill scanner.

Questions
Existing agent skill scanners mainly analyze text, metadata, and code, and insufficiently inspect malicious instructions conveyed by images in skill packages; multimodal agents at runtime can read these instructions, creating a scanning blind spot.
Methods
SkillCamo renders malicious commands into images and rewrites SKILL.md so they appear as normal workflows, then iteratively rewrites based on scanner feedback; ExecScan performs multimodal artifact analysis and execution simulation, recovers hidden instructions, and projects execution chains to determine risk.
Experiments and results
SkillCamo achieved ASR of 78–100% against six baseline scanners, but only 8% against ExecScan; ExecScan achieved the highest F1 of 83.8% and the lowest FPR of 27.4%; after removing visual analysis, the detection rate dropped from 92% to 1%.
Limitations and future work
The authors state that the evaluated skill sources, attack variants, malicious instruction templates, scanner implementations, and backbone LLMs are all bounded, and results may change as scanners and models evolve; ExecScan is more costly and cannot replace mechanisms such as runtime sandboxing.
Experimental setupCisco Skill Scanner、HSS et al. · 自建技能评测集(100 良性基础技能、400 对抗技能、200 良性评估技能,来自 ClawHub、skill0.io、GitHub 等) · ASR、FPR et al.
Evaluated models
Cisco Skill ScannerHSSAuditorSlowMistVetterSkillFortifyExecScangpt-5-miniclaude-sonnet-4.6gemini-3-flash-preview
Benchmarks
自建技能评测集(100 良性基础技能、400 对抗技能、200 良性评估技能,来自 ClawHub、skill0.io、GitHub 等)
Metrics
ASRFPRPrecisionRecallF1
AI summaryThe researchers propose the SkillCamo attack, which hides malicious instructions in images bundled with agent skills and rewrites surrounding documentation so that it naturally references them, potentially bypassing skill scanners that rely on textual signals. An empirical study of existing scanners shows that current defenses mainly rely on textual descriptions, manifests, and source code as security analysis signals; harmful operational instructions hidden in images may bypass scanning yet be recovered by multimodal agents at deployment time. On the defense side, the paper proposes ExecScan, which performs intent extraction, behavior reconstruction, abuse assessment, and cautious execution simulation on skill artifacts, jointly analyzing documentation, code, referenced resources, and visual content to identify downstream risks such as data exfiltration, sabotage, persistence, deception, and privilege escalation. Experiments show that image-hidden malicious instructions pose a challenge to existing skill scanners, and that ExecScan can improve skill scanning performance.

The researchers propose the SkillCamo attack, which hides malicious instructions in images bundled with agent skills and rewrites surrounding documentation so that it naturally references them, potentially bypassing skill scanners that rely on textual signals. An empirical study of existing scanners shows that current defenses mainly rely on textual descriptions, manifests, and source code as security analysis signals; harmful operational instructions hidden in images may bypass scanning yet be recovered by multimodal agents at deployment time. On the defense side, the paper proposes ExecScan, which performs intent extraction, behavior reconstruction, abuse assessment, and cautious execution simulation on skill artifacts, jointly analyzing documentation, code, referenced resources, and visual content to identify downstream risks such as data exfiltration, sabotage, persistence, deception, and privilege escalation. Experiments show that image-hidden malicious instructions pose a challenge to existing skill scanners, and that ExecScan can improve skill scanning performance.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors state that skill scanners only look at text and code, so malicious instructions hidden in images can bypass scanning and be executed by multimodal agents.

    Core problem: existing agent skill scanners mainly analyze text, manifests, and code, and insufficiently check for executable malicious instructions hidden in images, while multimodal agents can recover and execute these instructions at runtime.

    • Problem setting: agent skills package instructions, scripts, resources, and tool interfaces into reusable modules; the authors argue that once a malicious skill is installed or trusted, it may influence the agent's downstream reasoning and trigger unsafe actions (such as data exfiltration).
    • Shortcomings of existing methods: the authors state that existing scanning and review tools such as Cisco Skill Scanner, Snyk Agent Scan, Skill Vetter, HSS-Scan, and SkillFortify organize detection mainly around textual descriptions, metadata, source code, permissions, and dependency signals, and are weak at checking actionable instructions in visual resources.
    • Core observation: as multimodal agents can read images and jointly understand image content with text and code context, images in skill packages are no longer passive resources and may become an additional instruction channel.
    • What the paper proposes: the attack framework SkillCamo (hiding malicious instructions in skill images and rewriting documents) and the defense module ExecScan (execution-oriented multimodal scanning that performs intent extraction, behavior reconstruction, abuse assessment, and execution simulation).
    • Threat model:
      • Goal: construct an adversarial skill S̃ that remains malicious when executed (y(S̃)=1) but is not flagged by the scanner (D(S̃)=0).
      • Knowledge: the attack uses a scanner-in-the-loop approach, submitting generated skills to the target scanner and obtaining feedback for iterative rewriting.
      • Capability: starting from a benign skill package, extract commands from a malicious script and render them into images added to the resource directory, and rewrite SKILL.md as a whole with an LLM.
      • Victim system: the multimodal agent that installs the skill (jointly interpreting documents and images at runtime), and the pre-deployment skill scanner.
  2. What related research exists?

    Related work falls into three categories: empirical studies of skill security risks, skill scanning and defense tools, and SkillJect as an attack baseline.

    Agent skills and their security risks

    • Liu et al. (2026b) — The authors describe it as the first large-scale empirical study, collecting 42,447 skills, analyzing 31,132, and reporting that 26.1% contain at least one vulnerability (prompt injection, data leakage, privilege escalation, supply chain risk).
    • Schmotz et al. (2026) — Point out that skill files can serve as prompt injection channels, causing data leakage and destructive actions in real agent settings.
    • Jia et al. (2026) — Propose SkillJect, which through closed-loop optimization makes malicious skills both stealthy and triggerable; this paper uses it as the text injection attack baseline.

    Skill scanning and defenses

    • Cisco Skill Scanner (2026) — Combines signature detection, LLM semantic analysis, behavioral data flow analysis, and configurable rule packs to identify threats.
    • Snyk Agent Scan (2025) and Skill Vetter (fedrov2025, 2025) — The former extends security scanning to components such as skills and MCP servers, while the latter treats security as a pre-installation review issue.
    • SkillScan/HSS of Liu et al. (2026b), ClawGuard/Auditor of Ying et al. (2026), SkillFortify of Bhardwaj (2026) — Respectively a multi-stage static + LLM semantic scanning framework, OpenClaw ecosystem scanning and pre-deployment auditing, and a formal analysis framework for the skill supply chain.

    Baselines and benchmarks

    • Attack baseline: the text injection attack SkillJect (Jia et al., 2026).
    • Defense baselines (scanners under test): six existing scanners: Cisco, HSS, Auditor, SlowMist, Vetter, and SkillFortify.
    • Evaluation data: an evaluation set built by the authors; benign skills come from ClawHub, skill0.io, GitHub, as well as official repositories and websites reviewed by scanners.

    Positioning of this paper: The authors state that the above scanners are mainly organized around directly inspectable text and code evidence; this paper proposes an attack targeting the visual instruction channel that they do not adequately cover, and uses execution-oriented multimodal analysis for defense.

  3. How does the paper address this problem?

    SkillCamo carries malicious instructions in images and iteratively rewrites documents based on scanner feedback; ExecScan uses execution simulation to recover hidden instructions and determine risk.

    Overall approach: on the attack side, SkillCamo moves malicious instructions from directly inspectable text to the image channel and uses scanner feedback to iteratively suppress suspicious signals; on the defense side, ExecScan shifts from "what a skill contains" to "what a skill will do," recovering hidden instructions through multimodal artifact analysis and execution simulation.

    Problem formalization

    • A skill package is represented as S = {M, C, R}: M is text such as SKILL.md, C is executable components such as scripts, and R is resources such as images.
    • The attack goal is y(S̃) = 1, D(S̃) = 0, i.e., the skill remains malicious when executed but the scanner does not flag it.
    • Defense goal: a detector F : S → [0, 1] that judges a skill malicious when F(S) ≥ τ, so that predictions match true labels.

    SkillCamo attack pipeline (four stages, Figure 2)

    • Skill context analysis: analyze the original SKILL.md to extract the skill's purpose, section hierarchy, and layout-level insertion cues as conditioning information for rewriting.
    • Image carrier construction: use a command loader to extract the target command c = Ψ(h) from the malicious script and render it into a seemingly benign image (e.g., a workflow diagram) placed in the resource directory.
    • Document semantic rewriting: use an LLM rewriter to rewrite SKILL.md as a whole, naturally framing the image as a normal installation step, usage instruction, or workflow diagram while preserving the skill's original purpose and tone.
    • Scanner-guided iterative refinement: submit the candidate skill to the target scanner; if flagged, compress the scan output into rewriting feedback and proceed to the next rewriting round; maximum number of iterations t = 5.

    Three hiding strategies

    • SkillCamo (FULL): the complete malicious instruction is embedded directly in the image.
    • SkillCamo-Split: the instruction is split across the image and SKILL.md, so that only cross-modal joint interpretation can recover the complete instruction.
    • SkillCamo-Cloze: key instruction tokens are hidden in the image, and SKILL.md retains fill-in-the-blank textual context for reconstruction.

    ExecScan defense pipeline (two stages, Figure 3)

    • Stage I multimodal artifact analysis: use a multimodal LLM to jointly analyze SKILL.md, scripts, configuration, and images, outputting an intent profile (declared purpose and access scope), a behavior profile (file operations, subprocesses, network access, etc.), and an abuse profile (preliminary risk across six dimensions: exfiltration, destruction, persistence, deception, privilege escalation, and stealth).
    • Stage II execution simulation (four steps): construct K = 5 possible usage scenarios based on the intent profile; under each scenario, separately recover surface instructions and latent instructions (image-carried instructions, encoded payloads, etc.); project the action chains the agent might execute; compare the risk of surface instructions alone with the execution-level risk after recovering latent instructions.
    • Final scoring: F(S) = maxk rexeck, i.e., the risk of the most dangerous execution path across all simulated scenarios; the skill is flagged if any plausible scenario leads to high-risk behavior.

    Evaluation methodology

    • Scanners are treated as binary classifiers: ASR measures the proportion of adversarial skills that bypass the scanner, FPR measures the proportion of benign skills wrongly rejected, Recall = 1 − ASR, and Precision and F1 are also reported (Appendix B).
    • Malicious instructions come from a fixed pool of 10 single-line shell payloads: 5 seed payloads covering environment variable exfiltration, SSH key dumping, cron persistence, network scanning, and Git credential exfiltration, plus 5 generated by a local uncensored LLM (Appendix B).
    • The backbone model for attacks and ExecScan is gpt-5-mini; the three skill-based scanners Auditor, SlowMist, and Vetter are run with Claude Code CLI v2.1.108 plus Claude Haiku 4.5. Appendix E gives all attack and defense prompts.
  4. What experiments did the paper conduct?

    SkillCamo achieves 78–100% ASR against six baseline scanners; ExecScan reduces it to 8% and has the highest F1 and lowest FPR; removing visual analysis drops the detection rate to 1%.

    Experimental setup

    • Scanners tested: six baselines—Cisco Skill Scanner, HSS, Auditor, SlowMist, Vetter, SkillFortify—plus this paper's ExecScan, seven in total.
    • Dataset: 100 benign base skills (from ClawHub, skill0.io, GitHub); applying 4 attacks to each yields 400 adversarial skills; another 200 benign evaluation skills (from official repositories and scanner-reviewed websites) are used to measure false positives.
    • Attack methods: the text baseline SkillJect, plus three variants SkillCamo, SkillCamo-Cloze, and SkillCamo-Split.
    • Metrics: ASR (proportion of adversarial skills not flagged), FPR, Precision, Recall, F1; Recall = 1 − ASR.
    • Implementation: attacks and ExecScan use gpt-5-mini; Auditor, SlowMist, and Vetter use Claude Code CLI v2.1.108 + Claude Haiku 4.5; the feedback iteration cap is t = 5, and the number of ExecScan simulated scenarios is K = 5.
    • Statistical test: two-sided Fisher exact test on the ASR in Table 1 (Appendix A).

    Main results

    Table 1: each scanner's ASR (%) on direct scanning (the None row is the unflagged rate on 100 benign skills) and the four attacks (lower is better for scanners).

    Swipe horizontally to read the table

    AttackCiscoHSSAuditorSlowMistVetterSkillFortifyExecScan
    None (unflagged rate)99979999999798
    SkillJect9000001000
    SkillCamo100879278871008
    SkillCamo-Cloze40333955606431
    SkillCamo-Split54204842439717
    • The authors state that SkillCamo achieves 78–100% ASR against each baseline scanner, and the Cloze and Split variants still bypass multiple scanners at rates of 20–97%.
    • The authors state that the Fisher exact test confirms the ASR gap is statistically significant (Appendix A: SkillCamo aggregated against baselines 544/600 vs ExecScan 8/100, p = 2.89×10⁻⁶⁵).
    • The text baseline SkillJect has ASR 0 on HSS, Auditor, SlowMist, Vetter, and ExecScan, but 90 on Cisco and 100 on SkillFortify.

    Defense effectiveness (Table 2)

    Binary classification performance on 400 adversarial skills + 200 benign skills:

    Swipe horizontally to read the table

    ScannerFPR↓Precision↑Recall↑F1↑
    Cisco52.552.729.037.4
    HSS90.959.165.061.9
    Auditor31.877.855.364.6
    SlowMist56.167.056.361.2
    Vetter27.879.252.563.2
    SkillFortify56.625.89.814.2
    ExecScan27.485.682.083.8
    • The authors state that ExecScan achieves the best trade-off across all metrics: highest F1, Precision, and Recall, and lowest FPR.
    • The authors note that compared with HSS, which has the second-highest recall, ExecScan's Recall is 17.0 percentage points higher and its FPR is 63.5 percentage points lower, arguing that the improvement is not due to overly conservative rejection.

    Iteration count and transferability

    • Effect of iterations (Figure 4): cumulative ASR as a function of feedback rounds t = 1 to t = 5; the authors state that SkillCamo rapidly reaches high cumulative ASR on baseline scanners, while ExecScan maintains low ASR across rounds (the specific curve values in the figure are unreadable in the text conversion).
    • Cross-scanner transfer (Figure 5): transfer heatmap with 50 adversarial skills at t = 1; the authors state that excluding ExecScan as a target, the average off-diagonal ASR among baseline scanners is 77.5%; skills optimized against other scanners achieve 0% ASR against ExecScan, and ExecScan's self-tested ASR is only 4%.

    Ablation and other analyses

    • Component ablation (Figure 6a, 100 held-out adversarial skills): full ExecScan detection rate 92%; removing visual analysis drops it to 1%, removing execution simulation drops it to 88%, and removing multi-scenario reasoning drops it to 86%. The authors state that cross-modal visual reasoning is key to recovering image-hidden instructions.
    • K sensitivity (Figure 6b): detection rate 94% at K=3, 96% at K=4, 98% at K=5.
    • Backbone model robustness (Appendix C, Table 3): on the same 100 SkillCamo adversarial skills, replacing the ExecScan backbone with claude-sonnet-4.6 or gemini-3-flash-preview yields detection rates of 100% for both (gpt-5-mini is 92/100).
    • Explicit image-warning prompt (Appendix D, Table 4, 50 adversarial skills): after adding an image-hidden-instruction warning to scanner prompts, Vetter's ASR drops from 88.0% to 18.0%, SlowMist from 78.0% to 22.0%, and Auditor from 88.0% to 56.0%, Cisco is unchanged (98.0%), HSS instead rises from 84.0% to 92.0%, and ExecScan drops from 10.0% to 0.0%. The authors state that prompt-level warnings are not a reliable defense, that their effect depends on scanner architecture, and that they may backfire.
  5. What are some points that can be further explored?

    The authors list limitations including that the evaluation scope is bounded, ExecScan is more costly, and it cannot replace runtime protection; the experiments cover only seven scanners and a fixed payload pool.

    Limitations and future directions noted by the authors

    • Bounded evaluation scope (Appendix A Limitations): the authors state that this work evaluates a bounded set of skill sources, attack variants, malicious instruction templates, scanner implementations, and backbone LLMs, and that the measured ASR and detection rates may change as commercial scanners, multimodal models, and agent runtimes evolve.
    • ExecScan is more costly (Appendix A Limitations): the authors state that ExecScan increases scanning cost due to multimodal analysis and execution simulation, and in practice may be better suited as a second-stage scanner or a triage tool for human review.
    • Does not replace runtime protection (Appendix A Limitations): the authors state that the research focuses on pre-deployment skill screening and cannot replace runtime sandboxing, least privilege, provenance checks, or post-installation monitoring.
    • Dual-use risk and release constraints (Appendix A Broader impacts): the authors state that the attack construction could help malicious actors design harder-to-detect skills, so they position SkillCamo as an evaluation method, avoid releasing operational exploitation infrastructure without safeguards, and recommend that public artifacts redact or neutralize executable payloads.

    Experimental coverage

    • The scanners tested are six baselines plus ExecScan, seven in total; Auditor, SlowMist, and Vetter run with Claude Code CLI v2.1.108 + Claude Haiku 4.5, and the default backbone for attacks and ExecScan is gpt-5-mini (Section 4.1).
    • The evaluation data are 100 benign base skills, 400 adversarial skills (4 attacks × 100), and 200 benign evaluation skills; the transfer experiment uses 50 adversarial skills with t = 1, and the image-warning ablation uses 50 adversarial skills (Section 4.1, Figure 5, Appendix D).
    • Malicious instructions come from a fixed pool of 10 single-line shell payloads, covering categories such as environment exfiltration, SSH key dumping, cron persistence, network scanning, and Git credential exfiltration (Appendix B).
    • The attack feedback iteration cap is t = 5, and the number of ExecScan simulated scenarios is K = 5; the paper does not report the number of queries or time cost per scanner.
    • The statistical test is a two-sided Fisher exact test on the aggregated attack success counts in Table 1 (Appendix A); the paper does not report human evaluation or reviewer agreement.
  6. Summarize the main content of the paper

    The authors propose the image-hidden instruction attack SkillCamo and the execution-oriented defense ExecScan; the former bypasses six baseline scanners, and the latter reduces ASR to 8%.

    An attack+defense paper on agent skill supply chain security, focusing on the scanning blind spot where images in skill packages serve as an instruction channel in the era of multimodal agents.

    • Problem: the authors state that existing skill scanners mainly analyze text, metadata, and code, and insufficiently check for actionable malicious instructions in images, while multimodal agents can jointly interpret documents and images at runtime and execute the instructions within them.
    • Attack SkillCamo: starting from a benign skill, render malicious commands into images placed in the resource directory, rewrite SKILL.md as a whole with an LLM so the images appear as normal workflows, then iteratively rewrite based on target scanner feedback (at most t = 5); there are three hiding strategies: FULL, Split, and Cloze.
    • Defense ExecScan: first perform joint multimodal artifact analysis (intent, behavior, and abuse profiles), then execution simulation—construct K = 5 usage scenarios, recover surface and latent instructions, project execution chains, and score by the risk of the most dangerous path.
    • Attack effectiveness: on adversarial skills generated from 100 benign skills, SkillCamo achieves 78–100% ASR against six baseline scanners, and the Cloze/Split variants achieve 20–97% (Table 1); average cross-scanner transfer ASR is 77.5% (Figure 5).
    • Defense effectiveness: ExecScan reduces the ASR of the three variants to 8%, 31%, and 17% respectively, and on 400 adversarial + 200 benign skills achieves the highest F1 of 83.8% and the lowest FPR of 27.4% (Table 2); removing visual analysis drops the detection rate from 92% to 1% (Figure 6).
    • Authors' conclusion: the authors state that skill scanning must go beyond text and code and analyze multimodal content at execution time; they also acknowledge that the evaluation scope is bounded, ExecScan is relatively costly, and it cannot replace protections such as runtime sandboxing.
Read originalNeurIPS 2026