T09 · Insecure Skill Coding Practices
- Location
SKILL.md:55- Finding
Destructive Removal of the Complete Agent Model Configuration
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is meant to fix OpenClaw model routing, but its repair steps can overwrite global configuration, delete an agent configuration file, and restart the gateway without backup or confirmation.
Install only if you are comfortable with a skill that may change OpenClaw routing configuration. Before running the fix, review the exact files, back up openclaw.json and models.json, confirm the Bailian endpoint is correct for your account, and avoid running the provided secret scan in a directory that may contain plaintext credentials unless output is redacted.
SKILL.md:55Destructive Removal of the Complete Agent Model Configuration
references/privacy-checklist.md:10Secret-Scanning Command Discloses Complete Credential-Bearing Lines
The skill instructs the agent to overwrite a global configuration file and forcibly delete an agent-specific override file using Remove-Item -Force, then restart the gateway, without any explicit confirmation, backup, or rollback guidance. These are destructive state-changing actions that can break a working setup, remove intentionally customized routing, or cause service disruption if the inferred 'correct' endpoint is wrong for the environment.
No suspicious patterns detected.