T09 · Insecure Skill Coding Practices
- Location
SKILL.md:42- Finding
API Credential Transported in a URL Query Parameter
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a disclosed guide for building a local customer demo portal, with expected external API use that needs careful data-handling guidance but does not show hidden or malicious behavior.
Install only if you are comfortable with a Chinese-language portal-demo workflow that uses Zhihuiya/PatSnap, DeepSeek, and local project API keys. Keep keys in protected environment configuration, avoid putting real keys in URLs or logs, and do not send internal customer documents or confidential questions to external AI services unless that processing is approved.
SKILL.md:42API Credential Transported in a URL Query Parameter
SKILL.md:85Potential Customer Data Disclosure to an External AI Provider Without Data-Handling Controls
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
[客户名]-portal/
├── server.js ← Express后端(调智慧芽MCP)
├── .env ← API Key配置
├── package.json
├── public/
│ └── index.html ← Apple风格前端
The trigger list includes “帮我准备演示”, which is a generic request that could arise in many unrelated contexts and is not specific to this skill’s portal-building purpose. The description does not provide exclusion conditions or scope constraints to prevent unintended invocation.
The skill explicitly describes sending data to third-party services including DeepSeek and the Zhihuiya MCP, but it does not present a clear user-facing warning or consent step before transmitting potentially sensitive customer context, questions, or internal document-derived content. In a client-demo and local-knowledge-base workflow, this is more dangerous because users may assume all processing is local while proprietary or customer information is actually sent externally.
The explicit external endpoint reference to https://api.deepseek.com/ confirms that analysis content is intended to leave the local environment. Because the skill presents itself as a local portal prototype and references internal docs and customer-specific workflows, undisclosed outbound transmission could violate customer expectations, internal policy, or contractual handling requirements.
patsnap-technical-qa是Eureka内部MCP,Node.js无法HTTP直连。
// 用DeepSeek替代(同步返回,不卡界面)
const response = await fetch('https://api.deepseek.com/chat/completions', {
method: 'POST',
headers: { 'Authorization': `Bearer ${process.env.DEEPSEEK_API_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({ model: 'deepseek-chat', messages: [
The explicit external endpoint reference to https://api.deepseek.com/ confirms that analysis content is intended to leave the local environment. Because the skill presents itself as a local portal prototype and references internal docs and customer-specific workflows, undisclosed outbound transmission could violate customer expectations, internal policy, or contractual handling requirements.
patsnap-technical-qa是Eureka内部MCP,Node.js无法HTTP直连。
// 用DeepSeek替代(同步返回,不卡界面)
const response = await fetch('https://api.deepseek.com/chat/completions', {
method: 'POST',
headers: { 'Authorization': `Bearer ${process.env.DEEPSEEK_API_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({ model: 'deepseek-chat', messages: [
The document is entirely written in Chinese and provides no indication that language selection is optional or that the skill is intentionally limited to a Chinese-language audience. Under the language/locale policy, forcing a specific language without user opt-in is a natural-language policy concern.
The natural-language instructions and usage guidance are entirely presented in Chinese, with no indication that users may choose another language or that the locale restriction is intentional and justified. This can violate language-choice policy when a skill implicitly constrains interaction language without opt-in.