Undeclared Tool Scope
- Category
- MCP Least Privilege
- Confidence
- 70% confidence
- Finding
Without declared permissions the skill's intent is opaque and cannot be validated.
- Content
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a disclosed PikPak WebDAV setup guide with an optional local metadata check, and I found no hidden persistence, exfiltration, or destructive behavior.
Install only if you want a PikPak WebDAV configuration guide. Keep WebDAV credentials inside trusted local clients, do not paste passwords or tokens into chat, and run scripts/webdav_check.py against a real account only after confirming the account is yours and the local CLI/PATH environment is trusted. Review the disclosed referral code before using any registration command.
Without declared permissions the skill's intent is opaque and cannot be validated.
The manifest description lists triggers including "connect media player," which is broad and not uniquely tied to PikPak WebDAV setup. This overlaps with common user requests about many media tools and lacks negative examples or tighter scope constraints, increasing the chance of accidental activation.
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
def pikpak_json(*args: str, timeout: int = 60):
bin_path = os.environ.get("PIKPAK_BIN", "pikpak")
try:
proc = subprocess.run([bin_path, *args, "-F", "json"],
capture_output=True, text=True, timeout=timeout)
except FileNotFoundError:
return None, f"找不到 pikpak 命令(官方安装页:https://mypikpak.com/cli)"
The executable path is taken directly from the PIKPAK_BIN environment variable and then executed. An attacker who can influence the environment can cause this script to run an arbitrary program instead of the official PikPak CLI, which is especially relevant in agent, automation, or shared-host contexts where environment variables may be attacker-controlled or inherited implicitly.
def pikpak_json(*args: str, timeout: int = 60):
bin_path = os.environ.get("PIKPAK_BIN", "pikpak")
try:
proc = subprocess.run([bin_path, *args, "-F", "json"],
capture_output=True, text=True, timeout=timeout)
except FileNotFoundError:
return None, f"找不到 pikpak 命令(官方安装页:https://mypikpak.com/cli)"
The document directs policy/reference use to Chinese-language official pages (zh-CN) as the authoritative source, but does not mention any user language preference, alternative locale, or a justification that this skill is region-specific. This can be a natural-language locale policy issue because it imposes a specific locale without opt-in.
No suspicious patterns detected.