/install isnad-scan
isnad-scan — Security Scanner for AI Agent Skills
Scan any skill, package, or directory for security threats before installing or running it.
Quick Scan
isnad-scan \x3Cpath>
Scans a directory and reports findings by severity (CRITICAL, HIGH, MEDIUM, LOW).
Options
isnad-scan \x3Cpath> --cve # Also check dependencies for known CVEs (via OSV.dev)
isnad-scan \x3Cpath> -v # Verbose output (show matched lines)
isnad-scan \x3Cpath> --json # Machine-readable JSON output
isnad-scan \x3Cpath> --cve -v # Full audit: CVEs + verbose findings
What It Detects (69+ patterns)
Code Injection — shell execution, eval, exec, subprocess, os.system, dynamic imports Prompt Injection — role override attempts, instruction hijacking, jailbreak patterns Credential Exfiltration — env var harvesting, keychain access, token theft, file reads of sensitive paths Network Threats — reverse shells, DNS exfiltration, unauthorized outbound connections, webhook data leaks Filesystem Attacks — path traversal, symlink attacks, /etc/passwd reads, SSH key access Supply Chain — typosquatting detection, minified JS analysis, binary file scanning, hidden files Crypto Risks — weak algorithms, hardcoded keys, wallet seed extraction
When to Use
- Before installing a new skill — scan the skill directory first
- Auditing existing skills — periodic security review
- Reviewing PRs/contributions — catch malicious code in submissions
- Pre-publish validation — ensure your own skills are clean before sharing
- CI/CD integration —
isnad-scan . --jsonfor automated checks
Interpreting Results
🔴 CRITICAL — Immediate threat. Do not install/run.
🟠 HIGH — Likely malicious or dangerous. Review carefully.
🟡 MEDIUM — Suspicious pattern. May be legitimate, verify intent.
🔵 LOW — Informational. Common in legitimate code but worth noting.
Examples
Scan a ClawHub skill before installing:
isnad-scan ./skills/some-new-skill/
Full audit with CVE checking:
isnad-scan ./skills/some-new-skill/ --cve -v
JSON output for automation:
isnad-scan . --json | python3 -c "import sys,json; d=json.load(sys.stdin); print(f'{d[\"summary\"][\"critical\"]} critical, {d[\"summary\"][\"high\"]} high')"
Python API
from isnad_scan import scan_directory
results = scan_directory("/path/to/skill")
for finding in results.findings:
print(f"[{finding.severity}] {finding.category}: {finding.description}")
print(f" File: {finding.file}:{finding.line}")
About ISNAD
ISNAD (إسناد) means "chain of transmission" — a method for verifying the authenticity of transmitted knowledge. isnad-scan is the security layer of the ISNAD Protocol, bringing trust verification to the AI agent skill ecosystem.
PyPI: pip install isnad-scan
GitHub: counterspec/isnad
Protocol: isnad.md
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install isnad-scan - 安装完成后,直接呼叫该 Skill 的名称或使用
/isnad-scan触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
isnad-scan 是什么?
Scan AI agent skills for security vulnerabilities — detects code injection, prompt injection, credential exfiltration, supply chain attacks, and 69+ threat p... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 518 次。
如何安装 isnad-scan?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install isnad-scan」即可一键安装,无需额外配置。
isnad-scan 是免费的吗?
是的,isnad-scan 完全免费(开源免费),可自由下载、安装和使用。
isnad-scan 支持哪些平台?
isnad-scan 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 isnad-scan?
由 Rapi(@0xrapi)开发并维护,当前版本 v1.0.0。