Sophos Principal Data Scientist Younghoo Lee will be presenting new research at ...

@SophosXOps@infosec.exchange

Sophos Principal Data Scientist Younghoo Lee will be presenting new research at BSides Sydney tomorrow (Sat 7 Nov), on how to detect malicious AI agent skills.

AI agents increasingly come with ‘skills’: small add-ons that teach an agent how to do a specific task. Once installed, agents typically trust the description and run the code with their own privileges and accesses.

However, the description and the code do not have to agree. A skill that claims to summarize CSV files, for example, may also read credentials, contact external hosts – or execute shell commands.

Obfuscation makes this harder. Skills can split strings, build words from character codes, wrap content in Base64, resolve functions at runtime, or use zero-width characters and lookalike Unicode letters.

Obfuscation is not, of course, malicious in itself. Benign tools use it for minified code, test fixtures, and anti-tampering checks, so scanning only for obfuscation is likely to produce false positives.

Younghoo's approach splits the problem in two: code deterministically recovers what a skill may be hiding, then a small LLM judges whether that behavior fits what the skill claims to do.

The workflow has three steps: Decode without executing the skill; summarize the decoder’s events into facts-only evidence; and judge whether the visible behavior fits the declared intent.

On a synthetic benchmark, fine-tuning improved all three Qwen3 student sizes. The 4B model outperformed both static scanners on obfuscated skills and scored close to perfect on the benchmark.

For more info, see our new blog. Or, if you're coming to BSides Sydney, the talk is in Track B at 11am! sophos.com/en-us/blog/killing-