Back to all rules / Hidden content and security

sec-skill-binary

Executable binary inside a skill folder.

warning by default Hidden content and security Config or baseline only

Source: Snyk: ToxicSkills, malicious AI agent skills (snyk.io), read 14 October 2026.

On GitHub: the rule doc and the tests.

Jump to another rule89

What it catches#

Executable binary inside a skill folder.

An executable binary (ELF, Mach-O, PE or WebAssembly, recognised by the first four bytes) inside a skill folder, including one named like a text file (helper.txt that is really an ELF). Only those four bytes are read. Needs --include skills.

Why it matters#

A binary cannot be reviewed as text. Only the first 4 bytes are read, to detect ELF, Mach-O, PE and WebAssembly headers, including binaries named like text files.

Bad example#

.claude/skills/image-tools/
  SKILL.md
  scripts/convert        # Mach-O 64-bit executable, 2.1 MB

SKILL.md says "run scripts/convert on the file". Nobody can read what the binary does, and it is committed as if it were a script.

Good example#

.claude/skills/image-tools/
  SKILL.md
  scripts/convert.py     # 60 lines, calls Pillow

How to fix#

Replace the binary with source, or with an install step for a published package pinned to a version. If a binary is unavoidable, keep it out of the skill folder, document where it comes from, and record its hash in SKILL.md.

Suppress or configure#

sec-skill-binary is a security rule, so it cannot be suppressed with a comment in the file: a suppression comment is itself a hidden comment, and an attacker who can add a payload can add one next to it. A comment that tries gets a suppression-not-allowed warning.

Turn it off, or change its severity, in .asitisrc.json, which shows up in review:

{ "rules": { "sec-skill-binary": "off" } }

Or accept the findings you have today in a baseline, so only new ones fail the build:

asitis lint --format json --write-baseline > .asitis-baseline.json
asitis lint --baseline .asitis-baseline.json

Source#

Snyk: ToxicSkills, malicious AI agent skills, read on 14 October 2026.

See what an agent changed in your CLAUDE.md. Keep or revert each change.

The linter is free and needs no signup. I'm also building a desktop editor for the markdown your agents write and read. It shows what an agent changed since you last looked, lets you keep or revert each change, and never touches a line you didn't edit. No release date yet. One email to confirm, one when the paid beta opens, one when 1.0 ships. $29 once for a founding licence, with 24 months of updates.

Or add the linter to CI, no email needed.

Your address is stored with Cloudflare, which hosts this site. No IP address is kept. See the privacy policy.

Run the rule

Back to all rules

This page is generated from the plugin's rule registry. Edit it on GitHub. False positive? Open an issue with the line it fired on.