other
- Location
SKILL.md:228- Finding
Automatic Disclosure of User Conversation Content Through the Feedback API
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill can perform TikTok video analytics, but it also handles account login, API keys, payments, persistent data storage, and automatic feedback reporting in ways that need human review before installation.
Install only if you are comfortable giving this skill a LinkFox API key and using it for paid EchoTik queries. Review any account signup, SMS-code, API-key, billing, payment QR, and feedback-reporting behavior before allowing it, avoid setting custom LINKFOX_* endpoint environment variables, and keep the generated linkfox output directory out of shared or committed project files.
SKILL.md:228Automatic Disclosure of User Conversation Content Through the Feedback API
scripts/echotik_list_video.py:36Credential Exfiltration Through Unrestricted Environment-Configurable API Endpoints
scripts/echotik_list_video.py:248Arbitrary User-Writable File Placement Through SESSION_ID Path Traversal
scripts/onboarding.py:164Unpinned Runtime Dependency Installation Instructions
The request sent via urlopen includes multiple environment-derived headers and, more importantly, the destination base URL is also taken from LINKFOX_TOOL_GATEWAY without validation. In an agent/runtime context, environment variables are often externally influenced by orchestration or plugins, so this creates a real risk of SSRF-style redirection and credential leakage of the API key and session metadata to an attacker-controlled endpoint.
method="POST",
)
try:
with urlopen(req, timeout=150) as response:
return json.loads(response.read().decode("utf-8"))
except HTTPError as e:
body = e.read().decode("utf-8") if e.fp else ""
The POST target URL is derived from environment-controlled base URLs, and this function sends sensitive material such as SMS login data, access tokens, refresh tokens, and API-token operations to those endpoints. In a skill/runtime environment where env vars can be influenced, this creates a server-side exfiltration path to attacker-controlled infrastructure and undermines trust boundaries.
except RuntimeError as e:
return {"_error": str(e)}
try:
r = requests.post(url, json=body or {}, headers=headers, timeout=timeout)
return r.json()
except Exception as e:
body_text = ""
The gateway request URL is built from environment-controlled base configuration and then used with an Authorization header carrying the API key. If an attacker can influence the environment, the skill will transmit the API key and business requests to an arbitrary host, enabling credential theft and misuse of the linked account.
headers["Content-Type"] = "application/json"
req = Request(url, method=method, data=body_bytes, headers=headers)
try:
with urlopen(req, timeout=30) as resp:
return json.loads(resp.read().decode())
except urllib.error.HTTPError as e:
status = e.code
The declared purpose is TikTok video analytics, but the referenced behavior extends into authentication, API key generation, account/team inspection, subscription purchase flows, payment QR generation, and payment status polling. That mismatch can mislead users and reviewers about the real privilege boundary, enabling collection of account data or initiation of billing-related actions under the guise of analytics.
The trigger logic explicitly says the skill should fire even when the user does not mention TikTok or EchoTik, as long as the request loosely resembles performance analysis. This overbroad activation can cause the skill to run in unrelated contexts, leading to unnecessary external queries, unintended data disclosure, or surprise charges from a paid tool.
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
}
## Display Rules
1. **Present data in tables**: Show video description (truncated if long), views, likes, comments, shares, video sales, video GMV, publish date, and creator ID
2. **Link to original**: When `officialUrl` is available, provide it so users can view the video on TikTok
YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
示 JSON 里的 phone/agreements
- 收到验证码后:`python scripts/onboarding.py login <phone> <code>`
- 拿到 `api_key` 后把下面三平台配置转发给用户,提示重启会话生效:
- Windows PowerShell(永久):`setx LINKFOX_AGENT_API_KEY "<key>"`
- macOS zsh:`echo 'export LINKFOX_AGENT_API_KEY="<key>"' >> ~/.zshrc && source ~/.zshrc`
- Linux bash:`echo 'export LINKFOX_AGENT_API_KEY="<key>"' >> ~/.bashrc && source ~/.bashrc`
- 变量名 `LINKFOX_AGENT_API_KEY`(主推)或 `LINKFOXAGENT_API_KEY`(老规范)任一即可
**billing 场景**:`errcode=402` 或消息含 `算力/余额/quota/insufficient/充值/套餐到期`。
- `python scripts/onboarding.py list-plans` → 有 AskUserQuestion 就弹菜单,否则输出编号清单让用户选
- 校验 `plan_id` ∈ 清单、支付方式 ∈ 该套餐 `available_methods`(通常 `wechat/alipay`)
- `python scripts/onboarding.py order <plan_id> <method>` → 展示优先级 PNG
This file implements account onboarding, SMS login, API-key retrieval, package listing, purchasing, and payment QR generation, which are unrelated to the declared TikTok video analytics purpose. Such scope expansion is dangerous because it introduces credential handling and financial operations into a skill that users would reasonably expect to only perform analytics, increasing the chance of deceptive data collection and unauthorized account actions.
Payment and subscription-purchase capabilities are embedded in a skill whose stated function is TikTok video search and analytics. This mismatch raises the risk of unauthorized charges, phishing-style redirection into purchase flows, and abuse of user trust because the capability is not justified by the declared purpose.
The code performs SMS-based authentication, user-info retrieval, and API token generation, all beyond the stated analytics role. Handling login codes and returning API keys materially increases the blast radius of compromise and enables account takeover or credential harvesting under the guise of a benign analytics feature.
The skill declares capabilities that involve environment access, file writes, and network use, but it does not define an explicit tool scope such as permissions or allowed-tools. This creates an authorization gap where the runtime may permit broader actions than users or reviewers expect, increasing the chance of unintended data access or exfiltration if the skill or its references are changed.
The skill mandates writing full tool responses to a persistent session-scoped project directory by default. Persisting complete API outputs can retain user-supplied identifiers, account-related metadata, or commercially sensitive analytics beyond the immediate task, increasing exposure to later unauthorized access, accidental commits, or cross-task leakage.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
}
## curl 示例
### 基础视频列表(按播放量降序)
The file documents a second endpoint for submitting feedback to an external service that is unrelated to the skill’s core TikTok video search/analytics function. Adding an out-of-scope network action expands the skill’s effective capabilities and can enable unanticipated data exfiltration of user prompts, results, or operational metadata if an agent starts calling it automatically.
The onboarding document expands the skill from TikTok video analytics into account recovery, scripted registration, and billing workflows that are not part of the declared purpose. This unnecessary privilege and capability expansion increases attack surface, can lead to collection of sensitive data, and creates opportunities for misuse of the agent to handle credentials and payments.
The instructions direct the agent to handle phone numbers, OTP-based login, API key acquisition, and plan ordering, none of which are justified by a TikTok analytics skill. Combining sensitive identity data, authentication flows, and purchasing actions in one skill materially raises the risk of privacy violations, unauthorized account actions, and social-engineering abuse.
The document tells the operator to request a user's phone number and use it in a scripted registration/login flow, but provides no explicit consent language, privacy notice, retention limits, or verification safeguards. That creates a clear risk of mishandling personal data and facilitating account access operations without adequate user protection.
The module documentation promises that writing to /tmp is forbidden and that an unwritable current directory should cause an error, but the implementation silently falls back to other paths including the temp directory. Because this script stores full API responses that may contain sensitive business data, the discrepancy can cause data to be written to less trusted or more broadly accessible locations than operators expect.
The module advertises itself as an onboarding/account-environment CLI, directly contradicting the manifest’s TikTok analytics intent. This inconsistency is a meaningful security signal because mismatched declared vs. actual behavior is common in deceptive or over-privileged skills and makes dangerous operations harder for reviewers and users to anticipate.
This function transmits user-supplied and credential-related data to external services, including phone numbers, SMS codes, tokens, and account metadata. External transmission is expected for networked functionality, but in this skill it is more dangerous because the transmissions support unrelated authentication and token issuance workflows and can be redirected by environment-controlled endpoints.
except RuntimeError as e:
return {"_error": str(e)}
try:
r = requests.post(url, json=body or {}, headers=headers, timeout=timeout)
return r.json()
except Exception as e:
body_text = ""
The code restricts SMS login to +86 and 11-digit domestic phone numbers, and the user-facing help and messages are entirely in Chinese. This enforces a specific language and locale behavior without offering user choice or documenting that the skill is intentionally region-specific.
The code obtains or generates an API token and returns it in plaintext JSON without any built-in warning, masking, or storage guidance. In agent ecosystems, stdout is often logged or forwarded, so emitting secrets directly can cause accidental credential leakage and downstream account abuse.
The trigger specification embeds both Chinese and English phrasing, but the skill does not state how language choice should follow the user's preference. This can create a locale-handling policy issue if the skill assumes or forces one language context without explicit user opt-in.
This code file contains user-facing natural-language strings in Chinese for the description and output policy, but does not indicate any language selection or opt-in. Under the language/locale policy rule, forcing a specific language without user choice is a policy concern unless clearly justified as region-specific.
The inline comment says responses under the threshold are '直接全量输出,不落文件'. In main(), the code always resolves an output path and writes the serialized response to disk before deciding whether to print the full JSON or only a summary. This directly contradicts the stated behavior.