T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:146- Finding
Agent-Accessible API Credential Violates Least-Privilege Boundaries
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill mostly matches its search-and-trends purpose, but it needs review because it directs handling of a raw Pangolinfo API key in ways that can expose the credential.
Review this skill before installing. Use a narrowly scoped Pangolinfo key, prefer Authorization headers or a protected MCP secret store, avoid putting API keys in URLs or command lines, and rotate any key that may already have appeared in URLs, logs, traces, or screenshots. No destructive behavior or exfiltration was found in the artifact.
SKILL.md:146Agent-Accessible API Credential Violates Least-Privilege Boundaries
SKILL.md:147API Key May Be Exposed Through URL Query-String Authentication
At L018 the documentation explicitly says this MCP-native skill has '无 API key 环境变量' (no API key environment variable). However, the same file later states that in skill mode the AI reads the API key from environment variable PANGOLINFO_API_KEY (L146, L156, L368). This is a direct mismatch between the skill's stated operating model and its documented actual behavior.
Line L118 states that the report language must match the user's question language. This is a language-handling policy constraint expressed as a hard rule, and the file does not indicate that users may override it or opt into a different reporting language.
Line L163 says the report language must be consistent with the user's question language. Because this is phrased as a mandatory rule and does not offer an explicit alternative, it fits the language/locale policy violation category.
No suspicious patterns detected.