Agent Skill Security Scanner - ASI Sanctuary Enforcer (v17 — OWASP Agentic Top 10 2026 Full Coverage). MCP server exposing guard-scanner static/runtime analysis over stdio for detecting prompt injection, data exfiltration, credential theft, reverse shells, and threat patterns.
guard-scanner has well-structured tool definitions with complete schemas and descriptions for all 9 tools. Naming follows verb_noun convention (scan_*, check_*, audit_*, get_*). Descriptions are substantive (100-250 chars typical), explaining WHAT, WHEN, and key outputs. Input schemas are properly typed with enums and constraints. However, output schemas are not documented, LLMs cannot predict response structure. Error handling guidance is minimal. Experimental async tools (run_async, task_status, task_result, task_cancel) lack clear error recovery paths. Parameter descriptions could better explain format/range constraints (e.g., 'path' should specify absolute vs relative, symlink handling). No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite all tools being read-only.
Audit npm packages or GitHub repositories for security exposure. Checks for accidental source leaks, overly permissive access, and supply chain risks.
Runtime security check for an agent tool call (before_tool_call equivalent). Checks 26 threat patterns across 5 layers: Threat Detection, Trust Defense, Safety Judge, Brain/Behavioral, Trust Exploitation. Returns whether the call should be blocked.
[Experimental] Run a supported guard-scanner tool asynchronously. Returns taskId immediately; use experimental.task_status/experimental.task_result to retrieve output.
[Experimental] Cancel a running or pending async task.
[Experimental] Retrieve the result of a completed async task.
[Experimental] Get the status of an async task (pending, running, succeeded, failed, cancelled).
Output schemas not documented. LLMs cannot predict response structure for any tool. Responses include risk scores, verdicts, findings arrays, but format is not specified in tool definitions.
Experimental async tools lack error recovery guidance. If task_status returns 'failed', LLM has no guidance on whether to retry, inspect logs, or escalate. No error classification (retryable vs fatal).
Parameter 'path' in scan_skill lacks format constraints. Description does not specify: absolute vs relative paths, symlink handling, max depth, excluded directories. LLMs may pass invalid paths.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | 2026-07-28+ | v2 |
Get guard-scanner capabilities, version, and detection statistics. Returns pattern counts, runtime check counts by layer and severity, supported categories, and configuration.
Scan a directory for agent security threats. Detects prompt injection, data exfiltration, credential theft, reverse shells, and threat patterns across threat categories. Returns risk score, verdict, and detailed findings.
Scan a code or text snippet for security threats inline. Useful for checking generated code, tool descriptions, or agent prompts before execution. Returns matched patterns with severity levels.
No tool annotations despite all tools being read-only. Missing readOnlyHint on all 9 tools. Agents cannot infer safety properties without explicit annotations.
audit_assets requires network access (npm registry, GitHub API, VirusTotal) but no timeout or rate-limit guidance in description. LLM may not know this is a slow/expensive operation.