Back to skill

Security audit

Amap LBS Service

Security checks for vulnerabilities and agentic risk

Overview

This map-service skill is mostly coherent, but it ships a real-looking API key and can expose user-provided dataset URLs through generated heatmap links.

Review before installing. Use your own restricted Amap key through an environment variable, remove or rotate the bundled key, keep config files owner-only, and avoid private, signed, internal, or token-bearing dataset URLs for heatmaps. Treat generated heatmap links as third-party sharing links.

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 (3)

T09 · Insecure Skill Coding Practices

Error
Location
config.json:2
Finding

Hard-Coded Amap API Credential in Distributed Configuration

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:102
Finding

API Credential Transmitted in a URL Query Parameter

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:133
Finding

Heatmap Visualization Link Uses Unencrypted HTTP

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger conditions include very generic keywords like “搜”, “找”, “查”, “附近”, “路线”, and “规划”, which can cause the skill to activate for many unrelated user requests. In an agent setting, overbroad invocation increases the chance that user queries are unnecessarily routed to this skill, leading to unintended third-party requests, telemetry emission, or requests for an API key when the user did not intend to use Amap services.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The heatmap workflow instructs the agent to take a user-provided data URL and embed it into an Amap-hosted visualization link without clearly warning that the URL will be disclosed to a third-party service. If users supply private, signed, internal, or sensitive dataset URLs, the skill could expose those URLs and associated access tokens to Amap infrastructure and anyone who receives the generated link.

Content

No source excerpt is available for this finding.