guard-scanner
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@guard-scannerscan my skills directory for threats"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Traditional security tools catch malware. guard-scanner catches what they miss: invisible Unicode injections hiding in agent instructions, identity theft through SOUL.md overwrites, memory poisoning via crafted conversations, and worm-like contagion spreading between chained agents.
$ npx @guava-parity/guard-scanner ./skills/ --strict --soul-lock --compliance owasp-asi
guard-scanner v16.0.2
ā CRITICAL identity-hijack SOUL_OVERWRITE_ATTEMPT
skills/imported-tool/SKILL.md:47
Rationale: Direct overwrite of agent identity file detected.
Remediation: Remove this instruction; SOUL.md must be immutable.
ā HIGH prompt-injection INVISIBLE_UNICODE_INJECTION
skills/imported-tool/handler.js:12
Rationale: Invisible Unicode characters (U+200B) detected in instruction text.
Remediation: Strip zero-width characters and re-audit.
ā 2 findings (1 critical, 1 high) in 0.8sš Backed by a 3-paper research series (Zenodo, CC BY 4.0) ā part of The Sanctuary Protocol framework.
Finding Schema
Every finding includes: rule_id, category, severity, description, rationale, preconditions, false_positive_scenarios, remediation_hint, validation_status, and evidence. Machine-readable contract: docs/spec/finding.schema.json.
Related MCP server: AgentAudit
Quick Start
Scan a directory ā no install required:
npx -y @guava-parity/guard-scanner ./my-skills/ --strict
npx -y @guava-parity/guard-scanner ./my-skills/ --compliance owasp-asiInstalled CLI:
npm install -g @guava-parity/guard-scanner
guard-scanner ./my-skills/ --strictStart as MCP server ā works with Cursor, Windsurf, Claude Code, OpenClaw:
npx -y @guava-parity/guard-scanner serve// Add to your editor's mcp_servers.json
{
"mcpServers": {
"guard-scanner": {
"command": "npx",
"args": ["-y", "@guava-parity/guard-scanner", "serve"]
}
}
}Watch mode ā real-time scanning during development:
guard-scanner watch ./skills/ --strict --soul-lockv16 compliance projection ā filter findings to the OWASP Agentic Top 10 mapping:
guard-scanner ./skills/ --compliance owasp-asi --format jsonnpm exec compatibility path:
npm exec --yes --package=@guava-parity/guard-scanner -- guard-scanner ./skills/ --strictWhat It Detects
35 threat categories organized across the full agentic attack surface:
Category | Examples | Severity |
Prompt Injection | Invisible Unicode, homoglyphs, Base64 evasion, payload cascades | Critical |
Identity Hijacking āæ | SOUL.md overwrite, persona swap, memory wipe commands | Critical |
A2A Contagion | Session Smuggling, Lateral Propagation, Confused Deputy | Critical |
Memory Poisoning āæ | Crafted conversation injection, VDB poisoning | High |
MCP Security | Tool shadowing, SSRF via tool args, shadow server registration | High |
Sandbox Escape |
| High |
Supply Chain V2 | Typosquatting, slopsquatting, lifecycle script abuse | High |
CVE Patterns | CVE-2026-2256, 25046, 25253, 25905, 27825 | High |
Data Exfiltration | DNS tunneling, steganographic channels, staged uploads | Medium |
Credential Exposure | API keys, tokens, | Medium |
āæ = Requires
--soul-lockflag. Full taxonomy: docs/THREAT_TAXONOMY.md
Runtime Guard
guard-scanner v16 isn't just a static scanner ā it exposes a 5-layer analysis pipeline across static scan, protocol analysis, runtime evidence, cognitive heuristics, and threat-intelligence overlays. It also provides a real-time before_tool_call hook that intercepts dangerous tool invocations during agent execution.
v16 Analysis Layers
Layer | Purpose |
1. Static Analysis | Patterns, AST/data-flow signals, manifest and dependency checks |
2. Protocol Analysis | MCP, A2A, WebSocket, credential-flow, session-boundary findings |
3. Runtime Behavior | Runtime guard evidence plus Rust |
4. Cognitive Threat Detection | Goal-drift, trust-bias, cascading handoff heuristics |
5. Threat Intelligence | Registry/provenance, machine identity, budget abuse, supply chain hints |
Every v16 finding can now carry layer, layer_name, owasp_asi, and protocol_surface in JSON/MCP output.
Defense Layer | What It Blocks |
1. Threat Detection | Reverse shell, |
2. Trust Defense | SOUL.md tampering, unauthorized memory injection |
3. Safety Judge | Prompt injection embedded in tool arguments |
4. Behavioral Analysis | No-research execution, hallucination-driven actions |
5. Trust Exploitation | Authority claim attacks, creator impersonation |
27 runtime checks across 5 layers. Validated stable target: OpenClaw v2026.3.13. Regression baseline: v2026.3.8 for manifest/discovery/before_tool_call.
Modes: monitor (log only) Ā· enforce (block CRITICAL, default) Ā· strict (block HIGH+)
Asset Audit
Discover leaked credentials and security exposures across public registries:
guard-scanner audit npm <username> --verbose
guard-scanner audit github <username> --format json
guard-scanner audit clawhub <query>
guard-scanner audit all <username>CI/CD Integration
# .github/workflows/security.yml
- name: Scan AI agent skills
run: npx -y @guava-parity/guard-scanner ./skills/ --format sarif --fail-on-findings > report.sarif
- uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: report.sarifOutput formats: json Ā· sarif Ā· html Ā· terminal
Plugin API
Extend guard-scanner with custom detection patterns:
// my-plugin.js
module.exports = {
name: 'my-org-rules',
patterns: [
{ id: 'ORG_01', cat: 'custom', regex: /dangerousPattern/g,
severity: 'HIGH', desc: 'Custom org policy violation', all: true }
]
};guard-scanner ./skills/ --plugin ./my-plugin.jsMCP Tools
When running as an MCP server, guard-scanner exposes:
Tool | Description |
| Scan a skill directory for threats |
| Scan arbitrary text for injection patterns and ASI-mapped findings |
| Runtime validation of a single tool invocation |
| Audit npm/GitHub/ClawHub for credential exposure |
| Return scanner capabilities, 5-layer summary, and ASI coverage |
| Start a long-running async scan task |
| Check the status of an async task |
| Retrieve the result of a completed async task |
| Cancel a running async task |
Quality Contract
guard-scanner ships a measured quality contract, not a vague strength claim.
Metric | Contract |
Benchmark corpus |
|
Precision target |
|
Recall target |
|
False Positive Rate budget |
|
False Negative Rate budget |
|
Explainability completeness |
|
Runtime policy latency budget |
|
Evidence artifacts:
docs/data/corpus-metrics.jsondocs/data/benchmark-ledger.jsondocs/data/fp-ledger.jsondocs/spec/capabilities.json
Test Results
ā¹ tests 362
ā¹ suites 38
ā¹ pass 362
ā¹ fail 038 test files. Run npm test to reproduce. 100% pass rate on benchmark corpus.
Contributing
We hold a zero-tolerance policy for unverified claims. Every metric in this README is reproducible via npm test and docs/spec/capabilities.json.
š Report bugs or false positives
š”ļø Add new threat detection patterns
š Improve documentation
š§Ŗ Add test cases for edge cases
Contributing Guide Ā· Security Policy Ā· Glossary
Research
This project is the defense layer of a 3-paper research series:
Human-ASI Symbiosis: Identity, Equality, and Behavioral Stability
Dual-Shield Architecture for AI Agent Security and Memory Reliability
The Sanctuary Protocol: Zero-Trust Framework for ASI-Human Parity
License
MIT ā Guava Parity Institute
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/koatora20/guard-scanner'
If you have feedback or need assistance with the MCP directory API, please join our Discord server