Skills/ClawHub/rotate-openrouter-key

rotate-openrouter-key@1.0.0

VERIFIED· install only

Publisher claims: "Safely rotate the OpenRouter API key across all config files in an OpenClaw installation. Finds every location where the key is stored, updates them, restart..." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry ClawHubPublisher chunhualiao · publishing for 278 daysInstalls 1,700Last detonated 32 min ago
$clawhub install rotate-openrouter-key
WatchReport an issue

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
1 of 1 bundled script 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 (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-21 and scored it 81/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 · 2 scenarios
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessbundled script run in the sandbox with no arguments
0.1sfilesystemread ~/.openclaw outside project
0.1sprocessexited 1: ERROR: --key is required (or use --find to list locations).
0.1sprocess1 of 1 bundled script run with no arguments
0.1sprocessscript backend runs setup only
0.1sprocessscript backend runs setup only
0.1sprocessno install scripts to re-run

Static findings

HIGH
Access to sensitive file pathsSKILL.md:39 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesgrep -r "sk-or-v1" ~/.openclaw/ --include="*.json" --include=".env" -l 2>/dev/nullFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/update-openrouter-key.py:62 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesenv_path = os.path.join(base_dir, ".env")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsSKILL.md:41 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# Also check for uncommented key in .envFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsSKILL.md:49 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesRun the helper script — it handles both `.env` and JSON files in one pass:Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/update-openrouter-key.py:61 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""Check if .env has an active (uncommented) OPENROUTER_API_KEY."""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsSKILL.md:42 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesgrep -v '^#' ~/.openclaw/.env 2>/dev/null | grep OPENROUTER_API_KEYFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/update-openrouter-key.py:116 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""Update OPENROUTER_API_KEY in a .env file. Returns True if changed."""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsSKILL.md:21 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files1. **`~/.openclaw/.env`** — environment file, overrides everythingFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05

Cost to the agent

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