Back to skill

Security audit

Routing Optimization

Security checks for vulnerabilities and agentic risk

Overview

The skill is a routing optimization guide with no executable installer, hidden network behavior, persistence, or automatic authority, though users should be careful about the routing logs they provide.

Before installing, confirm where dispatch logs come from and keep them minimized or redacted, especially if they include prompts, user identifiers, business data, or secrets. Review any generated routing-rule changes manually.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (7)

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

Scanner excerpt · SKILL.md (reported line 63)May include surrounding context.

stats = rule_stats[rule_name] stats['success_rate'] = stats['success'] / stats['hits'] if stats['hits'] > 0 else 0

text
return rule_stats
text

**输出示例**:

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

Scanner excerpt · SKILL.md (reported line 136)May include surrounding context.

stats = rule_stats[rule_name] stats['success_rate'] = stats['success'] / stats['hits'] if stats['hits'] > 0 else 0

text
return rule_stats
text

**输出示例**:

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill explicitly discusses collecting routing logs, success data, and user satisfaction signals, but provides no privacy, minimization, retention, consent, or sanitization guidance. In practice, dispatch logs and satisfaction metadata can contain sensitive user prompts, task content, identifiers, or behavioral data, creating a meaningful privacy and data-governance risk.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The inline comments say that high-success rules should have their priority lowered for faster matching and low-success rules should have their priority raised to give them more chances. But the code decreases the numeric priority for high-success rules and increases it for low-success rules, then sorts ascending by adjusted_priority, which makes low numeric values match earlier; this directly contradicts the stated rationale for the low-success branch.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The roadmap explicitly says '添加更多中文关键词' and the examples/config emphasize Chinese keywords, but the document does not state that the skill is China-specific or that users can choose another language/locale. This can be a natural-language policy issue because it steers behavior toward a specific language without opt-in or documented justification.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The configuration uses simple keyword matching with broad, high-frequency terms such as 'code', 'write', 'design', 'learn', and 'task' across multiple roles. This can cause unintended skill routing, over-collection of user intent signals, and misclassification of normal conversation, especially because the trigger set spans both English and Chinese without contextual disambiguation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
73% confidence
Finding

The config hard-codes multilingual keyword policy that influences behavior based on language-specific terms, but there is no indication of user consent, disclosure, or a way to opt out. This can create quiet profiling or routing behavior that users do not expect, particularly for bilingual users whose normal wording may trigger specialized handling.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.