kannaka-node@1.0.2
CAUTION· install onlyPublisher 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.
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 deviationsStatic findings
| `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.(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.as_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.| `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.ExecStart=/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.**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.as_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.as_user "chmod 600 '$CFG'"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.printf '%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.as_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.as_user "mkdir -p '$DATA' && chmod 700 '$DATA'"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.if 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.need_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.if [ "$(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.as_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.Cost to the agent
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%- Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- 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.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
- Remote installer piped to shell≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.