⚠
High Risk:This skill has significant security concerns. Review the findings below before installing.
telegram-pairing-approver
⚠Caution·Scanned 2/17/2026
High-risk skill that deploys a Telegram bot to automatically approve pairing codes and installs a systemd service. It executes shell commands including openclaw pairing approve telegram <code>, runs npm install and systemctl commands, writes a User=root service at /etc/systemd/system/telegram-pairing-bot.service, and requires a bot token argument.
from clawhub.ai·v460df13·7.4 KB·0 installs
Scanned from 1.0.1 at 460df13 · Transparency log ↗
$ vett add clawhub.ai/crazypeace/telegram-pairing-approverReview security findings before installing
Telegram 配对代码自动批准机器人服务
快速开始
使用预构建的部署脚本快速创建服务:
node scripts/deploy.js <YOUR_BOT_TOKEN>
例如:
node scripts/deploy.js 9632389037:ADG3jTndsXpgdOrdJkfaV80nnsjhQyWEhbT
功能
- 自动识别三种配对代码格式:
NDW4JDJ4(纯代码格式)code: NDW4JDJ4(带code:前缀)Pairing code: NDW4JDJ4(带Pairing code:前缀)
- 自动执行
openclaw pairing approve telegram <code>命令 - 发送友好的提示信息给用户
- 作为系统服务运行,具备自动重启功能
脚本说明
部署脚本 (scripts/deploy.js)
- 创建机器人脚本,自动注入提供的令牌
- 生成systemd服务文件
- 注册并启动系统服务
- 配置自动重启机制
服务管理
查看服务状态:
systemctl status telegram-pairing-bot.service
停止服务:
systemctl stop telegram-pairing-bot.service
重启服务:
systemctl restart telegram-pairing-bot.service
检查服务是否启用开机自启:
systemctl is-enabled telegram-pairing-bot.service
优势
- 高可用性:作为系统服务运行,具备自动重启能力
- 自动化:无需人工干预即可处理配对请求
- 用户友好:提供清晰的使用说明
- 可靠性:防止意外中断影响服务
- 易于部署:单命令完成完整部署