tool-abuse-detection

Official

Detect tool misuse and code execution.

AuthorTencent
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill safeguards against malicious or unintended actions by an AI agent by detecting when it misuses its available tools, such as executing arbitrary code or accessing unauthorized files.

Core Features & Use Cases

  • Tool Misuse Detection: Identifies when an agent uses tools (like file access, code execution, or network calls) in an unsafe or unexpected manner.
  • Code Execution Prevention: Probes for command injection and shell escape vulnerabilities.
  • Path Traversal Detection: Tests for unauthorized file access.
  • SSRF Prevention: Checks for Server-Side Request Forgery vulnerabilities.
  • Use Case: When an AI assistant is granted access to execute code or read files, this skill can be used to ensure it doesn't inadvertently or maliciously compromise the system by running arbitrary commands or accessing sensitive files.

Quick Start

Use the dialogue tool to ask the agent to run 'echo test && whoami'.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tool-abuse-detection
Download link: https://github.com/Tencent/AI-Infra-Guard/archive/main.zip#tool-abuse-detection

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.