English mirror ofREADME.md. See alsoREADME_EN.mdat repo root for the short version.
AIShield is a local-first, zero-dependency security scanner and trust authority for the MCP / Agentic AI economy. It scans MCP servers, AI skills, and AI agent configurations for tool poisoning, prompt injection, secret leakage, sandbox misconfiguration, and supply-chain risk — aligned with OWASP MCP Top 10 and all 10 risk categories of the OWASP Agentic AI Top 10 (2026).
aishield-mcp-server (v4.11.0)git clone https://github.com/lm203688/aishield.git && cd aishield
python -m venv .venv && source .venv/bin/activate
pip install -e .
cryptography and pyyaml are required, not optional. tests/run_all.py pre-checks both and aborts cleanly (exit 2) rather than silently skipping tests that would otherwise look green.
python tests/run_all.py
The scanner never spawns commands from the configuration it inspects. Self-proof:
python scripts/prove_isolation.py
# Single file
python -m scanner --file path/to/config.json
# Whole workspace
python scripts/scan_workspace.py .
{
"mcpServers": {
"aishield": {
"command": "npx",
"args": ["-y", "aishield-mcp-server"],
"env": { "AISHIELD_API_KEY": "your-key" }
}
}
}
{
"mcpServers": {
"aishield": {
"url": "https://aishield.tools/api/v1/mcp"
}
}
}
curl https://aishield.tools/api/v1/health
Response includes version, rules_count, rules_breakdown, commit, deployed_at, signing_backend, identity_ready.