Back to skill

Security audit

Baidu Map Cli(百度地图官方Cli工具)

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious with medium confidence because its MCP setup instructions reportedly expose credential-bearing configuration; the scan was partial, so the evidence is incomplete.

Consider the credential disclosure concern before installing. Avoid sharing full MCP configuration in conversations or logs, and use secret-redacted review. The scan was partial: one static analysis step was degraded and coverage was reported as 0%, so the results do not establish that the skill is safe.

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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

The MCP installation workflow requires displaying credential-bearing configuration verbatim, contradicting the skill's AK-masking requirement.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The MCP installation instructions explicitly require displaying complete configuration output while acknowledging that it contains AK credentials. This conflicts with the masking requirement and can expose usable keys in conversation history, logs, or shared transcripts; user approval of configuration changes does not prevent that disclosure.

Content

No source excerpt is available for this finding.

The configuration-review step requires displaying complete MCP configuration output even though it contains AK credentials.

Medium
Category
Data Exfiltration
Confidence
99% confidence
Finding

Requiring verbatim MCP configuration review creates a direct disclosure path for the AKs embedded in that configuration. This is the same underlying issue as SDI-4, not an independent vulnerability; exposure could enable unauthorized API use or quota consumption, depending on the key's restrictions.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

md
#### 代码类请求(需生成或修改代码/文件)

**JSAPI 版本选择(默认使用 V4.0)**:编写地图前端代码时,**默认使用 JSAPI V4.0**,即引用 `https://api.map.baidu.com/api?v=4.0&ak=YOUR_AK%60%EF%BC%8C%E5%AF%B9%E8%B1%A1%E5%91%BD%E5%90%8D%E7%A9%BA%E9%97%B4%E4%B8%BA `BMap`。**仅当用户明确指定「GL 版本」或已有代码基于 BMapGL 时**,才使用 BMapGL。两套 API 命名空间不得混用。

写代码前**严格按序**执行下面四步,**禁止跳步或乱序**。