T09 · Insecure Skill Coding Practices
- Location
src/utils/request.js:76- Finding
API Token Transmitted in URL Query Strings
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill broadly matches its public Xiaohongshu data purpose, but it needs review because it handles credentials and collected results in ways that can expose them.
Install only if you are comfortable sending Xiaohongshu keywords, URLs, and retrieved public data through Guaikei's API. Use a dedicated, revocable GUAIKEI_API_TOKEN, avoid shared workspaces for sensitive research, and regularly delete or protect the generated logs directory.
src/utils/request.js:76API Token Transmitted in URL Query Strings
src/utils/log.js:5Automatic Plaintext Retention of Complete API Results and Access-Bearing URLs
The skill is described as a creator-profile post-list tool, but it also performs general keyword/content search. That broader search capability changes the trust model and may lead to unintended collection or transfer of public content beyond the specific creator or URL the user thought they were authorizing.
The skill is described as a creator-profile post-list tool, but it also performs general keyword/content search. That broader search capability changes the trust model and may lead to unintended collection or transfer of public content beyond the specific creator or URL the user thought they were authorizing.
The skill is described as a creator-profile post-list tool, but it also performs general keyword/content search. That broader search capability changes the trust model and may lead to unintended collection or transfer of public content beyond the specific creator or URL the user thought they were authorizing.
The skill is described as a creator-profile post-list tool, but it also performs general keyword/content search. That broader search capability changes the trust model and may lead to unintended collection or transfer of public content beyond the specific creator or URL the user thought they were authorizing.
The skill is described as a creator-profile post-list tool, but it also performs general keyword/content search. That broader search capability changes the trust model and may lead to unintended collection or transfer of public content beyond the specific creator or URL the user thought they were authorizing.
The skill is described as a creator-profile post-list tool, but it also performs general keyword/content search. That broader search capability changes the trust model and may lead to unintended collection or transfer of public content beyond the specific creator or URL the user thought they were authorizing.
The skill is described as a creator-profile post-list tool, but it also performs general keyword/content search. That broader search capability changes the trust model and may lead to unintended collection or transfer of public content beyond the specific creator or URL the user thought they were authorizing.
The skill is described as a creator-profile post-list tool, but it also performs general keyword/content search. That broader search capability changes the trust model and may lead to unintended collection or transfer of public content beyond the specific creator or URL the user thought they were authorizing.
The skill is described as a creator-profile post-list tool, but it also performs general keyword/content search. That broader search capability changes the trust model and may lead to unintended collection or transfer of public content beyond the specific creator or URL the user thought they were authorizing.
The skill is described as a creator-profile post-list tool, but it also performs general keyword/content search. That broader search capability changes the trust model and may lead to unintended collection or transfer of public content beyond the specific creator or URL the user thought they were authorizing.
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
- "看这个小红书博主最近 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/detail-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy'"
Referenced artifact was not completely inspected
- "看这篇爆款笔记的详情和互动数据: node src/xiaohongshu/detail-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy'"
Referenced artifact was not completely inspected
- "看这篇爆款笔记的详情和互动数据: node src/xiaohongshu/detail-cli.js --url 'https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy'"
The README describes a substantially broader surveillance/data-mining tool than the manifested skill purpose of fetching a blogger’s public post list. This kind of scope drift is dangerous because an agent or reviewer may authorize a narrowly scoped skill while users are actually guided toward competitor monitoring, trend prediction, KOL screening, and other higher-risk collection uses.
This file implements creation and retrieval of comment-collection tasks for Xiaohongshu notes, which materially exceeds the manifest’s declared scope of listing a creator’s public works and evaluating per-post performance. That scope mismatch is dangerous because it enables collection of additional user-generated content not disclosed by the skill description, increasing privacy, compliance, and abuse risk for downstream profiling or scraping.
The manifest says the skill is for obtaining a creator's public work list and using note details to assess single-post performance, and explicitly says it is used when a user wants to see what a creator posts and how often. This file instead creates and retrieves a comment task for an individual note and returns comment data, which is a materially different capability from listing a blogger's public works.
The implementation is a generic platform keyword search CLI, while the skill metadata says it should retrieve a specific creator's public work list from a homepage link. This scope mismatch expands data access beyond the declared purpose, enabling broad discovery and collection of unrelated public content and making the skill more dangerous because users and reviewers may trust it as narrowly scoped when it is not.
The skill declares access to an environment secret (GUAIKEI_API_TOKEN) but does not define an explicit tool scope such as permissions or allowed-tools. That omission weakens least-privilege boundaries and makes it harder for the host to constrain what the skill may access or invoke, especially given it routes data to a third-party API.
The activation text says the skill may be used even when the user did not explicitly ask for blogger analysis, so long as they provided a homepage link and seem to want to view works. Overly broad activation criteria increase the chance of unintended skill invocation, unnecessary third-party data transfer, and user surprise about what data is being processed.
Detected: suspicious.exposed_secret_literal