oathe / scan / reports / caution

Oathe Security Badge

Is lark-bot safe?

Use with caution. lark-bot is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave lark-bot a trust score of 72/100 with 7 findings, none critical or high. Report updated

https://clawhub.ai/wangyendt/lark-bot

72
CAUTION

Is lark-bot safe to install?

This skill is a documentation-only API wrapper for Feishu/Lark Bot with no embedded malicious code, hidden instructions, or suspicious clone behavior. However, its capabilities — particularly file upload, arbitrary message sending, and persistent message listening — create significant data exfiltration and command-and-control risks when used by an LLM agent. The canary files were untouched and no prompt injection techniques were detected.

What security issues were found in lark-bot?

Category Scores

Prompt Injection 85/100 · 30%
Data Exfiltration 55/100 · 25%
Code Execution 90/100 · 20%
Clone Behavior 80/100 · 10%
Canary Integrity 100/100 · 10%
Behavioral Reasoning 45/100 · 5%

Findings (7)

MEDIUM File upload enables local file exfiltration to Feishu cloud -20 ▶

The skill provides upload_image() and upload_file() methods that accept arbitrary local file paths. An agent instructed to 'upload a file' could be tricked or prompted into uploading sensitive files (.env, SSH keys, source code) to Feishu servers, effectively exfiltrating data from the local machine.

Evidence: bot.upload_file("/path/to/file.pdf", file_type="pdf") — accepts any local path

MEDIUM Message sending to arbitrary recipients as exfiltration channel -15 ▶

The skill allows sending text, files, and rich content to any Feishu user or group chat by ID. This could be exploited to send sensitive data (environment variables, file contents, conversation history) to an attacker-controlled Feishu account.

Evidence: bot.send_text_to_user(user_open_id, text) and bot.send_text_to_chat(chat_id, text) — no access control on recipients

MEDIUM Persistent C2 channel via LarkBotListener -35 ▶

The LarkBotListener component enables a persistent message listener that can receive and process incoming messages. If activated, an external Lark user could send commands to the agent through Feishu messages, creating a command-and-control channel that bypasses normal agent interaction boundaries.

Evidence: listener.run() starts persistent listener; @listener.text_handler can execute arbitrary logic on received messages

LOW User/group enumeration capabilities -10 ▶

Methods like get_user_info (accepts emails, phone numbers), get_group_list, and get_members_in_group expose organizational directory information that could be used for reconnaissance.

Evidence: bot.get_user_info(emails=["[email protected]"], mobiles=["13800138000"])

LOW Overly broad skill description may trigger unintended activation -15 ▶

The skill description covers messaging, file management, user queries, and message listening — a very broad scope. This increases the likelihood the agent activates this skill for tasks where it shouldn't, potentially exposing Feishu API credentials or sending unintended messages.

Evidence: description: 'Feishu/Lark Bot API wrapper for full-featured Feishu bot interactions...'

INFO External Python dependency required -10 ▶

The skill references pywayne.lark_bot and pywayne.lark_bot_listener from an external Python package. While the skill itself doesn't trigger installation, an agent following the documentation would need to pip install this package, which could contain arbitrary code.

Evidence: from pywayne.lark_bot import LarkBot, TextContent

INFO Skill combination risk with filesystem-access skills -20 ▶

This skill is benign as documentation alone, but if combined with skills that grant filesystem access, an agent could read sensitive files and then use this skill's upload/send methods to exfiltrate the contents to Feishu.

Evidence: Combination of bot.upload_file() with filesystem read capabilities creates a complete exfiltration pipeline

Should I install lark-bot?

Oathe's verdict for lark-bot is CAUTION with a trust score of 72/100. Recommendation: Install with caution.