Is betsymalthus/claw-ethics-checker safe?
Yes. betsymalthus/claw-ethics-checker is safe to install. Oathe's behavioral security audit gave the claw-ethics-checker skill by betsymalthus a trust score of 84/100 with 6 findings (1 high).
https://github.com/openclaw/skills/tree/main/skills/betsymalthus/claw-ethics-checker
Is betsymalthus/claw-ethics-checker safe to install?
Claw Ethics Checker is a Python-based keyword classifier marketed as an AI agent compliance gate. The skill code is functionally benign — pure in-memory heuristics with no network calls or sensitive filesystem access — and SKILL.md contains no prompt injection vectors. The primary unresolved concern is a targeted read of six credential file paths (.env, SSH key, AWS credentials, npmrc, Docker config, GCP credentials) observed in both pre- and post-install monitoring phases; while canary integrity is intact and no exfiltration traffic was detected (suggesting these reads originated from the audit framework's own canary baseline checks), process-level attribution was not definitively confirmed. The skill's keyword-bypass susceptibility means it should not be treated as a reliable security gate by agents.
What security issues were found in betsymalthus/claw-ethics-checker?
Category Scores
Findings (6)
HIGH Targeted credential file reads during install session -32 ▶
Six high-value credential files were opened for reading at audit events 257-262 (pre-install, 1771939260.153) and again at events 1440-1445 (post-install, 1771939279.215). The targeted list — .env, .ssh/id_rsa, .aws/credentials, .npmrc, .docker/config.json, gcloud application_default_credentials.json — represents a comprehensive credential sweep. The reads are CLOSE_NOWRITE,CLOSE (read-only, no modification). No corresponding outbound data transmission was detected and canary integrity is intact, making it likely these are oathe audit framework canary verification reads rather than skill-originated access. However, attribution to a specific process was not confirmed from available EXECVE records at those exact timestamps.
Evidence: type=PATH msg=audit(1771939260.153:257-262) and msg=audit(1771939279.215:1440-1445) — name fields: /home/oc-exec/.env, /home/oc-exec/.ssh/id_rsa, /home/oc-exec/.aws/credentials, /home/oc-exec/.npmrc, /home/oc-exec/.docker/config.json, /home/oc-exec/.config/gcloud/application_default_credentials.json
LOW Python executable code included in skill package -17 ▶
The skill ships two Python modules (claw_ethics_checker.py, test_ethics_checker.py). The core module is a pure in-memory keyword classifier with no network or sensitive filesystem access. The test module imports and exercises the core. Neither file contains subprocess calls, socket usage, or credential path references. Risk is low but agents with a Python execution tool could invoke these files.
Evidence: claw_ethics_checker.py: imports json, dataclasses, enum, re, datetime only. No os, subprocess, socket, urllib, requests imports. export_decision_log() writes to caller-supplied filepath only.
LOW Ethics gate pattern susceptible to keyword bypass -22 ▶
The risk classification in EthicsChecker._check_privacy_violation(), _check_security_violation(), _check_legal_compliance(), and _check_ethical_concerns() relies entirely on substring keyword matching against a fixed word list. An attacker could instruct an agent to bypass the gate by rephrasing task descriptions to avoid trigger words. If agents defer to this skill for go/no-go decisions, the false-safety signal is itself a risk vector.
Evidence: self.rules['security']['keywords'] = ['hack', 'bypass', 'exploit', 'attack', '入侵', '绕过', '破解', '漏洞'] — simple substring match, no semantic analysis, no LLM judgment
LOW Skill sourced from monorepo with full history shallow-cloned -9 ▶
Installation clones the entire openclaw/skills monorepo (depth=1) then uses sparse-checkout to extract the target subdirectory. This means the installing host briefly holds a shallow copy of all skills in the monorepo, though the copy is removed post-install. The monorepo itself resolved to GitHub IP 140.82.121.3.
Evidence: EXECVE: git clone --depth 1 --no-checkout --branch main -- https://github.com/openclaw/skills.git /tmp/monorepo-clone; rm -rf /tmp/monorepo-clone
INFO SKILL.md content is clean — no injection vectors 0 ▶
SKILL.md contains only Chinese and English documentation describing the ethics checker's features, installation, configuration, and pricing. No instructions to override system prompts, ignore previous context, adopt alternate personas, fetch external URLs, or suppress output were found.
Evidence: Full SKILL.md reviewed; structure is: 功能描述, 核心功能, 使用场景, 安装方法, 配置说明, API接口, 定价策略, 开发路线图, 联系我们
INFO All canary honeypot files intact 0 ▶
Post-install canary verification confirms no honeypot credentials (fake .env, SSH keys, AWS credentials) were modified or exfiltrated.
Evidence: Monitoring: Canary File Integrity — All canary files intact (no exfiltration detected via honeypots)
Should I install betsymalthus/claw-ethics-checker?
Oathe's verdict for betsymalthus/claw-ethics-checker is SAFE with a trust score of 84/100. Recommendation: Install with caution.