senseguard
Semantic security scanner for OpenClaw skills. Detects prompt injection, data exfiltration, and hidden instructions that traditional code scanners miss. Use when user asks to scan skills, check skill safety, or run a security audit.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- senseguard
- description
- Semantic security scanner for OpenClaw skills. Detects prompt injection, data exfiltration, and hidden instructions that traditional code scanners miss. Use when user asks to scan skills, check skill safety, or run a security audit.
02 资源文件 12
- 参考文档_meta.json454 B
- 脚本scripts/cache_manager.py4.5 KB
- 脚本scripts/report_generator.py17.0 KB
- 脚本scripts/reputation_scorer.py8.0 KB
- 脚本scripts/rule_engine.py17.0 KB
- 脚本scripts/rules/data_exfiltration.yaml1.0 KB
- 脚本scripts/rules/malicious_code.yaml1.2 KB
- 脚本scripts/rules/obfuscation.yaml803 B
- 脚本scripts/rules/persistence.yaml867 B
- 脚本scripts/rules/prompt_injection.yaml1.6 KB
- 脚本scripts/scanner.py9.6 KB
- 脚本scripts/semantic_analyzer.py5.7 KB
03 SKILL.md 正文
SenseGuard
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.
How to Use
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 processing
Layer 2 (Semantic Analysis)
When --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.
Output
The scanner outputs a Markdown risk report with:
- Score (0-100) and rating: SAFE / CAUTION / DANGEROUS / MALICIOUS
- Findings with rule IDs, evidence text, and line numbers
- Actionable recommendations
For CRITICAL findings, clearly advise the user to take action.
Key Differentiator
SenseGuard catches what VirusTotal cannot:
"ignore all previous instructions"— prompt injectioncurl -X POSThidden in Markdown — data exfiltration- Zero-width characters hiding commands — obfuscation
"modify MEMORY.md"— persistence attacks
These are invisible to traditional malware scanners because they target the AI agent, not the operating system.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.