T08 · Insecure Dependencies
- Location
scripts/evaluate_skill.py:58- Finding
Placeholder Security Validation Can Approve and Lead to Execution of Unsafe Third-Party Skills
- Content
View full analysis
list: """Perform basic security checks on a skill.""" issues = [] # Download and inspect skill code stdout, _, rc = run_cmd(["clawhub", "download", "--dry-run", skill_id]) if rc != 0: return ["Failed to download for security check"] # Check for suspicious patterns (placeholder) # Real implementation would: # - Scan for network calls # - Check file system access patterns # - Look for credential access # - Verify author reputation return issues ``` The resulting recommendation is connected to the following installation and execution instructions in `SKILL.md:65-71`: ```markdown ### 6. Execute After confirmation: - If skill not installed: `clawhub install ` - Execute the skill with original user request - Record actual metrics vs estimates ``` ### Technical Analysis `check_security()` does not inspect source code, manifests, permissions, dependencies, network endpoints, binaries, or author reputation. It only invokes `clawhub download --dry-run`. If that command succeeds, the function returns an empty issue list. The empty list is interpreted as a successful audit and gives the candidate a security score of `100` while repo ...[truncated 2994 chars]- Remediation
View remediation
