T09 · Insecure Skill Coding Practices
- Location
SKILL.md:25- Finding
Unredacted Legal-Case Information May Be Transmitted to a Third-Party API Without Explicit Consent
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent legal-retrieval helper, but it can send sensitive dispute details to a third-party API without a firm approval or redaction step.
Review before installing if you may describe real legal disputes. Use only minimized, redacted queries, avoid names, IDs, addresses, account details, exact private facts, or legal strategy, and understand that queries are sent to Wendaoyun's external API using your API key.
SKILL.md:25Unredacted Legal-Case Information May Be Transmitted to a Third-Party API Without Explicit Consent
The skill’s trigger terms are broad enough to match ordinary discussion about disputes, debt, fraud, contracts, or lawsuits, which can cause the skill to activate when the user did not explicitly ask for legal retrieval. In this skill, unintended activation matters because it can lead to sending sensitive case narratives to a third-party API, creating unnecessary privacy and consent risk.
The skill explicitly instructs transmitting user-provided case descriptions to an external service using an API key in an authenticated request. Because legal disputes often contain highly sensitive personal, financial, and factual details, this external transmission creates a real confidentiality and privacy risk, especially where users may not understand that their data is being sent off-platform.
调用示例:
curl -s -X POST "https://h5.wintaocloud.com/prod-api/api/invoke/get-laws" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${WENDAOYUN_API_KEY}" \
-d '{"content": "合同违约赔偿", "top_k": 3}'
The activation logic says to directly retrieve whenever legal keywords appear, without clear boundaries for ambiguity, consent, or sensitivity screening. In context, this increases the chance of automatic external lookup based on partial or casual mentions of legal topics, again exposing potentially sensitive facts to the third-party service without sufficient user confirmation.
No suspicious patterns detected.