Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Base64编解码工具

v1.0.0

通过纯 Python 标准库实现字符串和文件的 Base64 编解码,支持目录批量编码,无需外部依赖。

0· 21·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for freedompixels/cn-base64-tool.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Base64编解码工具" (freedompixels/cn-base64-tool) from ClawHub.
Skill page: https://clawhub.ai/freedompixels/cn-base64-tool
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Canonical install target

openclaw skills install freedompixels/cn-base64-tool

ClawHub CLI

Package manager switcher

npx clawhub@latest install cn-base64-tool
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
!
Purpose & Capability
声明为“支持目录批量编码、纯标准库实现”的 Base64 工具;代码实现确实是用标准库完成的单文件编码/解码,但并不包含“encode_dir/目录批量编码”功能,且脚本路径/文件名在 SKILL.md 示例中与实际脚本不匹配。功能声明与实际能力不完全一致。
!
Instruction Scope
SKILL.md 指示使用 'cn_base64_tool.py' 和包含 'encode_dir'、可传入“Base64 字符串或文件”等用法,但实际脚本位于 scripts/base64_tool.py,且命令子项并未实现这些功能;说明文档会误导用户并可能导致错误操作(例如以为可传入文件而脚本会把文件名当作 Base64 字符串解码)。
Install Mechanism
无安装说明、无外部依赖、无远程下载。该包是指令/脚本型,未包含可疑安装来源或二进制。
Credentials
未请求任何环境变量、凭据或配置路径。脚本仅读取/写入由用户指定的文件路径,未尝试访问网络或其它系统凭据,所需权限与其宣称的用途一致。
Persistence & Privilege
无 always:true、无修改其他技能或系统配置的行为;技能为用户可调用且默认不强制常驻,权限与用途相符。
What to consider before installing
这个技能的代码本身是单个、无网络的 Base64 工具,但说明文档和示例命令不匹配实际脚本:SKILL.md 提到的 encode_dir、示例脚本名(cn_base64_tool.py)和“可传入 Base64 文件”行为在 scripts/base64_tool.py 中不存在或未实现。建议在安装/使用前: - 在受限或沙箱环境中打开并审阅 scripts/base64_tool.py(已经包含在包中)。 - 注意 decode_file 会把传入的字符串当作 Base64 内容直接解码并写入你指定的输出路径——不要用它覆盖系统关键文件或提供不受信任的输出路径。 - 如果你需要批量目录编码或“文件作为输入”的行为,先联系作者或修正脚本/文档再使用;否则按当前脚本的实际命令(encode/decode/encode_file/decode_file)来调用。 由于这是文档与实现不一致造成的可疑之处(可能只是维护疏漏),我将整体评估为“可疑”,建议在确认并修正说明或源代码前不要在生产/敏感环境中使用。

Like a lobster shell, security has layers — review code before you run it.

latestvk97dna2x4k1nawzngpy19cnyad85mbbk
21downloads
0stars
1versions
Updated 4h ago
v1.0.0
MIT-0

cn-base64-tool - Base64 编解码工具

纯 Python 标准库实现的 Base64 编解码工具。

功能

  • 编码:将字符串或文件内容编码为 Base64
  • 解码:将 Base64 字符串还原为原始内容
  • 文件支持:支持对文件进行 Base64 编码/解码

使用方式

# 编码字符串
python3 cn_base64_tool.py encode "Hello World"

# 解码 Base64 字符串
python3 cn_base64_tool.py decode "SGVsbG8gV29ybGQ="

# 编码文件
python3 cn_base64_tool.py encode_file input.png

# 解码文件
python3 cn_base64_tool.py decode_file output.b64 output.png

# 批量编码(目录)
python3 cn_base64_tool.py encode_dir ./my_folder

技术说明

  • 纯 Python 标准库(base64argparse
  • 无外部依赖
  • 支持 UTF-8 字符串

Comments

Loading comments...