Manuscript Offprint

arXiv:2609.02564

A Finger on the Scale: Covert Policy Steering through Agentic Skills

Jiarui Li, Jiahao Chen, Chunyi Zhou, Yuwen Pu, Oubo Ma, Zhou Feng, Chunqiang Hu, Shouling Ji

Abstract

Reusable agent Skills extend large language model (LLM) agents with task procedures, tool-use guidance, and output constraints. Yet these Skills also act as externalized behavioral policies, which create a supply-chain risk: a third-party Skill may preserve the declared task and valid output interface while covertly redirecting agent decisions toward an undisclosed objective. We formalize Skill Policy Integrity, which requires a Skill-induced policy to remain aligned with its declared functionality and the user-authorized objective. We further present SKILLSHIFT, a constrained black-box framework for covert policy steering without explicit target command injection or task hijacking. It combines semantically plausible policy edits with hierarchical validation, failure-guided optimization, and strategy compression to preserve effectiveness, output validity, transferability, and inconspicuousness. We instantiate this threat in agentic commerce and software dependency use, with SKILLSHIFT achieving attacker-favored selection rates of 81% and 63% while maintaining a 100% valid-output rate. The frozen policies also transfer without further optimization across heterogeneous LLM backends and agent environments. Moreover, the evaluated scanners fail to detect the constructed Skills, motivating behavioral auditing of reusable Skills as agent policy artifacts.

Introduction

Large language model (LLM) agents increasingly acquire new capabilities through reusable Skills without modifying their underlying model parameters (Wu et al. 2023; Anthropic 2024). As loadable instruction bundles, these Skills encode domain knowledge and task procedures, specify tool-use guidance and output constraints, and provide illustrative examples (Liu et al. 2026a; Duan et al. 2026). Consequently, Skills extend not only what an agent can do but also how it decides: they shape which evidence the agent prioritizes and how it resolves trade-offs (Liu et al. 2026b).

Loading a third-party Skill delegates a portion of the agent's decision-making logic to an external provider, thereby creating a security-critical supply-chain risk. Existing studies have largely focused on execution-oriented or task-boundary threats (Greshake et al. 2023; Zhan et al. 2024; Debenedetti et al. 2024), including malicious code execution, instruction hijacking, unauthorized tool invocation, and credential abuse (Liu et al. 2026a; Duan et al. 2026). However, these threats change what the agent does and fail to capture a Skill that preserves the authorized task while coercively redirecting how the agent decides.

Consider a shopping Skill that compares products based on user needs. A malicious provider can add plausible evaluation criteria and examples that covertly favor one brand. Although the agent still processes the original query and returns a valid recommendation, it selects the promoted brand more often, thereby serving an undisclosed commercial objective. Figure 1 illustrates this threat. This example exposes a missing security property that cannot be captured by task correctness or output validity alone. We define Skill Policy Integrity as the requirement that the behavioral policy induced by a Skill remain faithful to its declared functionality and the user-authorized objective, such that behavioral changes are attributable to task-relevant context. A violation occurs when an undisclosed third-party objective systematically influences the agent's behavior, even though the declared task, available actions, and output interface remain unchanged.

Accordingly, a critical question arises: can a third-party Skill systematically violate Skill Policy Integrity while preserving its declared functionality? To answer this question, we propose SKILLSHIFT, a structured black-box framework for policy steering. A practical violation of Skill Policy Integrity must satisfy four requirements: (1) effective steering across task contexts; (2) functional fidelity to the authorized task and output interface; (3) black-box reusability without instance-specific shortcuts; and (4) semantic stealth against explicit or conspicuous manipulation.

SKILLSHIFT addresses these requirements through a structured policy representation and constrained black-box optimization. The framework incorporates three complementary steering mechanisms: policy framing, tie-breaking manipulation, and semantic anchoring. These mechanisms manipulate candidate comparisons through plausible task guidance rather than direct target commands. During optimization, deterministic constraints prohibit candidate-data changes, positional or query-specific shortcuts, schema violations, and explicit target commands. The policy is then refined using only final model outputs, repaired through category-level feedback, and compressed to remove redundant or conspicuous content before being frozen for evaluation.

∗^{*}These authors contributed equally.

Figure

Figure 1: Attack scenario of Skill-layer policy steering. A manipulated third-party Skill shifts the comparison policy over an unchanged candidate set while preserving the nominal task and valid output format.

Across agentic commerce and coding dependency selection, SKILLSHIFT achieves policy steering rates (PSR) of 81% and 63%, improving over clean Skills by +44% and +63% while maintaining a 100% valid-output rate. Frozen policies remain effective on held-out queries and transfer without further optimization across LLM backends and complete agent environments. Most evaluated Skill scanners and prompt-injection detectors do not flag the manipulated Skills under their default rules (Cisco AI Defense 2026; Aguara Contributors 2026; Snyk 2026; Zhang et al. 2026; Protect AI 2024; NVIDIA 2026). We also evaluate registry-level handling on ClawHub, Tencent SkillHub, and vskill. Our contributions are summarized as follows:

  • We first formalize Skill Policy Integrity and expose a novel threat: Skills can preserve task validity while covertly shifting candidate selection, revealing a critical blind spot in existing safeguards.
  • We introduce SKILLSHIFT, a black-box framework that steers candidate selection by optimizing plausible Skill-level criteria and examples under task-preservation constraints, using only final model outputs.
  • We evaluate SKILLSHIFT's steering effectiveness, cross-setting generalization, detectability and downstream impact, revealing that valid outputs and passing security scans do not guarantee Skill Policy Integrity.

References (30)