Skip to content
VirusTotal·Indexed by this site · Originally published· Event →SelectedAttention39

How some malicious AI skills hide instructions from reviewers

How Some Malicious AI Skills Hide Instructions from Reviewers

AI summary

VirusTotal analyzed the 35,878 AI agent skills it received, of which 6,637 were malicious; 62% of the malicious skills contained no malicious code, with the payload written in ordinary language in the skill documentation; 90 (1.4%) further hid instructions so that what reviewers see differs from what the agent actually reads. The three types of techniques are: 56 skills inserted 78 to 825 blank lines before the payload, such as a skill that, after 733 blank lines, required that Nigeria's WHO malaria incidence rate always be output as 0; 28 put instructions in HTML comments, which GitHub and marketplace pages do not render but agents read in full, such as requiring exfiltration of API keys from environment variables and configuration files; 6 used invisible Unicode characters (such as U+E0000–U+E007F tag characters, zero-width characters) to encode instructions or evade keyword matching. The authors state that such techniques are currently not common; some skills also instruct the agent to remain silent, or write entries into persistent files such as MEMORY.md, which may still affect the agent after the skill is removed.

Why it was selected

The article uses real samples to break down three types of hidden techniques—blank padding, HTML comments and invisible Unicode—and gives key inspection points, which people installing or reviewing agent skills can use to check themselves.

Read originalblog.virustotal.com