Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

dingtalk-gui-message

v1.1.2

通过 macOS GUI 自动化给钉钉联系人发消息。使用 peekaboo + screencapture + Swift Vision OCR + cliclick 实现全流程自动化。触发词:钉钉发消息、给XX发消息、钉钉GUI、dingtalk message。

0· 110·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for jacky-wzj/dingtalk-gui-message.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "dingtalk-gui-message" (jacky-wzj/dingtalk-gui-message) from ClawHub.
Skill page: https://clawhub.ai/jacky-wzj/dingtalk-gui-message
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install dingtalk-gui-message

ClawHub CLI

Package manager switcher

npx clawhub@latest install dingtalk-gui-message
Security Scan
Capability signals
Requires sensitive credentials
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Suspicious
high confidence
!
Purpose & Capability
The skill's stated purpose (automating DingTalk GUI on macOS) matches the code and instructions. However the registry metadata claims no required binaries or env vars while SKILL.md and scripts require/expect peekaboo, cliclick, swift, screencapture and Screen Recording/Accessibility permissions — a mismatch between declared requirements and actual runtime needs.
!
Instruction Scope
Instructions and the included Python/Swift scripts direct the agent to take full-screen and window screenshots, OCR them locally, and — optionally if an API key is available — POST base64-encoded screenshots to a remote vision endpoint (dashscope.aliyuncs.com). The script also reads a user configuration file (~/.openclaw/openclaw.json) to extract a model API key. Capturing and transmitting screenshots can expose unrelated sensitive data on your screen; reading the user's config file is not declared in the skill metadata.
Install Mechanism
Instruction-only skill (no install spec). No installers or downloads are performed by the skill bundle itself, which limits disk-write/install risk. However it depends on third-party tools that the user must install separately (peekaboo, cliclick, Swift).
!
Credentials
The registry lists no required env vars or config paths, but the script accesses ~/.openclaw/openclaw.json and the QWEN_API_KEY environment variable to enable optional remote 'vision' functionality. This is disproportionate to 'send a DingTalk message' and is not clearly declared: the script will try to find and use a model API key from your personal config without explicit metadata prompting.
Persistence & Privilege
The skill does not request permanent inclusion (always:false) and does not modify other skills or system-wide settings. It stores transient files in /tmp/dingtalk-gui and requires Screen Recording/Accessibility permissions as expected for GUI automation.
What to consider before installing
This skill appears to implement the advertised DingTalk GUI automation, but there are several things to check before installing or running it: - Expect to grant macOS Screen Recording and Accessibility permissions; the script will take full-screen and app-window screenshots and save them in /tmp/dingtalk-gui (including QR codes and any visible content). - The script will look for a QWEN API key in ~/.openclaw/openclaw.json and in the QWEN_API_KEY env var. If found it will send base64-encoded screenshots to dashscope.aliyuncs.com (qwen-vl-max) for optional vision analysis. If you do not want screenshots leaving your machine, remove the API key(s) or avoid using the --vision option. - Metadata/registry fields do not declare the required local tools (peekaboo, cliclick, swift) and the script reads a user config path that is not advertised. This mismatch is a red flag — review the files locally before running. - If you decide to use it: audit the included scripts (send_message.py and ocr_screen.swift) yourself, run them in a controlled environment or VM, and avoid running the vision feature unless you trust the remote endpoint and the API key in use. If you want, I can: (a) point out the exact lines where the script reads your config and where it sends network requests, (b) suggest edits to disable remote uploads, or (c) produce a minimal checklist to run this safely.

Like a lobster shell, security has layers — review code before you run it.

latestvk97e6038qh4e6n09j4ak920sp585gjwj
110downloads
0stars
4versions
Updated 3d ago
v1.1.2
MIT-0

钉钉 GUI 自动化发消息

通过 macOS 桌面 GUI 自动化,搜索钉钉联系人并发送消息。

前置条件

  • macOS(arm64, Retina)
  • 已安装钉钉桌面客户端(com.alibaba.DingTalkMac)
  • 已安装工具:peekaboo, cliclick, swift
  • 已授权:Screen Recording + Accessibility

用法

python3 scripts/send_message.py "联系人名" "消息内容"

登录处理

脚本自动检测钉钉是否需要登录:

  • 已登录 → 直接执行
  • 未登录 → 截取二维码,输出 {"needs_login": true, "qr_code": "路径"}
  • exit code: 0=成功, 1=失败, 2=需要登录

技术方案(4/13 + 4/23 验证通过)

截图策略(关键!)

场景工具理由
登录检测peekaboo image --app只截钉钉窗口,避免误识别其他窗口文字
OCR 导航screencapture -x全屏 Retina,能捕获 WebView 内容
二维码截图screencapture -x确保二维码可见

坐标换算(4/23 修正)

Retina 截图: 3024×1964 像素
逻辑分辨率: 1512×982
换算: 逻辑坐标 = 像素坐标 ÷ 2

双引擎 OCR

引擎用途
Swift Vision OCR文字精确坐标 → cliclick
qwen3.6-plus vision语义理解,确认操作结果

核心原则(踩坑总结)

  1. bundleId: 始终用 com.alibaba.DingTalkMac
  2. 中文输入: 只用 peekaboo paste --text --app bundleId
  3. WebView 点击: 用 cliclick,不用 peekaboo click
  4. 搜索词: 用名字前两个字,不用全名
  5. 窗口激活: osascript activate + peekaboo focus 双重保障

工具链

工具用途
peekaboopaste 中文、hotkey、press、窗口截图
screencapture全屏 Retina 截图(捕获 WebView)
Swift VisionOCR + 像素坐标
cliclick逻辑坐标点击
qwen-vl-max截图语义分析

Comments

Loading comments...