Back to skill

Security audit

amap

Security checks for vulnerabilities and agentic risk

Overview

This is a legitimate Amap helper, but its shell examples unsafely insert user-provided locations into curl commands, creating a real command-injection risk.

Review this skill before installing. Use it only with trusted location inputs, avoid sensitive home/work/travel addresses unless necessary, and prefer a safer implementation that URL-encodes parameters and passes curl arguments without shell interpolation.

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

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:41
Finding

Shell Command Injection Through Untrusted API Parameters

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)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The entire skill description, trigger examples, and usage instructions are written only in Chinese, which implicitly enforces a specific language/locale for interacting with the skill. There is no indication that this is an intentional region-specific constraint or that users may opt into another language.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill instructs users to send addresses, coordinates, and location queries to Amap's external Web service API but does not clearly warn that this data leaves the local environment and is disclosed to a third party. This creates a privacy and consent risk, especially when users may provide precise home, work, or travel data without realizing it will be transmitted externally.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.