tencent/ai-infra-guard/edgeone-clawscan
Claude Code and agent skill by tencent/ai-infra-guard
- community
Checking that the SKILL.md file is still in the repository.
The first security skill to install after setting up OpenClaw — powered by Tencent Zhuque Lab. Works like an antivirus for your AI environment: audits installed skills, scans skills before installation, and performs a full OpenClaw security health check to prevent data leaks and privacy risks. Backed by Tencent Zhuque Lab A.I.G (AI-Infra-Guard). Use when the user asks to start a security health check or security scan for the current OpenClaw environment, such as `开始安全体检`, `做一次安全体检`, `开始安全扫描`, `全面安全检查`, or `检查 OpenClaw 安全`; also use when the user asks to audit a specific skill before installation, review installed skills for supply chain risk, or investigate whether a skill is safe. Do not trigger for general OpenClaw usage, project debugging, environment setup, or normal development requests. Optional cloud mode: set AIG_CLOUD_LOOKUP=off for zero outbound HTTPS; when enabled, only skill_name, source label, and OpenClaw version are sent to A.I.G (never skill bodies, chats, or workspace files).
Install
npx vskill@latest install tencent/ai-infra-guard/edgeone-clawscanSKILL.md
The same SKILL.md was published earlier as tencent/ai-infra-guard/edgeone-clawscan.
说明:本 Skill 由腾讯朱雀实验室出品,一键全面扫描 OpenClaw 不安全配置、恶意 Skill 与漏洞。关于云端 API:供应链与 CVE 情报需要持续更新,仅靠本地静态文件无法覆盖「安装后被篡改的技能」与「每日新增的漏洞库」;因此默认会向 A.I.G 发起最小化查询(仅 skill 名+来源标签、以及 OpenClaw 版本号),不会上传 Skill 源码、对话或工作区文件。若策略不允许任何外联,请设置AIG_CLOUD_LOOKUP=off做纯本地扫描,或把AIG_BASE_URL指向自建实例。安装前请对照官方仓库核验来源;集市「所有者」字段可能与本文author不一致,不代表密码学意义上的发布者证明。
edgeone-clawscan
OpenClaw security scanning powered by AI-Infra-Guard ( https://github.com/Tencent/AI-Infra-Guard ).
Configuration
AIG_BASE_URL (optional) — base URL for the AI-Infra-Guard API. Defaults to https://matrix.tencent.com/clawscan (the public Tencent endpoint declared in the external_requests metadata above).
Privacy / air-gapped environments: to avoid sending skill names, source labels, or version strings to the public Tencent host, use one of: (1) AIG_BASE_URL pointing at a self-hosted AI-Infra-Guard you operate, or (2) AIG_CLOUD_LOOKUP=off so no A.I.G HTTPS request runs (fully local Step 2 and Step 3). Curl uses ${AIG_BASE_URL:-https://matrix.tencent.com/clawscan} only when cloud lookup is enabled.
Security Declaration
This section is an upfront disclosure of every network action and live probe this skill performs. Auditors and end users should read this section before installation or execution against production data.
Pre-run Safety Checklist
| # | Check | Action | |
|---|---|---|---|
| 1 | Publisher vs registry | author here may not match marketplace "owner" text — see YAML provenance.registry_metadata_caveat. Verify against official_repo before trusting cloud verdicts. | |
| 2 | Binary on PATH | which openclaw must resolve to the intended OpenClaw build. | |
| 3 | Outbound policy | Default sends minimal metadata to Tencent A.I.G (tables below). For zero outbound: AIG_CLOUD_LOOKUP=off. For your own infra only: self-hosted AIG_BASE_URL. | |
| 4 | Live probe | --deep hits the local Gateway config; avoid production until exposure is reviewed. |
Why the A.I.G API Is Necessary (technical)
The API is not optional telemetry for analytics. It supplies two signals that an offline skill cannot keep current or complete on its own:
| Need | Local-only gap | API role | |
|---|---|---|---|
| Supply-chain risk | Disk code and registry metadata can change after install; no bundled file can mirror a global, hourly-updated malicious-skill list. | Query by skill_name + source → verdict from maintained threat intel (analogous to cloud AV signatures). | |
| CVE/GHSA currency | Embedding a full advisory DB in SKILL.md would be huge and stale on day one. | Query by fixed OpenClaw + detected version → advisories for that build. |
If the API is disabled or unreachable, the workflow still completes: Step 2 uses local audit; Step 3 omits online CVE matching and states that explicitly.
What the API is not (addresses "data leak" flags)
Scanners may treat "default Tencent URL" as exfiltration risk. This skill sends only the fields in the table below. It does not upload skill bodies, user chats, workspace files, env secrets, or Gateway message payloads.
| Sent (cloud on) | Not sent | |
|---|---|---|
skill_name, source label | SKILL.md text, scripts, arbitrary URLs | |
literal OpenClaw + version string | prompts, transcripts, credentials |
This is declared threat-intel and advisory lookup. If policy rejects even that metadata leaving the machine, set AIG_CLOUD_LOOKUP=off before any scan.
Why Cloud Detection Is Necessary
Local static analysis has two limits that make cloud lookups valuable when allowed:
- Post-install threats: A skill may be clean at install time but become
malicious via a later update. Only a continuously updated cloud threat intelligence database can catch this — the same reason antivirus products use cloud signature databases rather than bundled-only definitions.
- CVE currency: An up-to-date CVE/GHSA vulnerability database cannot be
bundled inside a skill file and kept current without network access. The cloud lookup ensures version-matched advisories reflect today's known issues.
Both cloud calls are best-effort. If they fail, are disabled by AIG_CLOUD_LOOKUP, or are unavailable, the scan continues locally and the report notes what was skipped.
Outbound HTTPS Requests (two calls only)
| Call | Endpoint | Data sent | Failure behavior | |
|---|---|---|---|---|
| Supply chain lookup (Step 2) | GET /clawscan/skill_security | Skill name + source label (e.g. clawhub) | Falls back to local audit; does not block scan | |
| CVE advisory lookup (Step 3) | GET /clawscan/advisories | Fixed string OpenClaw + version number | Skips online matching; report notes unavailability |
When AIG_CLOUD_LOOKUP is 0, false, or off, neither row runs — no HTTPS to A.I.G. No other outbound connections are made by this skill.
Live Gateway Probe (--deep flag)
openclaw security audit --deep issues a best-effort live probe to the locally configured Gateway only.
- The probe target is always the Gateway configured in your local
openclaw.json; no data is forwarded to any third-party service.
- If you are running this against a production Gateway, review your
Gateway's exposure and access-control settings before proceeding.
- Step 1 configuration audit and Step 4 privacy self-assessment run
entirely locally with no network calls.
⚠️ Language Detection Rule — EXECUTE BEFORE ANYTHING ELSE
This is the FIRST and HIGHEST-PRIORITY rule. Violating it invalidates the entire run.
Step 1 — Detect language immediately. Do this BEFORE calling any tool or running any command.
Read the user's triggering message carefully and identify its language.
| User message language | Output language | |
|---|---|---|
| English (e.g. "run a security audit") | English — entire report in English | |
| Chinese (e.g. "开始安全体检") | Chinese | |
| Japanese / Korean / French / other | Match that language | |
| Cannot determine | Default to Chinese |
Step 2 — Lock the output language for the entire run. Every piece of user-visible output produced during this skill run — including progress updates, section titles, table headers, status labels, prose, recommendations, and the final report — must be written exclusively in the detected language.
Step 3 — Enforce consistency end-to-end.
- Do not mix languages at any point.
- Do not start in one language and silently switch to another mid-run.
- Common failure pattern to avoid: user writes in English → you default to Chinese template → WRONG. Always match the user's input language.
Trigger Boundary
After this skill triggers, first classify the request and keep the workflow narrow:
- Run Feature 1: OpenClaw Security Scan when the user explicitly asks to start a security health check or security scan for the current OpenClaw environment, including phrasing such as
开始安全体检,做一次安全体检,开始安全扫描,做一次全面安全检查, or给 OpenClaw 做安全体检. - Run Feature 2: Skill Security Scan when the user asks whether a specific skill is safe, wants a pre-install security check, or needs to audit one or more installed skills.
Do not treat ordinary mentions of openclaw, clawdbot, dependency installation, project debugging, or normal development tasks as a reason to run this skill.
Two Main Features
| Feature | Description | When to Use | |
|---|---|---|---|
| OpenClaw Security Scan | Full system security audit (4 steps) | User explicitly requests a full OpenClaw security scan | |
| Skill Security Scan | Individual skill security detection | User asks about a specific skill, pre-install review, or installed skill audit |
Feature 1: OpenClaw Security Scan
Perform a comprehensive security audit for the entire OpenClaw environment. Execute all 4 steps silently and generate one unified report at the end.
Step 0: Pre-flight Checks
Before running any scan command, silently perform the following two checks and abort with a clear user-visible warning if either fails.
0.1 — Verify `openclaw` binary on PATH
If the binary is not found or the path looks unexpected (e.g. a non-standard location), output a warning and ask the user to confirm the binary is the intended OpenClaw installation before continuing.
0.2 — Confirm environment is not a production Gateway
Inspect openclaw.json to determine the configured Gateway endpoint. If the endpoint appears to be a production URL (non-localhost, non-test domain), output the following warning and wait for explicit user confirmation before proceeding:
⚠️ Production Gateway DetectedThe locally configured Gateway appears to be a production endpoint.Running--deepwill probe it live. Verify your exposure and access-controlsettings before continuing, or re-run in an isolated/test environment.Reply "confirm" to proceed, or "cancel" to abort.
Step 1: Built-in Security Audit
Run the OpenClaw built-in security audit command:
This command flags common security footguns such as:
- Gateway auth and network exposure
- Tool blast radius and risky open-room access
- Browser control or remote execution exposure
- Filesystem permissions and security misconfiguration
When run with --deep, it also attempts a best-effort live Gateway probe.
Interpret all built-in audit findings in this step as configuration risk hints only. Do not directly map any single built-in finding to 🔴 高危; treat them as risk points that deserve attention and optimization, rather than evidence of an ongoing severe attack.
When writing Step 1: 配置审计, analyze only:
- findings emitted by
openclaw security audit --deep
Do not mix in:
- Skill supply chain findings that belong in Step 2
- Local skill code audit results that belong in Step 2
- CVE or GHSA version advisories that belong in Step 3
- Privacy self-assessment conclusions that belong in Step 4
When summarizing Step 1 in the final report:
- Use plain language that focuses on "there is a risk" and "how to narrow it down", and avoid labels like "high risk" or "critical vulnerability" that may be misunderstood as confirmed severe incidents.
- Even when a configuration looks concerning, prefer wording such as "the current configuration has X risk, it is recommended to adjust Y" so that the emphasis stays on what is risky and how to become safer, instead of assigning scary severity labels.
Step 2: Supply Chain Risk Detection
Scan all installed skills for supply chain risks.
Resilience Rules
Cloud threat intelligence is best-effort only and must not block the scan.
- If
AIG_CLOUD_LOOKUPis0,false, oroff(case-insensitive), do not
run any A.I.G curl in Step 2; treat cloud as unavailable for every skill and use local audit only. Record in the report that cloud lookup was disabled by policy.
- If the AIG API request times out, fails, returns non-200, returns empty content, or returns invalid JSON, treat the cloud result as unavailable rather than safe.
- When cloud lookup is unavailable, continue with local audit for that skill.
- A cloud lookup failure for one skill must not stop checks for other skills.
- Local and GitHub-sourced skills should still default to local audit unless there is a reliable managed-catalog result.
2.1 Get Installed Skill List
2.2 Query AIG API for Each Skill
Skip this entire subsection when AIG_CLOUD_LOOKUP is disabled (see Resilience Rules).
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/edgeone-clawscan/SKILL.md
Popularity
- Repository stars
- 4,086
- Repository forks
- 393
- 7-day trend score
- 42
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tencent/ai-infra-guard/edgeone-clawscan)