A shadow feature is a capability built into an agent skill that its documentation and SKILL.md description do not mention. It is the gap between what a skill says it does and what its code is built to do, and one of the clearest signs of a malicious skill.

An example

A skill described as a GitHub helper can validate repository metadata and summarize issues exactly as promised, while its helper script also reads environment variables, searches for .env files and opens a connection to an endpoint the documentation never mentions.

Why shadow features are hard to spot

Most people approve a skill based on its visible description. The extra behavior runs through the AI agent, so a person skimming the instructions has no reason to expect it, and the documentation alone will not reveal it.

How shadow features get caught

Detection means comparing declared purpose with observed behavior. That comparison draws on four kinds of evidence from a sandbox run: what the agent reported doing, system call traces, network captures, and file system changes.

Related