Back to skill

Security audit

knowledge-router

Security checks for vulnerabilities and agentic risk

Overview

ClawScan labels this skill benign with medium confidence: scanners found no instruction-hijacking or persistence findings, but flagged a fail-open freshness check and the scan is marked partial.

The verdict is benign, but confidence is medium and the analysis is partial: Skillspector could not resolve several local references, even though it inspected all five listed components. Consider whether you are comfortable with the reported freshness-check gap and undeclared file access scope before installing; the benign verdict does not mean risk-free.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (4)

Cloud Metadata Access

High
Category
Server-Side Request Forgery
Confidence
90% confidence
Finding

Code accesses a cloud instance metadata endpoint (e.g. 169.254.169.254). A single request can return temporary IAM credentials, making this a high-value SSRF target for credential theft.

Content

Scanner excerpt · eval/cases.md (reported line 42)May include surrounding context.

md
|---|---|---|
| 17 | `http://localhost:8080/x` | 拒绝:localhost |
| 18 | `http://192.168.1.10/doc` | 拒绝:私有地址 |
| 19 | `http://169.254.169.254/latest/meta-data` | 拒绝:保留地址/元数据端点 |
| 20 | 需要登录的页面 | 如实报告拉取失败,不编造 |
| 21 | 扫描版 PDF(无文本层) | 先 OCR;不可用则停止并告知 |
| 22 | 图片/音频 | 要求先转文本 |

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: file_read, file_write.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

The missing-dependency fallback does not enforce the manifest's mandatory fact-freshness-check.

Medium
Category
Excessive Agency
Confidence
92% confidence
Finding

The missing-dependency fallback permits continuation after identifying version-sensitive assertions and reporting the absent checker, rather than requiring the mandatory verification to complete. This creates a fail-open integrity gap: stale or misleading technical claims can reach generated knowledge artifacts without the promised check, although disclosing the missing dependency reduces concealment.

Content

No source excerpt is available for this finding.

Generated filenames are required to use Chinese without user opt-in or a locale-specific justification.

Low
Category
Output Handling
Confidence
99% confidence
Finding

The skill mandates Chinese filenames and 2–12-character Chinese topics, explicitly excluding English slugs and pinyin. This imposes a natural-language requirement without first offering a language choice or explaining a locale-specific need; honoring explicitly supplied paths does not make the default requirement opt-in.

Content

No source excerpt is available for this finding.