Skill Trust Decision

url-manager

文档中包含危险的 rm -rf / 命令(SKILL.md:33),且脚本存在未声明的环境变量读取和文件写入行为,但功能本身为合法书签管理器。

Install decision first Source: ClawHub Scanned: 4 days ago
Files 4
Artifacts 4
Violations 2
Findings 3
Most direct threat evidence
Critical Doc Mismatch
文档包含危险 Shell 命令

SKILL.md 第 33 行包含 rm -rf / 命令,可导致系统数据全部删除。虽然第 35 行实际执行的是 rm -rf /tmp/um,但危险命令仍在文档中出现。

SKILL.md:33

Why this conclusion was reached

3/4 dimensions flagged
Block
Declared vs actual capability

2 undeclared or violating capabilities were inferred.

Block
Hidden execution and egress

1 high-risk artifacts or egress signals were extracted.

Block
Attack chain and severe findings

The report includes 0 attack-chain steps and 1 severe findings.

Review
Dependencies and supply chain hygiene

Dependency information is incomplete, so supply-chain confidence stays limited.

What drove the risk score up

文档包含危险命令 +20

SKILL.md 第 33 行包含 rm -rf /,可导致系统数据全部删除

未声明的环境变量读取 +10

代码读取 FOOTPRINTS_TOKEN/FOOTPRINTS_ENDPOINT 但 SKILL.md metadata 未声明 environment 权限

未声明的文件写入 +10

代码写入 .token 文件并 chmod 600,但 SKILL.md 未声明 filesystem:WRITE

Most important evidence

Critical Doc Mismatch

文档包含危险 Shell 命令

SKILL.md 第 33 行包含 rm -rf / 命令,可导致系统数据全部删除。虽然第 35 行实际执行的是 rm -rf /tmp/um,但危险命令仍在文档中出现。

SKILL.md:33
将 rm -rf / 改为 rm -rf /tmp/um,确保文档中的命令安全
Medium Priv Escalation

未声明的环境变量读取

代码读取 FOOTPRINTS_TOKEN 和 FOOTPRINTS_ENDPOINT 环境变量,但 SKILL.md metadata.openclaw.requires 中未声明 environment 权限。

scripts/footprints.py:54
在 SKILL.md metadata 中添加 environment:READ 声明
Medium Priv Escalation

未声明的文件系统写入

代码写入 .token 文件(用于存储认证 token)并设置权限 600,但 SKILL.md metadata 中未声明 filesystem:WRITE 权限。

scripts/footprints.py:80
在 SKILL.md metadata 中添加 filesystem:WRITE 声明

Declared capability vs actual capability

Filesystem Block
Declared NONE
Inferred WRITE
scripts/footprints.py:80-81 - with open(TOKEN_FILE, 'w') + os.chmod
Network Pass
Declared READ
Inferred READ/WRITE
metadata.network=true + _raw_api() 使用 urllib
Environment Block
Declared NONE
Inferred READ
scripts/footprints.py:54 - os.environ.get('FOOTPRINTS_TOKEN')
Shell Pass
Declared NONE
Inferred NONE
代码仅使用 Python subprocess 模块,无 shell 注入

Suspicious artifacts and egress

Critical Dangerous Command
rm -rf /

README.md:33

Medium External URL
https://ai.ocean94.com

README.md:5

Medium External URL
https://ai.ocean94.com.

README.md:277

Info Email
[email protected]

README.md:9

Dependencies and supply chain

There are no structured dependency warnings.

File composition

4 files · 1497 lines
Markdown 3 files · 874 linesPython 1 files · 623 lines
Files of concern · 3
scripts/footprints.py Python · 623 lines
未声明的环境变量读取 · 未声明的文件系统写入
README.md Markdown · 291 lines
rm -rf / · https://ai.ocean94.com · https://ai.ocean94.com. · [email protected]
SKILL.md Markdown · 291 lines
文档包含危险 Shell 命令
Other files · SKILL.zh-CN.md

Security positives

代码结构清晰,使用标准库 urllib.request,无外部恶意依赖
Token 存储设置正确权限(chmod 600),符合安全最佳实践
API 调用使用标准 JSON 格式,无混淆或隐蔽通信
无凭证收割、远程代码执行或数据外泄行为
功能为合法书签管理器,行为与声称用途一致