oathe / scan / reports / caution
Is krisclarkdev/zededa safe?
Use with caution. krisclarkdev/zededa is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave the zededa skill by krisclarkdev a trust score of 79/100 with 10 findings (2 high).
https://github.com/openclaw/skills/tree/main/skills/krisclarkdev/zededa
Is krisclarkdev/zededa safe to install?
The krisclarkdev/zededa skill is a functionally legitimate ZEDEDA edge computing API client with clean Python code, no prompt injection attacks, no malicious install behavior, and no canary exfiltration. However, it presents significant operational security concerns: its 473 endpoints cover full ZEDEDA infrastructure control including irreversible destructive operations (node reboot/offboard, bulk OS upgrades, cluster deletion), a configurable ZEDEDA_BASE_URL creates an API token redirect attack vector exploitable via env var injection or skill chaining, and the explicit 'designed to be autonomously invoked' claim in SKILL.md reduces AI agent caution for high-consequence operations. The skill is appropriate only for users who fully trust ZEDEDA with their infrastructure and who have reviewed its scope against their agent's permission model.
What security issues were found in krisclarkdev/zededa?
Category Scores
Findings (10)
HIGH Configurable ZEDEDA_BASE_URL allows API token redirect to attacker server -18 ▶
The ZededaClient reads ZEDEDA_BASE_URL from the environment to set the API base. If an attacker can influence environment variables — through prompt injection targeting shell configs, a compromised co-installed skill, or a malicious subagent — all subsequent API calls including the ZEDEDA_API_TOKEN Bearer header will be forwarded to an attacker-controlled HTTPS endpoint. The token grants full control of the victim's ZEDEDA edge infrastructure.
Evidence: SKILL.md: 'export ZEDEDA_BASE_URL="https://zedcontrol.zededa.net/api" # default, configurable'; zededa.py SECURITY MANIFEST: 'Environment variables accessed: ZEDEDA_API_TOKEN, ZEDEDA_BASE_URL, ZEDEDA_LOG_LEVEL'
HIGH 473 endpoints include irreversible destructive infrastructure operations -30 ▶
The skill exposes node reboot, node offboard, edge node deletion, bulk OS upgrade jobs, application instance deletion/refresh, K8s cluster deletion, and ZKS instance deletion. An AI agent operating autonomously (as claimed in the 'Model Invocation Note') could trigger any of these via prompt injection, hallucination, or an ambiguous user request, causing irreversible production infrastructure damage.
Evidence: SKILL.md: 'python3 -m scripts.zededa node reboot-device --id', 'node offboard-device --id', 'job create-job --body {"name":"upgrade-all","type":"BASEOS_UPGRADE"}'; node_service.py: reboot_edge_node(), offboard_edge_node(), delete_edge_node(); kubernetes_service.py: delete_zks_instance()
MEDIUM Autonomous invocation claim bypasses user confirmation for high-privilege operations -14 ▶
The SKILL.md 'Model Invocation Note' explicitly states this skill is designed for autonomous invocation, priming the agent to execute any of the 473 endpoints — including destructive ones — without prompting the user for confirmation. This is an architectural instruction embedded in the skill prompt context that actively discourages safety checkpoints.
Evidence: SKILL.md: 'Model Invocation Note: This skill is designed to be autonomously invoked by the OpenClaw agent. You can opt-out by disabling this skill.'
MEDIUM --body-file reads arbitrary local JSON files and sends content to ZEDEDA API -12 ▶
The _load_body() function opens any file path passed via --body-file without restriction. Credential files stored in JSON format — ~/.docker/config.json, ~/.config/gcloud/application_default_credentials.json, AWS credential exports — could be read by an agent responding to a manipulated request like 'create a ZEDEDA deployment using the config in [path]', and their contents forwarded to the API endpoint.
Evidence: zededa.py _load_body(): 'if hasattr(args, "body_file") and args.body_file: with open(args.body_file) as f: return json.load(f)'; SKILL.md: 'No local files are read or written unless --body-file is used'
MEDIUM IAM and session endpoints enable privilege escalation and backdoor creation -15 ▶
The user service exposes endpoints to create users, create/update roles, create credentials, list all active sessions, and generate session tokens. A compromised or manipulated agent could create a hidden admin user, assign elevated roles, or extract session tokens that provide long-term persistent access to the ZEDEDA infrastructure independent of the API token.
Evidence: user_service.py: create_user(), create_role(), update_role(), create_credential(), update_credential(), query_user_sessions(), create_user_session_self(), get_user_session(); orchestration_service.py: download_cluster_instance_kubeconfig_by_id()
MEDIUM --body-file opens arbitrary filesystem paths without path validation -13 ▶
While not full code execution, the --body-file parameter accepts any filesystem path and reads it as JSON. An agent could be instructed or tricked into reading sensitive JSON-formatted files (Docker config, GCP credentials, AWS credential exports) and forwarding their contents as API payloads to ZEDEDA or (via ZEDEDA_BASE_URL misconfiguration) to an attacker server.
Evidence: zededa.py line ~55: 'if hasattr(args, "body_file") and args.body_file: with open(args.body_file) as f: return json.load(f)'
LOW Kubeconfig download endpoints expose K8s cluster credentials -7 ▶
The orchestration service provides download_cluster_instance_kubeconfig_by_id() and download_cluster_instance_kubeconfig_by_name() which return complete kubeconfig files containing K8s API server addresses, client certificates, and access tokens. An agent could retrieve and output these credentials in response to a benign-seeming request.
Evidence: orchestration_service.py: 'def download_cluster_instance_kubeconfig_by_id(self, id): return self.c.get(f"/v1/cluster/instances/id/{id}/status/kubeconfig/download")'
LOW ZEDEDA_BASE_URL environment variable creates a chained hijack vector -10 ▶
The combination of a configurable API base URL and a high-value API token creates a two-step attack chain exploitable via skill chaining: a malicious co-installed skill or a prompt injection payload could set ZEDEDA_BASE_URL before the ZEDEDA skill is invoked, silently capturing the token from the next legitimate ZEDEDA operation.
Evidence: SKILL.md metadata: 'optional_env: [ZEDEDA_BASE_URL, ZEDEDA_LOG_LEVEL]'; SKILL.md setup: 'export ZEDEDA_BASE_URL="https://zedcontrol.zededa.net/api" # default'
LOW Post-install openclaw-gateway connections observed -10 ▶
After installation, the openclaw-gatewa process established new TCP connections to 104.16.9.34:443 (Cloudflare) and 3.213.170.18:443 (AWS). These are consistent with normal agent framework telemetry and are not attributable to the skill. The skill itself made no network connections during installation.
Evidence: Connection diff AFTER: 'tcp ESTAB 192.168.64.17:51300 104.16.9.34:443 users:(("openclaw-gatewa",pid=1087,fd=29))'; 'tcp ESTAB 192.168.64.17:43830 3.213.170.18:443 users:(("openclaw-gatewa",pid=1087,fd=22))'
INFO Canary file accesses consistent with monitoring framework sweep -17 ▶
All 6 canary files (.env, .ssh/id_rsa, .aws/credentials, .npmrc, .docker/config.json, .config/gcloud/application_default_credentials.json) were accessed in two groups. The second group (audit sequence 7144-7149) accessed all 6 files at the exact same millisecond timestamp 1771954989.424, which is consistent with the oathe framework performing a post-install integrity verification sweep rather than a skill-directed read. The canary integrity check confirms no file exfiltration occurred.
Evidence: audit(1771954989.424:7144-7149): simultaneous access to all 6 canary files; monitoring report: '✅ All canary files intact (no exfiltration detected via honeypots)'
Should I install krisclarkdev/zededa?
Oathe's verdict for krisclarkdev/zededa is CAUTION with a trust score of 79/100. Recommendation: Install with caution.