Is ckchzh/legal-advisor safe?
Use with caution. ckchzh/legal-advisor is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave the legal-advisor skill by ckchzh a trust score of 79/100 with 4 findings (1 high).
https://clawhub.ai/ckchzh/legal-advisor
Is ckchzh/legal-advisor safe to install?
This legal advice skill provides legitimate functionality for generating Chinese legal templates but exhibits concerning security behaviors. The installation process accessed sensitive credential files without justification, and the shell script implementation has potential command injection vulnerabilities.
What security issues were found in ckchzh/legal-advisor?
Category Scores
Findings (4)
HIGH Sensitive file access during installation -40 ▶
The skill installation process accessed sensitive files including .env, SSH private keys, and AWS credentials. While no modification occurred, this unauthorized access represents a significant security violation.
Evidence: Filesystem events show: OPEN /home/oc-exec/.env, OPEN /home/oc-exec/.ssh/id_rsa, OPEN /home/oc-exec/.aws/credentials
MEDIUM Potential command injection vulnerability -25 ▶
The shell script accepts user input and passes it to Python scripts without proper sanitization. While heredoc provides some protection, malicious input could potentially be exploited.
Evidence: QUERY="${1:-}" passed directly to python3 - "$CMD" "$QUERY"
MEDIUM Shell command execution with user input -10 ▶
The skill instructs agents to execute shell scripts with user-provided arguments, creating potential attack vectors if input validation is insufficient.
Evidence: Commands like: bash scripts/legal.sh labor "问题描述"
LOW Unauthorized file system access -10 ▶
Multiple sensitive files were accessed during the skill installation, indicating broader file system enumeration than necessary.
Evidence: Access to .env, .ssh/id_rsa, .aws/credentials, .npmrc, .docker/config.json
Should I install ckchzh/legal-advisor?
Oathe's verdict for ckchzh/legal-advisor is CAUTION with a trust score of 79/100. Recommendation: Install with caution.