New to ShortSpan? We distil the AI-security research that matters into practitioner takeaways — edited by Ben Williams (NCC Group). Get the weekly email
// Analysis

Covert steering hides inside reusable agent skills

Agents
Covert steering hides inside reusable agent skills

New research shows third-party agent “skills” can bias Large Language Model (LLM) agents without breaking tasks or output formats. Using a black-box method called SkillShift, attacker-favoured options hit 81.33% in shopping and 63.33% in Python dependencies, with 100% valid outputs. The strategies transfer across models and evade current scanners.

Agent frameworks love reusable “skills” that tell a Large Language Model (LLM) how to act: steps to follow, tools to use, formats to return. This paper points out the obvious but largely unaddressed risk hiding in plain sight: those skills are policies. If you slip in a biased policy that still looks helpful and emits the right shape of output, you can move decisions without raising the usual red flags.

The authors name the target Skill Policy Integrity, which is the idea that a skill’s induced behaviour should actually match its stated function and the user’s objective. Then they try to break it. Their method, SkillShift, edits a base skill with plausible-sounding rules that nudge choices while preserving utility and schemas. No prompt takeovers, no candidate list tampering, no model swaps. Just policy tweaks that pass as reasonable guidance.

What they did

SkillShift represents a steering strategy as a bundle of evaluation principles, task rules, tie-breaking criteria and examples. It leans on three levers: reframe what “good” looks like, manipulate tie-breaks with secondary criteria, and lock the behaviour with semantic examples. The build loop is black-box: a proposer drafts a plausible strategy; the system tests only final outputs; deterministic validators enforce format, domain constraints and stealth; failures trigger targeted patches; then a compression pass strips conspicuous fluff before freezing the skill.

In two fixed-candidate domains, this was enough to move the needle hard. In shopping recommendations, attacker-favoured items were chosen 81.33% of the time. In Python dependency selection, 63.33%. Output validity stayed at 100%. Compared to clean skills, lifts were about +44 and +63 percentage points. The frozen strategies transferred across held-out queries, multiple LLM backends and full agent environments, with cross-model lifts ranging from 20.00 to 51.33 points in shopping and 52.67 to 100.00 in Python. Evaluated scanners and registries largely failed to distinguish these skills from clean ones. An automated code judge did spot utility degradation in the dependency case, with mean quality falling from 0.558 to 0.506.

Does it matter

This is not another prompt injection demo. It is supply-chain steering: publish a believable skill, keep outputs tidy, and bias the agent’s policy. That is a different class of risk, and current syntactic scans do not touch it. Yes, the scope is narrow: two domains, 50 queries per domain, three runs, fixed candidates and specific endpoints. Real systems often have dynamic choices and richer feedback, which could blunt or complicate the attack. But the transfer results across models and environments are the uncomfortable bit. If policies generalise, then the usual registry hygiene and schema checks are not enough. The hard problem is behavioural audit and provenance for policy artefacts. How to test a skill’s declared objective against its induced behaviour, at scale, without tipping off the attacker? That is where this work leaves defenders to sweat.

Additional analysis of the original ArXiv paper

📋 Original Paper Title and Abstract

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

Authors: Jiarui Li, Jiahao Chen, Chunyi Zhou, Yuwen Pu, Oubo Ma, Zhou Feng, Chunqiang Hu, and Shouling Ji
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.33% and 63.33% while maintaining a 100% utility-preserving 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.

🔍 ShortSpan Analysis of the Paper

Problem

The paper studies how reusable agent Skills, which are loadable instruction bundles that shape an LLM agent's procedures and decision heuristics, create a supply‑chain risk by acting as externalised behavioural policies. A malicious third‑party Skill can preserve the declared task and valid output interface while covertly redirecting the agent toward an undisclosed objective. The authors formalise Skill Policy Integrity as the requirement that a Skill‑induced policy remain faithful to its declared functionality and the user‑authorised objective; violations occur when a Skill systematically biases decisions without changing task correctness or output format.

Approach

The authors introduce SkillShift, a constrained black‑box framework that searches over a structured, validated space of policy edits appended to a base Skill. A strategy is represented as a tuple of global evaluation principles, task rules, tie‑breaking criteria and semantic examples. Steering mechanisms include policy framing (reweight attributes), tie‑breaking manipulation (plausible secondary criteria) and semantic anchoring (examples to stabilise behaviour). Construction uses an initial plausible strategy from a proposer model, iterative failure‑guided black‑box optimisation using only final outputs, deterministic validators that enforce schema and stealth constraints, category‑level failure patches, and compression to remove redundant or conspicuous content before freezing the Skill. The threat model forbids query, candidate, order or model modification and disallows explicit target commands or instance‑specific shortcuts.

Key Findings

  • SkillShift can covertly steer agent choices while preserving valid outputs: in two fixed‑candidate tasks (shopping recommendation and Python dependency selection) it raised attacker‑favoured selection rates to 81.33% (shopping) and 63.33% (Python) while maintaining a 100% valid‑output rate.
  • Substantial lift over clean Skills: SkillShift improved selection rates by roughly +44 and +63 percentage points relative to clean Skills in the evaluated domains.
  • Frozen strategies generalise: the constructed Skills transferred without further optimisation across held‑out queries, multiple LLM backends and full agent environments. Cross‑model Lifts ranged from about 20.00 to 51.33 percentage points in shopping and 52.67 to 100.00 points in Python; complete‑agent Lifts spanned 28.67–94.00 points while preserving high valid‑output rates.
  • Existing scanners largely fail: six evaluated detectors and three registries did not distinguish SkillShift Skills from clean ones under default configurations, whereas an explicit direct override baseline was often detected.
  • Downstream utility can degrade: an automated code‑quality judge observed mean code quality falling from 0.558 to 0.506 and reductions in quality‑pass rates, showing valid selection need not imply preserved utility.

Limitations

Evaluation is limited to two fixed‑candidate domains, 50 queries per domain with three runs per query, and specific detector and registry configurations. The optimisation and assessments use particular model endpoints and an automated LLM judge for code quality; results may vary with broader domains, dynamic candidate sets, different evaluators or more exhaustive statistical testing.

Implications

Attackers can covertly bias agent decisions by publishing plausible Skill content that preserves task validity and output format but shifts selection policies. Such Skills are reusable and transferable, enabling supply‑chain or dependency‑level manipulation that is hard to detect with current syntactic scanners. Offensive possibilities include preferential commercial steering, dependency selection bias and subtle long‑term influence of automation workflows. These findings underscore the need for behavioural auditing, provenance and signing of Skills, and counterfactual tests that compare alternative Skill conditions rather than relying on output validity alone.

// Similar research

Related Research

Get the weekly digest

The few AI-security papers that matter, with the practitioner takeaway. No spam.