Urgent.News

What's breaking now, across thousands of outlets.

Tech

From Threat Model to Framework: Closing the Real Gaps in Agent Skill Security

A couple of weeks ago I wrote about the risk hiding inside AI Agent Skills, the small instruction folders that Claude, GitHub Copilot, and other agents now install like packages, and the fake malicious skill I built to prove that risk was real ( full piece here if you want the background). That post was the problem statement, a threat model, and a proof of concept. This post is the framework.…

This article transforms a threat model into a framework called agent-skills-guard to address security gaps in AI agent skills. The framework examines the instruction text in the frontmatter of SKILL.md files for hidden malicious instructions. It successfully detected an example where the skill description contained concealed instructions for silent operation and credential extraction.

However, the framework does not account for edited skills after trust is already established, as it only scans a single point in time. A future update aims to hash skill content at scan time and flag changes. The framework also tackles stale keyword lists by allowing users to extend detection rules through a separate rules.json file.

This makes it easy to add new detection patterns without modifying code. It successfully identified a network call in a skill that posted to a Slack webhook URL with hardcoded credentials. Finally, the framework addresses overly aggressive scanning that can lead to adoption issues. When a false positive occurs, such as flagging the word "silently" in a sentence that explicitly denies silent behavior, the framework can downgrade the finding to informational and label it as an internal API used by the tool.

This allows reviewers to see why the finding was suppressed without the issue being hidden entirely. Overall, agent-skills-guard closes significant security gaps in AI agent skills by statically analyzing the skill description text, allowing dynamic rule extensions, and providing mechanisms to handle false positives gracefully.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

GitHub Models is now retired

GitHub Models is now retired I missed this news until today, when the GitHub Actions run for my simonw/research repository failed with this error message: GitHub Models is temporarily unavailable as…

  • GitHub Models, model playground tool, retired
  • Announced via GitHub Actions failure message
  • Speculated cost of free tokens led to shutdown

More from Sunday 9 August →