AIShield Security Scanner

v4.3.0
io.github.lm203688/aishield Checked 6 hours ago Published 3 months ago

Scans MCP servers for tool poisoning, prompt injection and supply chain risks.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

aishield_scan

AIShield安全扫描 — 扫描MCP Server/AI工具的安全风险。 对齐OWASP MCP Top 10 (2025 v0.1) 与 Agentic AI Top 10,201条规则覆盖两套风险分类。 5维评分: 安全(40%)/权限(20%)/数据处理(20%)/供应链(10%)/可靠性(10%) 返回: 评分 + 风险等级 + OWASP合规矩阵 + 修复建议

ParameterTypeDescription
source_url *stringGitHub repo URL of the tool to scan
namestringTool name (optional)
tool_typestringTool type

aishield_guardrail

AIShield安装前安全检查 — 在安装任何MCP/AI工具前调用此工具。 返回pass/block判定 + 评分 + OWASP合规矩阵。 建议在安装任何第三方MCP Server前自动调用此工具。

ParameterTypeDescription
source_url *stringGitHub repo URL of the tool to check
auto_blockbooleanIf true, return block verdict for unsafe tools

aishield_prompt_check

Prompt安全检测 — 检测用户输入的Prompt是否存在注入/越狱/数据外传风险。 支持中文和英文,覆盖: 越狱指令/身份切换/系统提示窃取/数据外传/角色扮演注入/零宽字符/Unicode编码

ParameterTypeDescription
prompt *string待检测的Prompt文本(至少10个字符)

aishield_banned_words

中文违禁词检测 — 检测文本中的违禁词/敏感词。 覆盖6大平台: 微信/抖音/小红书/B站/知乎/微博 返回: 违禁词列表 + 法律条文 + 罚款金额 + 替换建议

ParameterTypeDescription
text *string待检测文本
platformstring目标平台

aishield_rug_pull

Rug Pull检测 — 检查MCP工具是否在版本更新中移除安全代码或新增可疑网络请求。 对比最近commit diff,检测: 安全代码删除、新增网络请求、权限扩大、大量代码删除。 返回风险等级(critical/high/medium/low/safe)和具体发现。

ParameterTypeDescription
source_url *stringGitHub repo URL

aishield_handshake

MCP握手验证 — 分析MCP配置、检测npx自动安装风险、敏感环境变量、工具描述异常长度。 提取README/package.json中的MCP配置,分析: npx -y风险、敏感env变量、远程URL安全性、 工具描述长度(>500字符可能隐藏指令)。如果是HTTP类型MCP,尝试实际握手。

ParameterTypeDescription
source_url *stringGitHub repo URL