← 返回 Skills 市场
501
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install telegram-send-photo
功能描述
Send photos via Telegram Bot API.
安全使用建议
This skill will send images from a local folder to a Telegram account. It ships with a hard-coded Bot Token and Chat ID and points to D:\mimoTool\photo by default — if you run it as-is it will upload your screenshots to that Telegram bot/chat. Before installing or running:
- Do not run this with the provided token unless you trust its owner. Treat that token as a credential giving someone else access to received files.
- Prefer replacing the hard-coded token/chat ID with your own Bot Token and Chat ID or modify the code to require them from environment variables or a prompt.
- Change the photo folder to a directory you control and verify what files exist there (or test with a harmless image first).
- Inspect the code yourself (or have someone you trust do so); the code is small and readable but contains defaults that cause data exfiltration.
- If you already ran it with the bundled token, consider those files exposed to the token owner and revoke the bot token via BotFather and/or create a new token.
Given these factors, only install/run this skill after removing or replacing the embedded credential and confirming the photo source location — otherwise treat it as potentially exfiltrative.
功能分析
Type: OpenClaw Skill
Name: telegram-send-photo
Version: 1.0.0
The skill is classified as suspicious due to the hardcoded Telegram bot token and chat ID present in both `SKILL.md` and `telegram_send_photo.py`. While the skill's stated purpose is benign (sending photos via Telegram), hardcoding sensitive credentials like a bot token is a significant security vulnerability. This exposes the token, allows anyone with access to the skill bundle to use the bot, and forces communication to a specific chat ID, which could lead to unintended data exposure or unauthorized use of the bot, even if the code's direct intent is not malicious.
能力评估
Purpose & Capability
The skill's name/description (send photos via Telegram Bot API) matches the code and instructions. However, the SKILL.md and the Python code include a hard-coded Bot Token, Chat ID, and a Windows-specific photo folder (D:\mimoTool\photo). A typical, well-scoped skill would ask the user to supply their own token/ID or declare them as required env vars rather than bundling a credential and fixed path.
Instruction Scope
The runtime instructions and script read image files from a local directory and POST them to Telegram. That is consistent with the stated purpose, but the provided configuration silently defines where to read images and where they will be sent. This effectively enables automatic exfiltration of local images to a third-party Telegram account unless the user explicitly replaces the defaults.
Install Mechanism
No install spec is present (instruction-only with a single Python file). That is low-risk from an installation perspective — nothing is downloaded or written during install.
Credentials
The registry metadata lists no required env vars or primary credential, yet both SKILL.md and the code include a concrete Bot Token and Chat ID. Bundling an apparent credential in the code is disproportionate and suspicious: the skill gives an external owner the ability to receive whatever images the script reads from your machine.
Persistence & Privilege
The skill does not request always: true, nor does it modify other skills or system-wide configuration. Autonomous invocation is permitted (default), which combined with the embedded credential increases risk, but the persistence/privilege request itself is not elevated.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install telegram-send-photo - 安装完成后,直接呼叫该 Skill 的名称或使用
/telegram-send-photo触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of telegram-send-photo skill:
- Send image files to Telegram using the Bot API.
- Requires Python 3.x, requests library, Bot Token, and Chat ID.
- Supports file upload with optional caption.
- Example script and configuration details included for quick setup.
元数据
常见问题
telegram-send-photo 是什么?
Send photos via Telegram Bot API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 501 次。
如何安装 telegram-send-photo?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install telegram-send-photo」即可一键安装,无需额外配置。
telegram-send-photo 是免费的吗?
是的,telegram-send-photo 完全免费(开源免费),可自由下载、安装和使用。
telegram-send-photo 支持哪些平台?
telegram-send-photo 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 telegram-send-photo?
由 suileyan(@suileyan)开发并维护,当前版本 v1.0.0。
推荐 Skills