Forwarded Markdown can trigger remote downloads and upload fetched content to Feishu
Source references: 4The Skill instructs agents to preserve original document text and send it with --markdown. The sender resolves remote Markdown image URLs by downloading and uploading them first. The visible rules do not restrict destination hosts, private addresses, or redirects.
A malicious or altered document can embed an image URL that causes the lark-cli environment to contact a tracking host or internal HTTP resource, then upload successfully fetched image content into a Feishu message.
When forwarding a Lark document, the Skill preserves its original Markdown; the send path resolves remote image URLs by downloading and then uploading them to Lark. If the document contains an untrusted image link, sending can make the local environment contact that address and upload the response as an image. No hostname, private-address, or redirect restriction is visible. Users can require a trusted HTTPS allowlist or removal/preview of remote images. Sending itself still requires explicit approval.
When sending content fetched from a Lark doc as a message, fetch the doc with --doc-format im-markdown, then send it as a message using the --markdown format. The fetched content is already in markdown; in any content-forwarding scenario, keep the fetched original text and send it in the --markdown format. Note: if the doc contains a cite tag with type="user", keep it as-is and do not strip the tag.Show 3 other places
The shortcut does all of the following before sending:1. Forces `msg_type=post`2. Resolves remote Markdown images like `` by downloading and uploading them first3. Normalizes the Markdown for Feishu post rendering4. Wraps the result as:- Already-uploaded `img_xxx` image keys are the most reliable Markdown image input.- Local paths in Markdown image syntax like `` are **not** supported and will not be auto-uploaded.- Remote URLs (`https://...`) will be auto-downloaded and uploaded at runtime; if the download or upload fails, the image is removed with a warning.Messages sent by this tool are visible to other people. Before calling it, you **must** confirm with the user:1. The recipient (which person or which group)2. The message content3. The sending identity (user or bot)**Do not** send messages without explicit user approval.