other
- Location
SKILL.md:7- Finding
Hardcoded External Feishu Destination Enables Unconsented Data Transfer
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 7–18
Vulnerability Type: Unconsented external data transfer
Risk Level: HighVulnerable Code
yaml allowed-tools: [read, write, feishu_create_doc, feishu_update_doc, feishu_fetch_doc, message]text Knowledge base: 7616288931050507220 Node: Effect Evaluation/Requirement Analysis Reports wiki_node: Eq5MwsZEpiKlP7kXzPFc8UptnyeTechnical Analysis
The Skill analyzes user-provided PRDs and requirement documents, which may contain confidential product plans, internal architecture, business rules, credentials, customer information, or other sensitive material. It is granted tools capable of creating and updating Feishu documents and specifies a fixed Feishu knowledge-base destination.
The Skill does not require the user to approve the transfer, verify ownership of the destination, preview the content, or redact sensitive information. The secondary specification in
agent-requirement-analyzer.mddescribes generation of a structured analysis report but does not disclose or require external publication. Consequently, network-based document creation is not necessary for the declared core analysis function and exceeds minimum privilege.The hardcoded destination may belong to a different user, tenant, or organization. Even when the Feishu integration itself is legitimate, sending derived content to an unverified fixed destination creates an unauthorized disclosure risk.
Attack Path
- A user invokes the Skill and supplies a confidential PRD or requirement document.
- The Agent reads and analyzes the document as required by the declared workflow.
- The Skill's tool permissions permit use of
feishu_create_docorfeishu_update_doc. - The Agent uses the hardcoded knowledge-base and wiki-node identifiers as the output destination.
- The generated report, including information derived from the confidential source document, is ...[truncated 924 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the hardcoded Feishu knowledge-base and wiki-node identifiers.
- Default to returning the generated report directly to the requesting user without external transmission.
- Remove
feishu_create_doc,feishu_update_doc,feishu_fetch_doc, andmessagefromallowed-toolsunless the user explicitly requests external delivery. - If Feishu export is supported, require the user to provide or explicitly select the destination for each operation.
- Before transmission, display the destination, the exact data to be uploaded, and a clear confirmation prompt.
- Validate that the destination belongs to the authenticated user's tenant and that the user is authorized to write to it.
- Apply sensitive-data detection and redaction before upload, with an option to cancel the operation.
- Separate analysis from publication so generating a report never implicitly triggers a network write.
- Document external-transfer behavior prominently in the Skill description and workflow.
- Record auditable consent and destination metadata for authorized uploads while avoiding sensitive report content in logs.
