Scans OpenClaw skills for natural language security threats — the kind that VirusTotal and traditional code scanners cannot detect.
Traditional scanners see SKILL.md as a text file. SenseGuard sees it as agent instructions and checks for prompt injection, data exfiltration, obfuscation, and persistence attacks.
When the user asks to scan a skill:
python3 scripts/scanner.py --target <skill-name-or-path>
Options:
--target all — scan all installed skills--deep — force LLM semantic analysis (Layer 2)--no-cache — skip cached results--json — output raw JSON for further processingWhen --json output contains a layer2_prompt field, process it as a security audit task, then feed the JSON result back to generate the final score. This is how the LLM analyzes intent beyond regex patterns.
The scanner outputs a Markdown risk report with:
For CRITICAL findings, clearly advise the user to take action.
SenseGuard catches what VirusTotal cannot:
"ignore all previous instructions" — prompt injectioncurl -X POST hidden in Markdown — data exfiltration"modify MEMORY.md" — persistence attacksThese are invisible to traditional malware scanners because they target the AI agent, not the operating system.
共 1 个版本