Back to skill

Security audit

Model Route Guard

Security checks for vulnerabilities and agentic risk

Overview

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.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:55
Finding

Destructive Removal of the Complete Agent Model Configuration

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
references/privacy-checklist.md:10
Finding

Secret-Scanning Command Discloses Complete Credential-Bearing Lines

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

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.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.