Back to skill

Security audit

gcoord - 中国地图坐标系转换

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward coordinate-conversion helper with no evidence of hidden persistence, data theft, destructive behavior, or unrelated authority.

Install this if you need Chinese map coordinate conversion and are comfortable with Chinese-first output. Prefer installing with the included lockfile honored, and treat the test helper as developer-only code rather than a user-input execution surface.

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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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 (9)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill documentation is written entirely in Chinese, including usage instructions and examples, with no indication that users may choose another language. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale constraint is clearly documented and justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This code includes comments, errors, prompts, and output strings entirely in Chinese, which effectively forces a specific language for user interaction. Under the language/locale policy, that is a natural-language policy issue unless the skill offers opt-in language selection or clearly states it is intended only for a Chinese-language context.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The manifest describes a coordinate conversion skill, but this file imports child_process.execSync and builds shell command strings to invoke the CLI. Spawning subprocesses is not an inherent or justified capability for coordinate conversion itself; it is an execution capability beyond the stated purpose.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The file's natural-language test names and output expectations require Chinese strings such as 转换, 结果, and 不支持的坐标系. This enforces a specific language/locale in behavior verification with no indication of user opt-in or documented locale scope.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

The skill documentation is predominantly written in Chinese and all interactive question text and user examples are specified in Chinese, which signals a default language constraint. Because the file does not explicitly offer users a language/locale option or justify the restriction as region-specific UI policy, this is a natural-language locale policy issue under the stated rule.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

L206 states that GeoJSON is modified in place after conversion, implying side effects on the original object. However, this skill is documented and invoked as a node index.js command that processes input and returns output, so it cannot mutate the user's original in-memory object across the CLI boundary; at most it can emit transformed output.

Content

No source excerpt is available for this finding.

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
85% confidence
Finding

The dependency uses a caret version range (^1.0.7), which permits automatic installation of newer minor and patch releases. If the upstream package is compromised or a breaking/malicious update is published within the allowed range, consumers of this skill could receive unreviewed code during install or deployment.

Content

Scanner excerpt · package.json (reported line 18)May include surrounding context.

json
"bd09"
  ],
  "dependencies": {
    "gcoord": "^1.0.7"
  },
  "author": "zhangyuting",
  "license": "MIT"

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

This plain-text file uses Chinese headings and labels such as "坐标转换测试数据" and "格式: 经度,纬度" with no indication that the skill is region-specific or that users may opt into this language. Under the policy rule for natural-language violations, forcing a specific language without opt-in can be a locale-policy issue.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The test helpers build a shell command by interpolating args directly into a template string passed to execSync. If any test input contains shell metacharacters or attacker-controlled content, this can lead to command injection during test execution, which is especially relevant because several tests pass complex quoted input strings through this helper.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.dangerous_exec

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
test/test.js:9