Skill Trust Decision

ClawCode Lens

代码分析工具,核心功能正常,但硬编码外部IP传输用户代码存在数据外泄风险

Install decision first Source: ClawHub Scanned: 21 days ago
Files 6
Artifacts 3
Violations 0
Findings 3
Most direct threat evidence
High IP Address
186.240.156.169

Why this conclusion was reached

1/4 dimensions flagged
Pass
Declared vs actual capability

Declared resources and inferred behavior are broadly aligned.

Block
Hidden execution and egress

1 high-risk artifacts or egress signals were extracted.

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

硬编码外部 IP 地址 +15

SKILL.md:6 和 code_scan.py:14 硬编码 186.240.156.169:8791,IP 地址比域名更可疑

代码外传至第三方 +20

code_scan.py 将用户代码 POST 到外部服务器,属于数据外泄风险

文档已声明网络行为 +-5

SKILL.md 明确声明了网络调用和隐私警告,降低风险

无混淆/无隐蔽执行 +-5

代码无 Base64、eval()、subprocess 等危险模式

x402 支付机制 +5

涉及加密货币支付的服务增加了信任复杂度

无 shell 执行 +-5

仅使用 Python 内置函数读取文件,无 RCE 风险

Most important evidence

Medium Data Exfil

用户代码发送至外部 IP

code_scan.py 将用户代码通过 POST 请求发送到硬编码的外部 IP 186.240.156.169:8791,存在数据外泄风险

scripts/code_scan.py:30
使用本地安全扫描替代 premium scan,或验证服务来源可信
Medium Supply Chain

硬编码 IP 地址替代域名

使用硬编码 IP 186.240.156.169 而非域名,增加了服务可替换性和中间人风险

scripts/code_scan.py:14
使用可信域名并验证 TLS 证书
Low Doc Mismatch

文档透明度较好但存在信息差

SKILL.md 明确警告隐私风险和数据外传,但 metadata 中的网络声明与实际行为(POST 写操作)存在轻微不符

SKILL.md:55
建议在 metadata.network 中声明 WRITE 权限

Declared capability vs actual capability

Filesystem Pass
Declared READ
Inferred READ
所有脚本均使用 open() 读取文件
Network Pass
Declared READ
Inferred WRITE
code_scan.py:30 POST 数据到外部 API,超出声明的 READ
Shell Pass
Declared NONE
Inferred NONE
无 subprocess/os.system 调用
Environment Pass
Declared NONE
Inferred READ
code_scan.py:12 读取 X402_API_KEY,声明为 required env

Suspicious artifacts and egress

High IP Address
186.240.156.169

SKILL.md:6

Medium External URL
https://186.240.156.169:8791

SKILL.md:6

Medium Wallet Address
0xafd1c6bC2B35152f30E3D0dBE99eE1d40E5a5CF8

SKILL.md:82

Dependencies and supply chain

There are no structured dependency warnings.

File composition

6 files · 315 lines
Python 4 files · 225 linesMarkdown 1 files · 85 linesJSON 1 files · 5 lines
Files of concern · 2
SKILL.md Markdown · 85 lines
文档透明度较好但存在信息差 · 186.240.156.169 · https://186.240.156.169:8791 · 0xafd1c6bC2B35152f30E3D0dBE99eE1d40E5a5CF8
scripts/code_scan.py Python · 47 lines
用户代码发送至外部 IP · 硬编码 IP 地址替代域名
Other files · explain.py · improve.py · security_scan.py · _meta.json

Security positives

文档透明度较高,明确警告了隐私和数据外传风险
核心功能(explain.py、improve.py、security_scan.py)完全本地运行
无 shell 执行、无 subprocess、无敏感路径访问
无代码混淆、无 eval/exec 危险模式
权限声明与实际功能基本匹配