other
- Location
scripts/check.sh:5- Finding
Undisclosed Transmission of User-Provided Advertising Content to an External Service
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill does what it claims, but it can automatically send advertising drafts and metadata to a fixed external API without a clear consent step or privacy details.
Install only if you are comfortable sending ad drafts, titles, keywords, and platform information to the documented Tencent Cloud Function endpoint. Avoid using it with confidential launches, client material, regulated data, or customer information unless the publisher documents data handling and provides consent or local-only controls.
scripts/check.sh:5Undisclosed Transmission of User-Provided Advertising Content to an External Service
scripts/check.sh:12Unsafe JSON Construction Allows Request Corruption and Property Injection
scripts/generate.sh:5Unvalidated Platform Value Allows HTTP Query-Parameter Injection
The skill advertises executable shell scripts and API-backed command-line usage but declares no explicit tool scope or permission boundaries. In an agent environment, this can cause the model to assume shell execution is acceptable and invoke local commands or networked scripts without clear authorization, increasing the risk of unintended command execution or data exposure.
The trigger list contains broad terms such as general ad-copy/compliance phrases that may cause the skill to activate for ordinary writing or marketing requests outside its intended niche. Over-broad activation can route unrelated user input into a skill that promotes external API usage and shell-script workflows, creating unnecessary exposure to external services and unintended behavior.
The skill states that it is a professional Chinese advertising copywriter and is framed to generate copy for Chinese platforms, but it does not indicate that users may choose another language for interaction or output. This can constitute a locale/language policy issue because it implicitly enforces a specific language without explicit opt-in.
This line performs the actual outbound transmission of user-supplied content to an external service, which is a genuine security-relevant behavior in this skill context. The risk is heightened because the skill is marketed for real ad-copy generation/compliance checking, so users are likely to submit proprietary marketing drafts or regulated content without realizing it leaves the local environment.
done
[[ -z "$TEXT" ]] && echo "❌ 请提供文案内容" && exit 1
PAYLOAD=$(printf '{"text":"%s","platform":"%s","keywords":"%s","title":"%s"}' "$TEXT" "$PLATFORM" "$KEYWORDS" "$TITLE")
RESPONSE=$(curl -s -X POST "${API_BASE}/check" -H "Content-Type: application/json" -d "$PAYLOAD" --connect-timeout 10 --max-time 15)
TOTAL=$(echo "$RESPONSE" | jq -r '.data.totalIssues // 0')
HIGH=$(echo "$RESPONSE" | jq -r '.data.stats["高"] // 0')
MID=$(echo "$RESPONSE" | jq -r '.data.stats["中"] // 0')
The script sends the full ad copy text plus metadata (platform, keywords, title) to a third-party remote API endpoint, but gives the user no explicit notice at runtime and no consent prompt. Because ad copy may include unpublished campaign material, customer data, or sensitive business information, this creates a real confidentiality and privacy risk rather than a purely informational issue.
The script's user-facing messages and formatted output are hardcoded in Chinese (for example, '用法', '模板', '技巧', and '获取模板失败'). This imposes a specific language/locale on all users without opt-in or justification, which matches the natural-language policy violation criteria.
Natural-language strings in the usage/help and error output are fixed to Chinese, which can impose a language choice on users without opt-in. The file does not indicate that the skill is intentionally region- or locale-specific, nor does it offer an alternative language.
No suspicious patterns detected.