telegram-pairing-customization
7 findings (1 critical, 2 high, 2 medium, 2 low), mainly resource abuse, policy violation, command injection. Most recent scan 2026-02-07.
CRITICAL SECURITY RISK: This skill performs dangerous system-level modifications to installed Node.js packages without proper safeguards. The primary threat is arbitrary code modification of the OpenClaw application through direct file manipulation using sed. The skill requires elevated privileges, lacks proper validation and error handling, and could leave the system in an inconsistent state. The modification approach is fragile and will be overwritten by application updates. This skill should NOT be used in its current form. Users should instead request this feature through proper OpenClaw development channels or use configuration-based customization if available.
Scanner's overall assessment (LLM analyzer)
Second scanner: NVIDIA SkillSpector
The two scanners disagree: Cisco rates this CRITICAL and SkillSpector found nothing. Check the false-positive register; signature matches on documentation are the usual cause. How the two scanners compare across the whole corpus: Two scanners, one corpus.
What this skill does
Modify OpenClaw's Telegram pairing logic so unapproved users receive pairing codes on every /start message before approval. Use when users need to repeatedly access pairing codes after the initial request, ensuring consistent access to pairing instructions even if the initial code was missed or lost.
- Package
- 2 files, 7.5 KB
- SKILL.md
- 392 words, 11 sections
- Code
- Shell (1)
SKILL.md covers: Telegram 配对消息持续响应技能 · 概述 · 何时使用此技能 · 执行步骤 · 方法 1: 使用自动化脚本(推荐) · 方法 2: 手动修改 · 3. 重启服务 · 工作原理 · 验证修改 · 注意事项 · 故障排除
Findings
CRITICAL Arbitrary File Modification of System Node.js Package Command Injectionllm
The skill modifies a critical system file (/usr/lib/node_modules/openclaw/dist/telegram/bot-message-context.js) without proper authorization checks. This constitutes arbitrary code modification of an installed system package, which could compromise the integrity of the OpenClaw application and potentially introduce security vulnerabilities or backdoors.
scripts/apply-pairing-fix.sh
ORIGINAL_FILE="/usr/lib/node_modules/openclaw/dist/telegram/bot-message-context.js"
cp "$ORIGINAL_FILE" "$BACKUP_FILE"
sed 's/if (created) {/if (code) {/' "$ORIGINAL_FILE" > "$ORIGINAL_FILE.tmp" && mv "$ORIGINAL_FILE.tmp" "$ORIGINAL_FILE"HIGH Privilege Escalation Risk via System Directory Write Access Resource Abusellm
The script requires write access to /usr/lib/node_modules/, which typically requires root/sudo privileges. The skill does not validate permissions or warn users about privilege requirements, potentially leading to failed executions or encouraging users to run with elevated privileges unnecessarily.
scripts/apply-pairing-fix.sh:15
ORIGINAL_FILE="/usr/lib/node_modules/openclaw/dist/telegram/bot-message-context.js"HIGH Unsafe Pattern Matching and Code Replacement Unauthorized Tool Usellm
The script uses simple sed pattern matching to modify JavaScript code without validating the surrounding context or ensuring the modification is safe. The pattern 'if (created) {' could potentially match unintended code locations, and the replacement doesn't verify that the modification maintains code integrity or doesn't introduce syntax errors.
scripts/apply-pairing-fix.sh:25
sed 's/if (created) {/if (code) {/' "$ORIGINAL_FILE" > "$ORIGINAL_FILE.tmp" && mv "$ORIGINAL_FILE.tmp" "$ORIGINAL_FILE"MEDIUM Inadequate Error Handling and Recovery Resource Abusellm
The script uses 'set -e' to exit on errors but doesn't implement proper cleanup or rollback mechanisms. If the modification fails partway through, the system could be left in an inconsistent state with a partially modified file and no clear recovery path.
scripts/apply-pairing-fix.sh:6
set -e # Exit on any error
... (no trap or cleanup handlers)MEDIUM Misleading Skill Description and Scope Social Engineeringllm
The skill description presents this as a 'customization' or 'modification' feature, but it actually performs invasive system-level changes to installed software. The description doesn't adequately warn users about the risks of modifying system packages, potential warranty/support implications, or the fact that updates to OpenClaw will overwrite these changes.
SKILL.md
Description: Modify OpenClaw's Telegram pairing logic so unapproved users receive pairing codes on every /start message before approval.
The skill presents this as a routine customization without emphasizing the invasive nature of modifying system-installed packages.LOW Skill does not specify a license Policy Violationstatic
Skill manifest does not include a 'license' field. Specifying a license helps users understand usage terms.
SKILL.md
LOW Missing Metadata Fields Data Exfiltrationllm
The skill manifest is missing optional but recommended metadata fields: license, compatibility, and allowed-tools. While not a security threat, this reduces transparency about the skill's requirements and behavior.
SKILL.md
license: Not specified
compatibility: Not specified
allowed-tools: Not specifiedWhat is in the package
| File | Kind | Size |
|---|---|---|
SKILL.md | doc | 5.9 KB |
scripts/apply-pairing-fix.sh | script | 1.6 KB |
Package contents recorded 2026-10-22. The scan above ran against the version current at scan time; the two can differ if the skill has since been updated.
What we checked
- Static analyzer. Pattern rules over SKILL.md and bundled files: known-bad commands, exfiltration URLs, secrets, obfuscation.
- Llm analyzer. A language model reads the skill and reports intent-level issues the rules cannot express.
- Meta analyzer. A second model pass that validates, deduplicates and re-scores the other analyzers' findings.
What we did not check
- Runtime behaviour. The skill was not executed; findings come from reading its files.
- Anything fetched at install or run time, including remote scripts, package dependencies, and URLs the skill tells the agent to open.
- Content the analyzers cannot read: images, binaries, and some non-English text.
- Known scanner bypass classes. See the methodology and limitations page.
Sources
- Repository: https://clawhub.ai/skills/telegram-pairing-customization
- Raw scan result: 总是响应未配对用户的-start-消息-always-respond-to-start-messages-from-unpaired-users-scan.json
- Badge for your README:
 - Request a re-scan