T09 · Insecure Skill Coding Practices
- Location
src/utils/request.js:76- Finding
API Credential Exposed in HTTPS URL Query Strings
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent Xiaohongshu data-retrieval tool, but it needs review because it sends its API token in URL parameters and automatically stores retrieved data locally.
Install only if you are comfortable sending Xiaohongshu keywords, URLs, and the GUAIKEI_API_TOKEN to guaikei.com. Treat the token as sensitive, prefer an official provisioning path, rotate it if exposed, and periodically delete or protect the generated logs because they may contain research queries, public profile/comment data, and xsec_token-bearing URLs.
src/utils/request.js:76API Credential Exposed in HTTPS URL Query Strings
src/utils/log.js:24Retrieved Data and Access-Bearing URLs Persisted in Plaintext by Default
The skill markets itself as a data retrieval capability but also directs users to obtain private API access through off-platform contact information (WeChat/phone), which is not clearly framed as a security or trust boundary. This can bypass normal procurement/review processes and may lead users to share credentials or engage with an unvetted operator, increasing supply-chain and social-engineering risk.
The skill markets itself as a data retrieval capability but also directs users to obtain private API access through off-platform contact information (WeChat/phone), which is not clearly framed as a security or trust boundary. This can bypass normal procurement/review processes and may lead users to share credentials or engage with an unvetted operator, increasing supply-chain and social-engineering risk.
The skill markets itself as a data retrieval capability but also directs users to obtain private API access through off-platform contact information (WeChat/phone), which is not clearly framed as a security or trust boundary. This can bypass normal procurement/review processes and may lead users to share credentials or engage with an unvetted operator, increasing supply-chain and social-engineering risk.
The skill markets itself as a data retrieval capability but also directs users to obtain private API access through off-platform contact information (WeChat/phone), which is not clearly framed as a security or trust boundary. This can bypass normal procurement/review processes and may lead users to share credentials or engage with an unvetted operator, increasing supply-chain and social-engineering risk.
The skill markets itself as a data retrieval capability but also directs users to obtain private API access through off-platform contact information (WeChat/phone), which is not clearly framed as a security or trust boundary. This can bypass normal procurement/review processes and may lead users to share credentials or engage with an unvetted operator, increasing supply-chain and social-engineering risk.
The skill markets itself as a data retrieval capability but also directs users to obtain private API access through off-platform contact information (WeChat/phone), which is not clearly framed as a security or trust boundary. This can bypass normal procurement/review processes and may lead users to share credentials or engage with an unvetted operator, increasing supply-chain and social-engineering risk.
Referenced artifact was not completely inspected
- "分析这条小红书笔记评论区的主要观点和负面反馈: node src/xiaohongshu/detail-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 100"
Referenced artifact was not completely inspected
- "分析这条小红书笔记评论区的主要观点和负面反馈: node src/xiaohongshu/detail-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 100"
Referenced artifact was not completely inspected
- "分析这条小红书笔记评论区的主要观点和负面反馈: node src/xiaohongshu/detail-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 100"
Referenced artifact was not completely inspected
- "分析这条小红书笔记评论区的主要观点和负面反馈: node src/xiaohongshu/detail-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 100"
Referenced artifact was not completely inspected
- "分析这条小红书笔记评论区的主要观点和负面反馈: node src/xiaohongshu/detail-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 100"
Referenced artifact was not completely inspected
- "分析这条小红书笔记评论区的主要观点和负面反馈: node src/xiaohongshu/detail-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 100"
Referenced artifact was not completely inspected
- "看这个小红书博主最近 20 条作品都在发什么: node src/xiaohongshu/post-cli.js --url 'https://www.xiaohongshu.com/user/profile/xxx?xsec_token=yyy' --limit 20"
Referenced artifact was not completely inspected
- "看这个小红书博主最近 20 条作品都在发什么: node src/xiaohongshu/post-cli.js --url 'https://www.xiaohongshu.com/user/profile/xxx?xsec_token=yyy' --limit 20"
Referenced artifact was not completely inspected
- "看这个小红书博主最近 20 条作品都在发什么: node src/xiaohongshu/post-cli.js --url 'https://www.xiaohongshu.com/user/profile/xxx?xsec_token=yyy' --limit 20"
Referenced artifact was not completely inspected
- "看这个小红书博主最近 20 条作品都在发什么: node src/xiaohongshu/post-cli.js --url 'https://www.xiaohongshu.com/user/profile/xxx?xsec_token=yyy' --limit 20"
Referenced artifact was not completely inspected
- "看这个小红书博主最近 20 条作品都在发什么: node src/xiaohongshu/post-cli.js --url 'https://www.xiaohongshu.com/user/profile/xxx?xsec_token=yyy' --limit 20"
Referenced artifact was not completely inspected
- "只拉这条笔记的评论做观点归纳: node src/xiaohongshu/comment-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 100"
Referenced artifact was not completely inspected
- "只拉这条笔记的评论做观点归纳: node src/xiaohongshu/comment-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 100"
Referenced artifact was not completely inspected
- "只拉这条笔记的评论做观点归纳: node src/xiaohongshu/comment-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 100"
Referenced artifact was not completely inspected
- "只拉这条笔记的评论做观点归纳: node src/xiaohongshu/comment-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 100"
Referenced artifact was not completely inspected
- "只拉这条笔记的评论做观点归纳: node src/xiaohongshu/comment-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 100"
Referenced artifact was not completely inspected
- "只拉这条笔记的评论做观点归纳: node src/xiaohongshu/comment-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy' --limit 100"
The skill declares access to a sensitive environment variable (GUAIKEI_API_TOKEN) but does not define a clear tool/permission scope limiting how that capability may be used. In agent environments, undeclared or overly implicit access to secrets increases the chance of accidental token exposure, misuse, or execution outside the user’s expectations.
The activation language is broad enough to trigger on many general growth, planning, or content requests, potentially causing unnecessary calls to a third-party API and unintended disclosure of user prompts, keywords, or URLs. In an agent setting, overbroad routing is a real privacy and data-minimization risk because users may not realize external services will be invoked.
Detected: suspicious.exposed_secret_literal