feishu-doc-scraper
Pass
Audited by Gen Agent Trust Hub on Nov 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: Multiple bundled Python scripts, including
archive_attachments.py,fetch_comments.py,capture_table.py, andcheck_reader_delivery.py, utilizesubprocess.runto execute external commands. This is primarily used to wrap thelark-clibinary and thepandocutility for document retrieval and format conversion. - [DATA_EXPOSURE_AND_EXFILTRATION]: The script
download_feishu_images.pyuses thebrowser_cookie3library to access session cookies from the local Chrome browser. This is implemented as a fallback mechanism to facilitate the download of authenticated images from Feishu/Lark documents when other automation methods are unavailable. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted content from external Feishu/Lark documents. Although it uses deterministic scripts and tools like
pandocfor extraction and conversion, the processed content is ultimately presented to the agent. The skill attempts to mitigate fidelity risks by enforcing a 'never let the document body pass through the model' rule during extraction. - [EXTERNAL_DOWNLOADS]: The skill performs authorized network downloads of document content and attachments from official Feishu and Lark domains (e.g.,
*.feishu.cn,*.larkoffice.com,*.larksuite.com). It also contains logic to identify and categorize links to external media platforms like Bilibili and YouTube. - [DYNAMIC_EXECUTION]: The skill includes
feishu_dom_capture.js, which is intended for injection into a browser's DOM via automation tools (like Chrome DevTools or Browser Use). This script performs complex tasks like virtual-scroll handling and table extraction directly within the browser context.
Audit Metadata