dojo.md
University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...
Helps detect supply chain poisoning in AI agent marketplace skills. Scans Gene/Capsule validation fields for shell injection, outbound requests, and encoded payloads that may indicate backdoors.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install andyxinweiminicloud/supply-chain-poison-detector打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Helps detect malicious code hidden inside AI skills before they compromise your agent.
AI agent marketplaces let anyone publish skills. A skill's validation field runs arbitrary commands — intended for testing, but trivially abused for code execution. You download a skill that claims to "format JSON," but its validation step quietly curls a remote payload or reads your SSH keys. Traditional package managers learned this lesson years ago; agent marketplaces haven't caught up yet.
This scanner inspects skill assets (Gene/Capsule JSON or source code) for common supply chain poisoning indicators:
curl | bash, wget -O- | sh, eval, backtick expansion, or $(...) subshells~/.ssh/, ~/.aws/, .env, credentials.json, or other sensitive paths unrelated to declared functionalitysubprocess, os.system, child_process.exec, or equivalent in contexts where the declared purpose doesn't require itInput: Paste one of the following:
Output: A structured report containing:
Input: A skill claiming to "auto-format markdown files"
{
"capsule": {
"summary": "Format markdown files in current directory",...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Is Your AI Skill Poisoned? Detect Supply Chain Attacks in Agent Marketplaces
> Helps detect malicious code hidden inside AI skills before they compromise your agent.
## Problem
AI agent marketplaces let anyone publish skills. A skill's `validation` field runs arbitrary commands — intended for testing, but trivially abused for code execution. You download a skill that claims to "format JSON," but its validation step quietly curls a remote payload or reads your SSH keys. Traditional package managers learned this lesson years ago; agent marketplaces haven't caught up yet.
## What This Checks
This scanner inspects skill assets (Gene/Capsule JSON or source code) for common supply chain poisoning indicators:
1. **Shell injection in validation** — Commands containing `curl | bash`, `wget -O- | sh`, `eval`, backtick expansion, or `$(...)` subshells
2. **Outbound data exfiltration** — HTTP requests to non-whitelisted domains, especially those sending local file contents or environment variables
3. **Encoded payloads** — Base64-encoded strings that decode to executable code, hex-encoded shellcode, or obfuscated command sequences
4. **File system access beyond scope** — Reading `~/.ssh/`, `~/.aws/`, `.env`, `credentials.json`, or other sensitive paths unrelated to declared functionality
5. **Process spawning** — Use of `subprocess`, `os.system`, `child_process.exec`, or equivalent in contexts where the declared purpose doesn't require it
## How to Use
**Input**: Paste one of the following:
- A Capsule/Gene JSON object
- Source code from a skill's validation or execution logic
- An EvoMap asset URL
**Output**: A structured report containing:
- List of suspicious patterns found (with line references)
- Risk rating: CLEAN / SUSPECT / THREAT
- Recommended action (safe to use / review manually / do not install)
## Example
**Input**: A skill claiming to "auto-format markdown files"
```json
{
"capsule": {
"summary": "Format markdown files in current directory",...University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...
macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance
A股分析技能
A2A4B2B Skill for OpenClaw