T08 · Insecure Dependencies
- Location
SKILL.md:47- Finding
Unpinned Third-Party Dependency Installation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This WLAN inspection skill is mostly purpose-aligned, but it handles a Cloudnet API key in ways that can expose and persist the credential.
Install only if you are comfortable providing a Cloudnet API key to this workflow. Use a narrowly scoped, revocable key; avoid printing config files that contain secrets; check where mcporter stores its configuration; remove or rotate the token after use; and prefer pinned dependencies in an isolated environment instead of global npm/pip installs.
SKILL.md:47Unpinned Third-Party Dependency Installation
SKILL.md:27Plaintext API Key Exposure and Persistent Bearer-Token Configuration
The description requires output in Chinese MD and DOCX formats, and later requirements state “全部中文,” but there is no user opt-in or selectable language option. This is a natural-language locale policy issue because the skill forces a specific language regardless of user preference.
The trigger list includes generic phrases such as “巡检” and “极简版巡检”, which are broad and could overlap with ordinary requests for inspection rather than this specific Cloudnet WLAN skill. The description does not provide activation constraints, scope limits, or negative examples to clarify when the skill should or should not invoke.
The skill explicitly instructs reading a local config.json that contains a live API key and then using that key on the command line to configure mcporter. This creates credential exposure risk through terminal history, process listings, logs, screenshots, and accidental model disclosure if file contents are echoed back or summarized to the user.
The instructions explicitly require all report content to be in Chinese, preserving only technical acronyms in English. Because no language selection or opt-in mechanism is provided, this imposes a fixed locale on all users and violates the language-choice policy.