Skills/ClawHub/init-hooks

init-hooks@1.0.1

VERIFIED· install only

Publisher claims: "管理 OpenClaw 容器启动时自动执行的脚本钩子。gateway 重启、pod 重启、pod 重建均不丢失(数据持久化在 workspace/.init-hooks/)。 支持 inline 命令、本地脚本(shell/python)、CDN URL(zip/tar.gz 自动下载解压)三种钩子类型。 用于:新增/查看/修改/禁用/删除启动钩子、立即测试运行、查看执行日志。 触发词:init-hooks、启动钩子、startup hook、重启初始化、pod重启执行、开机自启。 安装触发词:帮我安装 init-hooks、初始化 init-hooks、设置 init-hooks、执行 init-hooks 安装。 配置变更触发词:修改 openclaw.json、改 gateway 配置、改配置文件 → 执行后自动调用 sync_openclaw_config.py。 能力边界:不主动修改任何配置项,不预设默认值;只把用户明确给出的 patch 原样写入,并把配置复制到用户配置的持久化路径。" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry ClawHubPublisher songhonglei · publishing for 1 daysInstalls 474Last detonated 23 h ago
$clawhub install init-hooks
WatchReport an issue

Coverage

Nothing executable in the bundle ran; the trace covers the install step only.
Tested
every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-13 and scored it 88/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 0 s · 1 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessscript backend runs setup only
0.0sprocessscript backend runs setup only
0.0sprocessno install scripts to re-run

Static findings

MEDIUM
Python subprocess execution detectedscripts/manage.py:674 · Python subprocess execution detectedrc = subprocess.run(cmd).returncodeFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/sync_openclaw_config.py:158 · Python subprocess execution detectedresult = subprocess.run(cmd)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/manage.py:636 · Python subprocess execution detectedsys.exit(subprocess.run(["bash", str(DISPATCHER)]).returncode)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File permission modification commandscripts/manage.py:244 · File permission modification command — agent changes file ownership/permissions' ln -sf "$(realpath "$ep")" "$final" && chmod +x "$ep"',Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedscripts/sync_openclaw_config.py:169 · Python subprocess execution detectedresult = subprocess.run(["bash", "-c", args.run_inline])Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05

Cost to the agent

Instructions loaded
≈1,582 tok
1 file · 6 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

init-hooks@1.0.1 safety verdict: Verified (install only) — KillerSkills