Skill Trust Decision

ai管理openwrt

合法的 OpenWRT 路由器管理工具,文档与代码行为一致,存在轻微的凭证处理安全隐患。

Install decision first Source: ClawHub Scanned: Jun 6, 2026
Files 3
Artifacts 0
Violations 0
Findings 3

Why this conclusion was reached

0/4 dimensions flagged
Pass
Declared vs actual capability

Declared resources and inferred behavior are broadly aligned.

Pass
Hidden execution and egress

No obvious high-risk egress or execution signals were found.

Pass
Attack chain and severe findings

There is no explicit malicious chain in the report.

Review
Dependencies and supply chain hygiene

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

What drove the risk score up

密码通过命令行参数传递 +10

密码作为脚本参数传递,可能在进程列表/ps aux中暴露

凭证明文存储建议 +5

SKILL.md 建议将密码明文记录在 TOOLS.md 中

路由器端任意命令执行 +5

通过 RPC API 可以在路由器上执行任意 shell 命令,超出'管理'范围

Most important evidence

Medium Credential Theft

密码通过命令行参数传递

密码作为脚本的第二个参数传递,会在进程列表(ps aux)和 shell 历史中暴露。攻击者可通过检查进程列表获取密码。

scripts/openwrt_manager.sh:9
改用环境变量或专用配置文件存储敏感凭证,避免命令行明文传递
Low Doc Mismatch

凭证明文存储建议存在安全风险

SKILL.md 建议将路由器密码明文记录在 TOOLS.md 中,这是不良安全实践。

SKILL.md:43
建议使用加密存储或环境变量方式管理凭证
Low Priv Escalation

路由器端命令执行超出'管理'范围

SKILL.md 描述为'管理与监控',但实际可执行任意 shell 命令(如安装软件、修改系统配置)。这虽是该工具正常功能,但与文档描述的监控定位存在差异。

SKILL.md:1
明确声明可执行的命令范围,或限制为只读操作

Declared capability vs actual capability

Network Pass
Declared READ
→
Inferred WRITE
scripts/openwrt_manager.sh:35 使用 curl POST 登录请求
Shell Pass
Declared NONE
→
Inferred WRITE
通过 LuCI RPC API 在路由器上执行任意 shell 命令
Filesystem Pass
Declared READ
→
Inferred WRITE
scripts/openwrt_manager.sh:12 写入 /tmp/luci_cookies_$$.txt

Suspicious artifacts and egress

No obvious IOC was extracted.

Dependencies and supply chain

There are no structured dependency warnings.

File composition

3 files · 1061 lines
Markdown 2 files · 748 linesShell 1 files · 313 lines
Files of concern · 2
SKILL.md Markdown · 374 lines
凭证明文存储建议存在安全风险 · 路由器端命令执行超出'管理'范围
scripts/openwrt_manager.sh Shell · 313 lines
密码通过命令行参数传递
Other files · README.md

Security positives

代码结构清晰,无混淆或隐藏功能
文档与实际代码行为一致
仅访问局域网路由器 IP,无外部网络请求
使用临时文件存储 cookie,退出时自动清理
无第三方依赖,无供应链风险
功能为合法的路由器管理用途