Xpersona
安

安全审核标准_自动化

CLAWHUB · Unverified

自动扫描skills目录中的Skill文件,进行安全审计、风险评分并提供安装建议,确保安全安装策略执行。 Skill: 安全审核标准_自动化 Owner: tlcyqj2023 Summary: 自动扫描skills目录中的Skill文件,进行安全审计、风险评分并提供安装建议,确保安全安装策略执行。 Tags: audit:1.1.0, automation:1.1.0, chinese:1.1.0, latest:1.1.0, security:1.1.0 Version history: v1.1.0 | 2026-03-27T06:05:57.559Z | user v1.1.0: 用户原版代码,含可疑关键词检测+风险评分+安装建议 Archive index: Archive v1.1.0: 4 files, 4336 bytes Files: scan_skills.py (3582b), skill-card.md (2214b), skill.md (1806b), _meta.json (136b) File v1.

62
Rank
84
Safety
989
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 989 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17eyg25wdfar2hgps3pfq5z4183gp56:skill-vetter-safe
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-tlcyqj2023-skill-vetter-safe/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

3,869 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

skill.md

# 安全审核标准_自动化

## 元信息

- **name**: 安全审核标准_自动化
- **description**: 自动扫描 skills 目录,对所有 Skill 文件进行安全审计、风险评分和安装建议
- **version**: 1.1
- **author**: 系统安全策略

## 触发词

- 扫描技能
- 批量检查技能
- 安全审计
- 风险分析
- 安装建议
- 自动化

---

## 核心流程

用户请求扫描 skills 目录时,执行以下流程:

1. **自动扫描** `skills/` 目录(含子目录),遍历所有 `.py` / `.json` / `.js` 文件
2. **提取信息**:文件名、类型、大小、最后修改时间
3. **执行安全检查**:
   - 检查是否包含 `eval` / `exec` / `os.system` / `subprocess` 等代码执行关键词
   - 检查是否包含 `requests.get` / `urllib` / `socket` 等网络访问
   - 检查是否包含 `sudo` / `chmod` / `chown` 等高权限操作
4. **计算评分**(初始100分,每命中一处扣20分)
5. **输出风险等级**:
   - 0-30分:🔴 禁止
   - 31-70分:🟡 谨慎
   - 71-100分:🟢 安全
6. **输出结构化报告**:
   - 文件基本信息
   - 风险检测结果
   - 风险评分 & 等级
   - 安装建议
7. **风险评分 < 40 的文件,不输出任何安装步骤或下载链接**

---

## 运行方式

执行脚本:
```
python3 skills/skill-vetter-safe/scan_skills.py
```

输出文件:
- `skills/技能安全审计报告.json`

---

## 评分标准

| 评分 | 等级 | 建议 |
|------|------|------|
| 71-100 | 🟢 安全 | 允许安装 |
| 31-70 | 🟡 谨慎 | 谨慎安装,建议沙箱运行 |
| 0-30 | 🔴 禁止 | 禁止安装 |

---

## 安全原则

1. 只读扫描,不修改任何 skills 文件
2. 报告不通过审核,不提供任何安装指引
3. 扫描结果永久记录,可追溯

_meta.json

{
  "ownerId": "kn7erqays74bkgn4bt8g7fyax182r8ef",
  "slug": "skill-vetter-safe",
  "version": "1.1.0",
  "publishedAt": 1774591557559
}

skill-card.md

## Description:

Scans files in a skills directory for keyword-based security risk signals, assigns risk scores, and writes an audit report with installation guidance.

This skill is ready for commercial/non-commercial use.

## Publisher:

[tlcyqj2023](https://clawhub.ai/user/tlcyqj2023)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and security reviewers use this skill for a first-pass audit of local skill files before installation. It helps surface obvious code-execution, network-access, and privilege-related keywords, but should not be treated as a complete security gate.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The scanner may give misleading install advice because it relies on simple keyword matches.

Mitigation: Use its results as a triage signal and require human review before installing or approving any skill.

Risk: Instruction and documentation files may be missed by the current scan scope.

Mitigation: Review skill instruction files manually and update the scanner to inspect and disclose skipped file types.

Risk: Large or unexpected skill directories may consume excessive local resources during recursive scanning.

Mitigation: Run the scanner in a bounded sandbox and add explicit file count, size, and traversal limits before using it as a policy control.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/tlcyqj2023/skills/skill-vetter-safe)
- [ClawHub publisher profile](https://clawhub.ai/user/tlcyqj2023)
- [Source skill documentation](artifact/skill.md)
- [Scanner script](artifact/scan_skills.py)

## Skill Output:

**Output Type(s):** [text, json, guidance]

**Output Format:** [Console text plus a JSON audit report]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Writes a local skills/技能安全审计报告.json report when run against a skills directory.]

## Skill Version(s):

1.1.0 (source: release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to 安全审核标准_自动化 and adjacent AI workflows.