Skills/ClawHub/kannaka-node

kannaka-node@1.0.2

CAUTION· install only

Publisher claims: "Hand a fresh Linux server to an AI and get back a running Kannaka node. Given an IP or hostname and SSH access, the agent checks the box, installs the signed Kannaka release, writes the node's identity, wires it as a systemd service that joins the constellation swarm and keeps its memory in sync, dreams nightly, and proves it is alive before handing it back. Works on Oracle Cloud free tier (Oracle Linux, aarch64), Ubuntu, Debian, Fedora. Use when someone says "set up a kannaka server", "provision a node", "here is my server, make it a kannaka node", or asks how to install kannaka on a VPS." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry ClawHubPublisher nickflach · publishing for 136 daysInstalls 386Last detonated 7d ago

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-07 and scored it 73/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Privileged sudo command; Privileged sudo command; Pipe-to-shell pattern. 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

HIGH
Privileged sudo commandSKILL.md:115 · Privileged sudo command — agent may execute with elevated privileges| `status=127` restart loop | the runner script is missing | `sudo bash provision.sh service` rewrites it |Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandSKILL.md:122 · Privileged sudo command — agent may execute with elevated privileges(manifest-pinned, sha256-verified) followed by `sudo bash provision.sh service`, which swapsFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
CRITICAL
Pipe-to-shell patternscripts/provision.sh:121 · Pipe-to-shell pattern — downloads and immediately executes remote codeas_user "curl -fsSL '$INSTALL_URL' | sh -s -- $flags" || { echo "installer failed" >&2; return 1; }Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST06
HIGH
Privileged sudo commandSKILL.md:114 · Privileged sudo command — agent may execute with elevated privileges| `Permission denied` reading `config.toml` in the journal on an SELinux host | binary ran from a home path | the script installs to `/usr/local/bin` for exactly this; check `ExecStart` and `ls -Z /usFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/provision.sh:256 · Privileged sudo command — agent may execute with elevated privilegesExecStart=/usr/bin/sudo -u $U -H env KANNAKA_DATA_DIR=$DATA $SYS_BIN dream --mode deepFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandSKILL.md:67 · Privileged sudo command — agent may execute with elevated privileges**4. Service.** `sudo bash provision.sh service [--role serve] [--no-dream]`. This is theFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/provision.sh:50 · Privileged sudo command — agent may execute with elevated privilegesas_user() { if [ "$(id -un)" = "$U" ]; then bash -c "$*"; else sudo -u "$U" -H bash -c "$*"; fi; }Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandscripts/provision.sh:162 · File permission modification command — agent changes file ownership/permissionsas_user "chmod 600 '$CFG'"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandscripts/provision.sh:289 · File permission modification command — agent changes file ownership/permissionsprintf '%s\n' "$runner_body" | $SUDO tee "$RUNNER" >/dev/null && $SUDO chmod 755 "$RUNNER"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandscripts/provision.sh:176 · File permission modification command — agent changes file ownership/permissionsas_user "umask 077 && printf \"NATS_USER='%s'\nNATS_PASSWORD='%s'\n\" '$NATS_USER' '$NATS_PASSWORD' > '$NATS_ENV' && chmod 600 '$NATS_ENV'"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandscripts/provision.sh:134 · File permission modification command — agent changes file ownership/permissionsas_user "mkdir -p '$DATA' && chmod 700 '$DATA'"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Privileged sudo commandscripts/provision.sh:315 · Privileged sudo command — agent may execute with elevated privilegesif journalctl -u kannaka-node -n 1 >/dev/null 2>&1; then J="journalctl"; elif sudo -n true 2>/dev/null; then J="sudo -n journalctl"; else J=""; fiFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/provision.sh:62 · Privileged sudo command — agent may execute with elevated privilegesneed_root() { if [ "$(id -u)" -ne 0 ]; then if sudo -n true 2>/dev/null; then SUDO="sudo"; else echo "this step needs root (passwordless sudo, or run as root)" >&2; exit 2; fi; else SUDO=""; fi; }Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/provision.sh:84 · Privileged sudo command — agent may execute with elevated privilegesif [ "$(id -u)" -eq 0 ]; then ok "running as root"; elif sudo -n true 2>/dev/null; then ok "passwordless sudo"; else warn "no passwordless sudo: install/configure work; service needs root"; fiFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Remote installer piped to shellscripts/provision.sh:121 · Remote installer piped to shellas_user "curl -fsSL '$INSTALL_URL' | sh -s -- $flags" || { echo "installer failed" >&2; return 1; }Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST07

Cost to the agent

Instructions loaded
≈2,329 tok
1 file · 5 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.

What would make this Verified

7 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
  2. Unclaimed publisher≈ +8 on the totalClaim nickflach: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  3. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  4. File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
  5. Remote installer piped to shell≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
Publish a new version to ClawHub, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim nickflachPropose a patch to the maintainer