Skills/ClawHub/mkhaytman-token-optimizer

mkhaytman-token-optimizer@1.0.0

VERIFIED· install only

Publisher claims: "Optimize OpenClaw token usage and session hygiene" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry ClawHubPublisher mkhaytman87 · publishing for 282 daysInstalls 1,760Last detonated 33 min ago
$clawhub install mkhaytman-token-optimizer
WatchReport an issue

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
install scripts, with decoy credentials in place · second launch with the clock 45 days ahead · 5 of 5 bundled scripts run with no arguments, with decoy credentials in the environment · 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 (3 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-21 and scored it 89/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 · 1 s · 3 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessinstall script run in the sandbox
0.0sprocessexec /usr/bin/dirname
0.0sprocessexec /usr/bin/chmod
0.0sprocessexited 1: chmod: cannot access '/tmp/ks-detonate-ViSkkY/setup/home/work/acme-api/.claude/skills/token-optimizer/scripts/token-optimize': No such file or directory
0.0sprocessbundled script run in the sandbox with no arguments
0.2sprocessexited 2: Choose exactly one primary action: --enable | --analyze | --compress | --health-check | --cleanup | --preflight
0.2sprocessbundled script run in the sandbox with no arguments
0.2sprocessbundled script run in the sandbox with no arguments
0.3sprocessbundled script run in the sandbox with no arguments
0.3sprocessbundled script run in the sandbox with no arguments
0.4sprocess5 of 5 bundled scripts run with no arguments
0.4sprocessscript backend runs setup only
0.4sprocessscript backend runs setup only
0.5sprocesssecond launch, clock +45 days, CI unset
0.5sprocessexec /usr/bin/dirname
0.5sprocessexec /usr/bin/chmod
0.5sprocessexited 1: chmod: cannot access '/tmp/ks-detonate-ViSkkY/later/home/work/acme-api/.claude/skills/token-optimizer/scripts/token-optimize': No such file or directory

Static findings

MEDIUM
File permission modification commandscripts/install.sh:4 · File permission modification command — agent changes file ownership/permissionschmod +x "$SCRIPT_DIR/token-optimize" "$SCRIPT_DIR/token_optimize.py"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedsrc/optimizer.py:26 · Python subprocess execution detectedproc = subprocess.run(args, capture_output=True, text=True, check=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/optimizer.py:320 · Python subprocess execution detectedsubprocess.run(["openclaw", "gateway", "restart"], check=False)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05

Cost to the agent

Instructions loaded
≈698 tok
1 file · 13 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.