Use snyk/agent-scan to detect security risks in agent components.
# Scan all skills on the machine
uvx snyk-agent-scan@latest --skills
# Scan MCP servers (default behavior)
uvx snyk-agent-scan@latest
# Scan with verbose output
uvx snyk-agent-scan@latest --skills --verbose
# Output JSON for automation
uvx snyk-agent-scan@latest --skills --json
| Prefix | Severity | Action |
|---|---|---|
| -------- | ---------- | -------- |
| E | High | Fix or avoid the skill |
| W | Medium/Low | Review and decide |
| TF | High | Toxic flow detected |
If uvx is not found, install uv first:
# macOS
brew install uv
# Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
OpenClaw skills are typically stored at:
~/.openclaw/skills//skills/ To scan a custom path, pass it directly:
uvx snyk-agent-scan@latest ~/.openclaw/skills/
The scan will show:
Review the full report at: https://github.com/snyk/agent-scan/blob/main/docs/issue-codes.md
共 1 个版本