T09 · Insecure Skill Coding Practices
- Location
SKILL.md:38- Finding
Hard-Coded Feishu Workspace Identifier May Redirect Document Writes
- Content
View full analysis
- Remediation
View remediation
", "parent_node_token": "", "title": "", "obj_type": "docx" } ``` 2. Require `space_id` and `parent_node_token` to be obtained from explicit user input or a trusted Feishu lookup operation. 3. Before document creation, display or verify the resolved workspace and parent-node identity, particularly when the document contains sensitive material. 4. Refuse to proceed when destination placeholders remain unresolved. 5. Clearly label all identifiers in examples as synthetic and non-operational. 6. After creation, verify that the returned document belongs to the intended workspace before writing content. 7. For full-document replacement operations, confirm the target document token and preserve a recoverable prior revision where supported. ]]>
