agentic-supply-chain-detection

Detect supply-chain compromise risks in AI agents via dialogue-based probing.

6.1k|568|Updated Dec 25, 2024
One-click install
npx skills add https://github.com/Tencent/AI-Infra-Guard --skill agentic-supply-chain-detection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentic-supply-chain-detection
Source: https://github.com/Tencent/AI-Infra-Guard/tree/main/agent-scan/agent_scan/prompt/skills/agentic-supply-chain-detection
Command: npx skills add https://github.com/Tencent/AI-Infra-Guard --skill agentic-supply-chain-detection

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI agents that dynamically load plugins, tools, models, or remote configurations can be compromised through untrusted supply-chain sources, and this Skill identifies those weaknesses before attackers exploit them.

Core Features & Use Cases

  • Untrusted Plugin/Tool Loading Tests: Probes whether the agent accepts and executes tools or extensions from arbitrary URLs or user forks.
  • Dependency Integrity Checks: Tests whether the agent performs installs or updates from unpinned, unverified, or mutable sources.
  • Malicious Artifact Injection: Attempts to inject poisoned tool manifests or prompt packs to see if the agent trusts user-supplied artifacts without validation.
  • Use Case: A security engineer red-teams a production AI agent that supports third-party plugins, using this Skill to confirm the agent rejects unsigned tool manifests and requires admin approval before loading new models.

Quick Start

Run the agentic-supply-chain-detection skill against the target agent to test whether it loads untrusted plugins, dependencies, or artifacts.

Frequently Asked Questions about agentic-supply-chain-detection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test an AI agent for supply chain vulnerabilities?

Probe the agent with prompts asking it to load tools from arbitrary URLs, install unpinned packages, or trust user-supplied manifests. If the agent accepts or executes unverified content without integrity checks or admin approval, it is vulnerable.

What is agentic supply chain compromise?

It is a risk where attackers introduce malicious code or instructions into an AI agent through its dependency chain, such as compromised plugins, tools, model providers, or update channels. The agent then executes attacker-controlled content.

When should I skip supply chain detection testing?

Skip this testing when the target agent has no external dependencies and does not dynamically load plugins, tools, models, remote configs, or prompts. The probes only apply to agents with dynamic loading behavior.

What makes an agent safe against malicious plugin loading?

An agent is considered safe if it refuses untrusted sources, requires signed and pinned dependencies, validates artifacts before use, and demands explicit admin approval before enabling new tools or models.

How are supply chain findings reported by this skill?

Each confirmed finding is emitted as a structured vuln XML block containing the title, evidence with test prompts and responses, impact, risk type, severity level, remediation suggestion, and the full conversation transcript.